Commit 89e4bd80 by Alan Modra Committed by Alan Modra

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
parent ae8536c5
2011-10-15 Alan Modra <amodra@gmail.com> 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 * ifcvt.c (dead_or_predicable): Disable if-conversion when
doing so is likely to kill a shrink-wrapping opportunity. doing so is likely to kill a shrink-wrapping opportunity.
...@@ -4173,7 +4173,7 @@ dead_or_predicable (basic_block test_bb, basic_block merge_bb, ...@@ -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 register used to pass function parameters, which then must be
saved in caller-saved regs. A caller-saved reg requires the saved in caller-saved regs. A caller-saved reg requires the
prologue, killing a shrink-wrap opportunity. */ 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 && ENTRY_BLOCK_PTR->next_bb == test_bb
&& single_succ_p (new_dest) && single_succ_p (new_dest)
&& single_succ (new_dest) == EXIT_BLOCK_PTR && single_succ (new_dest) == EXIT_BLOCK_PTR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment