[Bug middle-end/32911] Function __attribute__ ((idempotent))

trass3r at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Sep 4 10:27:38 GMT 2021


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

Trass3r <trass3r at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trass3r at gmail dot com

--- Comment #7 from Trass3r <trass3r at gmail dot com> ---
OpenGL's bind functions are another example.
They don't return anything so can't be marked pure/const but any subsequent
calls with the same arguments are redundant.


More information about the Gcc-bugs mailing list