https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105676
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12/13 Regression] Bogus |[12 Regression] Bogus |`-Wsuggest-attribute=pure` |`-Wsuggest-attribute=pure` |on function marked |on function marked |`__attribute__((const))` |`__attribute__((const))` |since |since |r12-5437-g09a4ffb72aa2f513 |r12-5437-g09a4ffb72aa2f513 Known to work| |13.0 Known to fail|12.1.0 |12.2.0 --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed on trunk sofar.