[Bug middle-end/106519] [13 Regression] internal compiler error: in gimple_phi_arg, at gimple.h:4594 by r13-1950

tnfchris at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 3 23:14:36 GMT 2022


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

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tnfchris at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-08-03
           Assignee|unassigned at gcc dot gnu.org      |tnfchris at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
The condition checks that the two BBs share the same successor but forgot to
check that both BB have only one successor.

It looks like with -m32 (and powerpc) the order of the edges just happen to
match and the assert triggers.

Testing a patch overnight and will post tomorrow.


More information about the Gcc-bugs mailing list