Stop the cfglayout code from failing an assert when called from hw-doloop.
authorBernd Schmidt <bernds@codesourcery.com>
Wed, 21 May 2014 09:22:26 +0000 (09:22 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 21 May 2014 09:22:26 +0000 (09:22 +0000)
commit8a9e6b45baed602a208c6be551fd9708e1d06809
treef6876e2d660634f5c9a6e15d561f6b1238bc678b
parentc4e5de1b1af1b33acbbe5a2271ff37405d1d17b5
Stop the cfglayout code from failing an assert when called from hw-doloop.

* cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if
flag_reorder_blocks_and_partition.
* hw-doloop.c (reorg_loops): Avoid reordering if that flag is set.

From-SVN: r210683
gcc/ChangeLog
gcc/cfgrtl.c
gcc/hw-doloop.c