From: Palmer Dabbelt Date: Sat, 12 Oct 2019 19:05:38 +0000 (+0000) Subject: The inline keyword is supported in all new C standards X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9189d7321c6e4e4f23ed42eae4ef0c2bb1749100;p=gcc.git The inline keyword is supported in all new C standards The documentation used to indicate that the inline keyword was only supported by c99 and c11, whereas in fact it is supported by c99 and all newer standards. gcc/ChangeLog 2019-10-12 Palmer Dabbelt * doc/extend.texi (Alternate Keywords): Change "-std=c11" to "a later standard." From-SVN: r276921 --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 7e37c5cc2e6..9df4cc2a722 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -10754,7 +10754,7 @@ a general-purpose header file that should be usable by all programs, including ISO C programs. The keywords @code{asm}, @code{typeof} and @code{inline} are not available in programs compiled with @option{-ansi} or @option{-std} (although @code{inline} can be used in a -program compiled with @option{-std=c99} or @option{-std=c11}). The +program compiled with @option{-std=c99} or a later standard). The ISO C99 keyword @code{restrict} is only available when @option{-std=gnu99} (which will eventually be the default) or @option{-std=c99} (or the equivalent