re PR bootstrap/50738 (Bootstrap failure at revision 180028 on powerpc-apple-darwin9)

PR bootstrap/50738
	* ifcvt.c (dead_or_predicable): Revert accidental commit with
	HAVE_simple_return test.

From-SVN: r180038
This commit is contained in:
Alan Modra 2011-10-16 00:09:58 +10:30 committed by Alan Modra
parent ae8536c5fb
commit 89e4bd80d8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-10-15 Alan Modra <amodra@gmail.com>
PR bootstrap/50738
* ifcvt.c (dead_or_predicable): Revert accidental commit with
HAVE_simple_return test.
2011-10-15 Alan Modra <amodra@gmail.com>
* ifcvt.c (dead_or_predicable): Disable if-conversion when

View File

@ -4173,7 +4173,7 @@ dead_or_predicable (basic_block test_bb, basic_block merge_bb,
register used to pass function parameters, which then must be
saved in caller-saved regs. A caller-saved reg requires the
prologue, killing a shrink-wrap opportunity. */
if ((flag_shrink_wrap && HAVE_simple_return && !epilogue_completed)
if ((flag_shrink_wrap && !epilogue_completed)
&& ENTRY_BLOCK_PTR->next_bb == test_bb
&& single_succ_p (new_dest)
&& single_succ (new_dest) == EXIT_BLOCK_PTR