Hi, I introduced the function emit_use_return_register_into_block for PR43920, but should have guarded it with HAVE_return. The patch fixes this.
Tested by doing x86_64 non-bootstrap c/fortran build. OK for trunk? Thanks, - Tom
2011-04-05 Tom de Vries <t...@codesourcery.com> PR middle-end/48461 * function.c (emit_use_return_register_into_block): Only define if HAVE_return.
Index: gcc/function.c =================================================================== --- gcc/function.c (revision 171977) +++ gcc/function.c (working copy) @@ -5262,6 +5262,7 @@ prologue_epilogue_contains (const_rtx in return 0; } +#ifdef HAVE_return /* Insert use of return register before the end of BB. */ static void @@ -5275,7 +5276,6 @@ emit_use_return_register_into_block (bas emit_insn_before (seq, BB_END (bb)); } -#ifdef HAVE_return /* Insert gen_return at the end of block BB. This also means updating block_for_insn appropriately. */