re PR target/74563 (Classic MIPS16 (non-MIPS16e) function return broken)
authorJeff Law <law@redhat.com>
Wed, 19 Apr 2017 04:52:54 +0000 (22:52 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 19 Apr 2017 04:52:54 +0000 (22:52 -0600)
commitd904a98328774c6df5d0aa6e2940b749dc36b12c
treee4d111ca9e9114d438f2ce2b87bce5d33ad3a700
parent90e87d4f1a7b2d91dae78385485ccb74d19d08e2
re PR target/74563 (Classic MIPS16 (non-MIPS16e) function return broken)

PR target/74563
* mips.md ({return,simple_return}_internal): Do not overwrite
operands[0].

PR target/74563
* gcc.target/mips/pr74563: New test.

From-SVN: r246987
gcc/ChangeLog
gcc/config/mips/mips.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/pr74563.c [new file with mode: 0644]