Clean up partitioning in try_optimize_cfg (PR bootstrap/82831).
authorMartin Liska <mliska@suse.cz>
Wed, 10 Jan 2018 10:54:20 +0000 (11:54 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 10 Jan 2018 10:54:20 +0000 (10:54 +0000)
commit3ff0dc17a41ca4a8c673c67d0053e85a6521c739
treef23e1eb29735ba98c89f93421a9b7ee92fab31aa
parent2072a319569067b9b99154e8d1bbec894034652f
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.

From-SVN: r256422
gcc/ChangeLog
gcc/basic-block.h
gcc/bb-reorder.c
gcc/cfgcleanup.c