https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114511
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |needs-bisection Known to work| |7.1.0 Known to fail| |8.1.0 Status|UNCONFIRMED |NEW Last reconfirmed| |2024-03-28 CC| |xry111 at gcc dot gnu.org Summary|[Regression] Missed |[11/12/13/14 Regression] |optimization: x = -y; x = c |Missed optimization: x = |+ x + y; ==> x=c; |-y; x = c + x + y; ==> x=c; --- Comment #1 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- Confirmed.