Commit b55bf120 by Teresa Johnson Committed by Teresa Johnson

re PR gcov-profile/59542 (ICE: verify_flow_info failed during Firefox build with 'gold')

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

	PR gcov-profile/59542
	* bb-reorder.c (duplicate_computed_gotos): Invoke fixup_partitions
	if we have made any changes.

From-SVN: r206135
parent e15eb172
2013-12-19 Teresa Johnson <tejohnson@google.com>
PR gcov-profile/59542
* bb-reorder.c (duplicate_computed_gotos): Invoke fixup_partitions
if we have made any changes.
2013-12-19 Jakub Jelinek <jakub@redhat.com>
PR other/59545
......@@ -2390,6 +2390,7 @@ duplicate_computed_gotos (void)
basic_block bb, new_bb;
bitmap candidates;
int max_size;
bool changed = false;
if (n_basic_blocks_for_fn (cfun) <= NUM_FIXED_BLOCKS + 1)
return 0;
......@@ -2486,9 +2487,15 @@ duplicate_computed_gotos (void)
new_bb->aux = bb->aux;
bb->aux = new_bb;
new_bb->flags |= BB_VISITED;
changed = true;
}
done:
/* Duplicating blocks above will redirect edges and may cause hot blocks
previously reached by both hot and cold blocks to become dominated only
by cold blocks. */
if (changed)
fixup_partitions ();
cfg_layout_finalize ();
BITMAP_FREE (candidates);
......
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