https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124837
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
Last reconfirmed| |2026-04-10
Status|RESOLVED |WAITING
Ever confirmed|0 |1
--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Does replacing const with pure work?
As I mentioned const can only act on the value of the arguments and cant read
memory locations (except read only ones).
While pure can read memory.