Commit cec8ac0b by Zdenek Dvorak Committed by Jakub Jelinek

re PR bootstrap/48000 (LTO bootstrap failed with bootstrap-profiled)

	PR bootstrap/48000
	* cfgloopmanip.c (fix_bb_placements): Return immediately
	if FROM is BASE_LOOP's header.

From-SVN: r170740
parent a19e4d44
2011-03-07 Zdenek Dvorak <ook@ucw.cz>
PR bootstrap/48000
* cfgloopmanip.c (fix_bb_placements): Return immediately
if FROM is BASE_LOOP's header.
2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com>
* gimplify.c (gimplify_function_tree): Fix building calls * gimplify.c (gimplify_function_tree): Fix building calls
......
...@@ -185,7 +185,11 @@ fix_bb_placements (basic_block from, ...@@ -185,7 +185,11 @@ fix_bb_placements (basic_block from,
fix_loop_placement. */ fix_loop_placement. */
base_loop = from->loop_father; base_loop = from->loop_father;
if (base_loop == current_loops->tree_root) /* If we are already in the outermost loop, the basic blocks cannot be moved
outside of it. If FROM is the header of the base loop, it cannot be moved
outside of it, either. In both cases, we can end now. */
if (base_loop == current_loops->tree_root
|| from == base_loop->header)
return; return;
in_queue = sbitmap_alloc (last_basic_block); in_queue = sbitmap_alloc (last_basic_block);
......
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