diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/function.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae9f9d0..6708146 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-05 Tom de Vries <tom@codesourcery.com> + + PR middle-end/48461 + * function.c (emit_use_return_register_into_block): Only define if + HAVE_return. + 2011-04-05 Eric Botcazou <ebotcazou@adacore.com> * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. diff --git a/gcc/function.c b/gcc/function.c index 7c500a6..63ecd7c3 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. */ |