https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124837

--- Comment #4 from Drea Pinski <pinskia at gcc dot gnu.org> ---
>From the documentation:
The pure attribute imposes similar but looser restrictions on a function’s
definition than the const attribute: pure allows the function to read any
non-volatile memory, even if it changes in between successive invocations of
the function.

https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Common-Function-Attributes.html#index-pure-function-attribute

Reply via email to