[Bug rtl-optimization/99085] [10/11 Regression] ICE: verify_flow_info failed (error: multiple hot/cold transitions found)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 15 16:11:08 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99085

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 50187
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50187&action=edit
gcc11-pr99085.patch

Untested fix.
The fixup_partitions code can move some bbs from hot to cold partitions (if
they are dominated by cold bbs, either before or after unreachable bb removal),
but
when not in cfglayout mode after reorder partitions it isn't sufficient to
adjust the edges and corresponding jumps, but we also need to move the bb in
the bb chain.


More information about the Gcc-bugs mailing list