https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107907
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2022-11-29 Status|UNCONFIRMED |NEW Version|9.4.0 |12.2.1 Keywords| |wrong-code --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed with GCC 12. The .original dump shows the frontend performs constant folding even at -O0 here.