Commit 9645d434 by Bernd Schmidt Committed by Bernd Schmidt

bb-reorder.c (insert_section_boundary_note): Only do it if we reordered the blocks; i.e.

	* bb-reorder.c (insert_section_boundary_note): Only do it if
	we reordered the blocks; i.e. not if !optimize_function_for_speed_p.

From-SVN: r178298
parent 070f36cf
......@@ -11,6 +11,9 @@
* config/i386/i386.c (get_pc_thunk_name): Change prefix to
"__x86.get_pc_thunk".
* bb-reorder.c (insert_section_boundary_note): Only do it if
we reordered the blocks; i.e. not if !optimize_function_for_speed_p.
2011-08-30 Christian Bruel <christian.bruel@st.com>
* coverage.c (coverage_init): Check flag_branch_probabilities instead of
......@@ -1965,8 +1965,11 @@ insert_section_boundary_note (void)
rtx new_note;
int first_partition = 0;
if (flag_reorder_blocks_and_partition)
FOR_EACH_BB (bb)
if (!flag_reorder_blocks_and_partition
|| !optimize_function_for_speed_p (cfun))
return;
FOR_EACH_BB (bb)
{
if (!first_partition)
first_partition = BB_PARTITION (bb);
......
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