]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-cfg: Add count information when creating new bb in move_sese_region_to_fn
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 17 Oct 2023 14:02:29 +0000 (15:02 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 17 Oct 2023 14:02:29 +0000 (15:02 +0100)
commit305034e3ae9499264c539ec14529e849eef7d725
tree3d028d5539bb62ac66943681b6d23c09fbe19213
parentef6696af08a888b53e0e21b17c0a1f87ffdfc3c6
tree-cfg: Add count information when creating new bb in move_sese_region_to_fn

This patch makes sure the profile_count information is initialized for the new
bb created in move_sese_region_to_fn.

gcc/ChangeLog:

* tree-cfg.cc (move_sese_region_to_fn): Initialize profile_count for
new basic block.
gcc/tree-cfg.cc