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
+2017-04-18 Jeff Law <law@redhat.com>
+
+ PR target/74563
+ * mips.md ({return,simple_return}_internal): Do not overwrite
+ operands[0].
+
2017-04-18 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/80443
(use (match_operand 0 "pmode_register_operand" ""))]
""
{
- operands[0] = gen_rtx_REG (Pmode, RETURN_ADDR_REGNUM);
return mips_output_jump (operands, 0, -1, false);
}
[(set_attr "type" "jump")
+2017-04-18 Jeff Law <law@redhat.com>
+
+ PR target/74563
+ * gcc.target/mips/pr74563: New test.
+
2017-04-18 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/80443
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-mips3 -mips16 -msoft-float" } */
+
+void f2(void);
+
+void f1(void)
+{
+ f2();
+}
+
+/* { dg-final { scan-assembler-not "\tjr\t\\\$31" } } */
+/* { dg-final { scan-assembler "\tjr\t\\\$7" } } */
+
+