re PR middle-end/48461 (function.c:5268:1: error: emit_use_return_register_into_block defined but not used)
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. From-SVN: r171990
This commit is contained in:
parent
c5911a55ec
commit
170d8157ba
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue