Commit 295331a4 by Richard Henderson Committed by Richard Henderson

* bb-reorder.c (gate_handle_partition_blocks): Honor optimize.

From-SVN: r176664
parent 5f93b30a
2011-07-22 Richard Henderson <rth@redhat.com>
* bb-reorder.c (gate_handle_partition_blocks): Honor optimize.
2011-07-22 Richard Henderson <rth@redhat.com>
* jump.c (maybe_propagate_label_ref): Split out of...
(mark_all_labels): ... here. Do not attempt label_ref
propagation while in cfglayout mode.
......
......@@ -2212,6 +2212,7 @@ gate_handle_partition_blocks (void)
user defined section attributes. Don't call it if either case
arises. */
return (flag_reorder_blocks_and_partition
&& optimize
&& !DECL_ONE_ONLY (current_function_decl)
&& !user_defined_section_attribute);
}
......
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