Clean up partitioning in try_optimize_cfg (PR bootstrap/82831).
commita3b26a39dfbcd80e475def83420533a06904cd9c
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2018 10:54:20 +0000 (10 10:54 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jan 2018 10:54:20 +0000 (10 10:54 +0000)
treef23e1eb29735ba98c89f93421a9b7ee92fab31aa
parent499d260609c095f24afbd8960c2e076b9d417796
Clean up partitioning in try_optimize_cfg (PR bootstrap/82831).

2018-01-10  Martin Liska  <mliska@suse.cz>

PR bootstrap/82831
* basic-block.h (CLEANUP_NO_PARTITIONING): New define.
* bb-reorder.c (pass_reorder_blocks::execute): Do not clean up
partitioning.
* cfgcleanup.c (try_optimize_cfg): Fix up partitioning if
CLEANUP_NO_PARTITIONING is not set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256422 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/basic-block.h
gcc/bb-reorder.c
gcc/cfgcleanup.c