From: palmer Date: Sat, 12 Oct 2019 19:05:38 +0000 (+0000) Subject: The inline keyword is supported in all new C standards X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5a45ca50e1c3cee9c48d543c439655d889c9f97;p=thirdparty%2Fgcc.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." git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276921 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 7e37c5cc2e62..9df4cc2a7223 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