https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114777
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note we only started to warn about pure/const on functions returning void in GCC 8 .
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 18 Apr 2024 17:34:35 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114777
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note we only started to warn about pure/const on functions returning void in GCC 8 .