[Bug middle-end/50232] [4.7 Regression] reorg.c:3971: undefined reference to `make_return_insns'

bernds at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 30 15:30:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50232

--- Comment #4 from Bernd Schmidt <bernds at gcc dot gnu.org> 2011-08-30 15:06:05 UTC ---
Surely the PA has some kind of return instruction?
Most ports define a "return" pattern with an insn condition that requires that
the epilogue is empty. In that case, jumps to the end of the function will be
replaced by return instructions. Also, the "return" pattern can in this case
emit either a "return" or a "simple_return" rtx; they are equivalent if there
is no epilogue.

You can define a "simple_return" pattern, but it will only gain anything once
the final shrink-wrapping bits are in.



More information about the Gcc-bugs mailing list