r204985 - in /trunk/gcc: ChangeLog cfgrtl.c pas...

tejohnson@gcc.gnu.org tejohnson@gcc.gnu.org
Mon Nov 18 22:38:00 GMT 2013


Author: tejohnson
Date: Mon Nov 18 22:38:51 2013
New Revision: 204985

URL: http://gcc.gnu.org/viewcvs?rev=204985&root=gcc&view=rev
Log:
This patch fixes an lto profiledbootstrap failure with
-freorder-blocks-and-partition enabled. Currently compgotos
is the only pass that goes into cfglayout mode after bb reordering,
which is undesireable (and in the case of -freorder-blocks-and-partition
can cause illegal partitioning) because of the optimizations performed
on the cfg when going into cfglayout mode. Moved compgoto before
bb reordering to avoid these problems.

2013-11-18  Teresa Johnson  <tejohnson@google.com>

	* gcc/cfgrtl.c (cfg_layout_initialize): Assert if we
	try to go into cfglayout after bb reordering.
	* gcc/passes.def: Move compgotos before bb reordering
	since it goes into cfglayout.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgrtl.c
    trunk/gcc/passes.def



More information about the Gcc-cvs mailing list