cfgbuild.c (find_bb_boundaries): Initialize profile of split blocks.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 7 Jun 2017 06:42:43 +0000 (08:42 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 7 Jun 2017 06:42:43 +0000 (06:42 +0000)
commit6fcdf714130596ac05167398c56897d72ab3e759
tree48a46acbffe326fefb2dbd7126d7460aa6cd7f1d
parent96feaf79b2285aca415fda727e51868b95a8e4d9
cfgbuild.c (find_bb_boundaries): Initialize profile of split blocks.

* cfgbuild.c (find_bb_boundaries): Initialize profile of split blocks.
(compute_outgoing_frequencies): Also initialize zero counts.
(find_many_sub_basic_blocks): Do not produce uninitialized profile
around loops; preserve more of profile when nothing changes.

From-SVN: r248945
gcc/ChangeLog
gcc/cfgbuild.c