]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
The inline keyword is supported in all new C standards
authorpalmer <palmer@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Oct 2019 19:05:38 +0000 (19:05 +0000)
committerpalmer <palmer@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Oct 2019 19:05:38 +0000 (19:05 +0000)
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  <palmer@sifive.com>

        * 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

gcc/doc/extend.texi

index 7e37c5cc2e6256936770e3d945076ee3cefa254f..9df4cc2a7223b1f80f4a0e7659346807f5f5704f 100644 (file)
@@ -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