re PR rtl-optimization/83575 (ICE: verify_flow_info failed (error: multiple hot/cold...
authorJan Hubicka <hubicka@ucw.cz>
Thu, 11 Jan 2018 08:02:26 +0000 (09:02 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 11 Jan 2018 08:02:26 +0000 (08:02 +0000)
commit3211aea29a0576eeb3326879b2f58fc0ed374a40
tree0eb2546f8e091da200fb62167784111eba90f386
parent27086ea39f16addb987edb4719afb7cd9b01800c
re PR rtl-optimization/83575 (ICE: verify_flow_info failed (error: multiple hot/cold transitions found))

PR middle-end/83575
* cfgrtl.c (rtl_verify_edges): Only verify fixability of partition
when in layout mode.
(cfg_layout_finalize): Do not verify cfg before we are out of layout.
* cfgcleanup.c (try_optimize_cfg): Only verify flow info when doing
partition fixup.

* gcc.c-torture/compile/pr83575.c: New testcase.

From-SVN: r256479
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/cfgrtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr83575.c [new file with mode: 0644]