re PR gcov-profile/59527 (ICE: in fixup_reorder_chain, at cfgrtl.c:3739 during PGO Firefox build)

2013-12-17  Teresa Johnson  <tejohnson@google.com>

	PR gcov-profile/59527
	* cfgrtl.c (fixup_reorder_chain): Handle a region-crossing
        branch, which can't be eliminated.

From-SVN: r206072
This commit is contained in:
Teresa Johnson 2013-12-17 22:35:38 +00:00 committed by Teresa Johnson
parent 9cec31f43a
commit 91af97c394
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-12-17 Teresa Johnson <tejohnson@google.com>
PR gcov-profile/59527
* cfgrtl.c (fixup_reorder_chain): Handle a region-crossing
branch, which can't be eliminated.
2013-12-18 Martin Liska <marxin.liska@gmail.com>
Jan Hubicka <jh@suse.cz>

View File

@ -3736,7 +3736,8 @@ fixup_reorder_chain (void)
if (!e_fall)
{
gcc_assert (!onlyjump_p (bb_end_insn)
|| returnjump_p (bb_end_insn));
|| returnjump_p (bb_end_insn)
|| (e_taken->flags & EDGE_CROSSING));
emit_barrier_after (bb_end_insn);
continue;
}