Fix PR rtl-optimization/54456

Eric Botcazou ebotcazou@adacore.com
Tue Sep 4 19:06:00 GMT 2012


This patch "fixes" PR rtl-optimization/54456 by running the first scheduling 
pass only when optimizing, as is already done for the second scheduling pass.

Tested on x86_64-suse-linux, applied on the mainline.


2012-09-04  Eric Botcazou  <ebotcazou@adacore.com>

	PR rtl-optimization/54456
	* sched-rgn.c (gate_handle_sched): Return 1 only if optimize > 0.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 393 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120904/2617af33/attachment.bin>


More information about the Gcc-patches mailing list