PR middle-end/83575
commit4b8e8feaf5cfffe479a61826b943332b0fa46d5f
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jan 2018 08:02:26 +0000 (11 08:02 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jan 2018 08:02:26 +0000 (11 08:02 +0000)
tree0eb2546f8e091da200fb62167784111eba90f386
parent24f7a05b1cfe270531da2ad243a7c53666140023
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256479 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/cfgrtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr83575.c [new file with mode: 0644]