Hi Guys, I am checking in the patch below to fix a problem building the RX port. Targets that define the "simple_return" pattern must also define a "return" pattern. Otherwise gcc/function.c will fail to build.
Cheers Nick gcc/ChangeLog 2012-01-11 Nick Clifton <ni...@redhat.com> * config/rx/rx.md (return): Define pattern. Index: gcc/config/rx/rx.md =================================================================== --- gcc/config/rx/rx.md (revision 183092) +++ gcc/config/rx/rx.md (working copy) @@ -340,6 +340,12 @@ (set_attr "length" "2")] ) +(define_expand "return" + [(return)] + "" + "rx_expand_epilogue (false); DONE;" +) + (define_insn "simple_return" [(return)] ""