https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66953
sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandra at gcc dot gnu.org --- Comment #1 from sandra at gcc dot gnu.org --- Hmmm. Near the top of extend.texi we have: "Some features that are in ISO C99 but not C90 or C++ are also, as extensions, accepted by GCC in C90 mode and in C++." Maybe we just need to generalize this to say that -std=gnu@var{version} may also accept, as extensions, features from subsequent versions of the standard? E.g. randomly looking at some release notes for recent releases, I see things like https://gcc.gnu.org/gcc-11/changes.html "Several new features from the upcoming C2X revision of the ISO C standard are supported with -std=c2x and -std=gnu2x. Some of these features are also supported as extensions when compiling for older language versions." I think it would be a big project to track all these historical additions down now and document them individually, when we could instead just tell users to explicitly compile with a -std= version that supports the language features their code depends on.