aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2013-11-18 22:38:51 +0000
committerTeresa Johnson <tejohnson@gcc.gnu.org>2013-11-18 22:38:51 +0000
commit4ca1930986eb7cb7eae67b74b74bd0ed3717ad83 (patch)
tree5c71565f2ef787716805387748dca8ac915527bb /gcc/tree.c
parent38f4f02fd6a83607aada3b3270469143bd9ffc7a (diff)
downloadgcc-4ca1930986eb7cb7eae67b74b74bd0ed3717ad83.zip
gcc-4ca1930986eb7cb7eae67b74b74bd0ed3717ad83.tar.gz
gcc-4ca1930986eb7cb7eae67b74b74bd0ed3717ad83.tar.bz2
This patch fixes an lto profiledbootstrap failure with -freorder-blocks-and-partition enabled.
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. From-SVN: r204985
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions