Hi Guys,

  I am applying the patch below to the 4.7 branch.  It fixes the
  simple_return pattern in the RX backend so that it uses the
  (simple_return) rtl.  This fixes 59 gcc testsuite failures and
  introduces no regressions.

  I plan on applying a similar patch to the mainline sources once I have
  finished regression testing them.

Cheers
  Nick
  
gcc/ChangeLog
2012-06-26  Nick Clifton  <ni...@redhat.com>

        * config/rx/rx.md (simple_return): Use the simple_return rtl.

Index: gcc/config/rx/rx.md
===================================================================
--- gcc/config/rx/rx.md (revision 188932)
+++ gcc/config/rx/rx.md (working copy)
@@ -348,7 +348,7 @@
 )
 
 (define_insn "simple_return"
-  [(return)]
+  [(simple_return)]
   ""
   "rts"
   [(set_attr "length" "1")

Reply via email to