https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116767
--- Comment #8 from Andreas Schwab <sch...@linux-m68k.org> --- That feature probably existed since the beginning, as a comment the glibc sources from 1994 in misc/sys/cdefs.h suggests. /* In GCC versions before 2.5, the `volatile' and `const' keywords have special meanings when applied to functions. In versions 2.5 and 2.6, the `__attribute__' syntax used below does not work properly. */