https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98334
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |13.0 --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #5) > Fixed at the RTL level, keeping open for the GIMPLE optimization. For the testcase in comment #1 this is recorded as PR 94782. For the original testcase in comment #0, I don't know when it was fixed on the trunk but in sccp we get now: final value replacement: result_2 = PHI <result_7(3)> with expr: (int) n_4(D) * i_6(D) final stmt: result_2 = _1 * i_6(D); instead of: final value replacement: result_2 = PHI <result_7(3)> with expr: (int) (n_3(D) + 4294967295) * i_6(D) + i_6(D) final stmt: result_2 = _9 + i_6(D);