https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129266
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-12-03
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> There is a single line change in the dump starting with forwprop4:
> @@ -53,7 +72,7 @@ long int foo (unsigned int c)
> # d_6(ab) = PHI <d_11(ab)(3)>
> # c_3(ab) = PHI <c_17(ab)(3)>
> l1:
> - if (d_6(ab) == 1)
> + if (d_18 == 0)
> goto <bb 5>; [25.00%]
> else
> goto <bb 6>; [75.00%]
Yes that should have been rejected. The question becomes is this a genmatch
issue or a forwprop issue. Might take a look this weekend