diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae9f9d0d867..6708146d252 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-05 Tom de Vries + + PR middle-end/48461 + * function.c (emit_use_return_register_into_block): Only define if + HAVE_return. + 2011-04-05 Eric Botcazou * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. diff --git a/gcc/function.c b/gcc/function.c index 7c500a656bc..63ecd7c378d 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -5262,6 +5262,7 @@ prologue_epilogue_contains (const_rtx insn) 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 (basic_block bb) 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. */