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.