https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105682
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |needs-bisection Target Milestone|--- |12.2 Known to fail| |12.1.0 Last reconfirmed| |2022-05-21 Known to work| |11.3.0 Status|UNCONFIRMED |NEW Summary|Both |12/13 Regression] Both |`-Wsuggest-attribute=pure` |`-Wsuggest-attribute=pure` |and |and |`-Wsuggest-attribute=const` |`-Wsuggest-attribute=const` |on same function |on same function --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. A regression from GCC 11.3.0.