Commit 940c4160 by Iain Sandoe

re PR middle-end/46916 (gcc.dg/torture/stackalign/non-local-goto-[1,2].c ICEs…

re PR middle-end/46916 (gcc.dg/torture/stackalign/non-local-goto-[1,2].c ICEs compiler due to r167727)


	PR middle-end/46916
	* opts.c (finish_options): Enable -freorder-functions
	when -freorder-blocks-and-partition is active.


Co-Authored-By: Jan Hubicka <jh@suse.cz>

From-SVN: r168084
parent 1f81953b
2010-12-20 Iain Sandoe <iains@gcc.gnu.org>
Jan Hubicka <jh@suse.cz>
PR middle-end/46916
* opts.c (finish_options): Enable -freorder-functions
when -freorder-blocks-and-partition is active.
2010-12-20 Iain Sandoe <iains@gcc.gnu.org>
PR c++/46904
PR middle-end/46916
......@@ -755,6 +755,10 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set,
opts->x_flag_reorder_blocks = 1;
}
if (opts->x_flag_reorder_blocks_and_partition
&& !opts_set->x_flag_reorder_functions)
opts->x_flag_reorder_functions = 1;
/* Pipelining of outer loops is only possible when general pipelining
capabilities are requested. */
if (!opts->x_flag_sel_sched_pipelining)
......
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