Message ID | 4D9B3A4A.6090601@codesourcery.com |
---|---|
State | New |
Headers | show |
On Tue, Apr 5, 2011 at 5:50 PM, Tom de Vries <vries@codesourcery.com> wrote: > 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? Ok. Thanks, Richard. > Thanks, > - Tom >
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. */