Commit 9189d732 by Palmer Dabbelt

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  <palmer@sifive.com>

        * doc/extend.texi (Alternate Keywords): Change "-std=c11" to "a
        later standard."

From-SVN: r276921
parent b6941da8
...@@ -10754,7 +10754,7 @@ a general-purpose header file that should be usable by all programs, ...@@ -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 including ISO C programs. The keywords @code{asm}, @code{typeof} and
@code{inline} are not available in programs compiled with @code{inline} are not available in programs compiled with
@option{-ansi} or @option{-std} (although @code{inline} can be used in a @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 ISO C99 keyword
@code{restrict} is only available when @option{-std=gnu99} (which will @code{restrict} is only available when @option{-std=gnu99} (which will
eventually be the default) or @option{-std=c99} (or the equivalent eventually be the default) or @option{-std=c99} (or the equivalent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment