aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@gcc.gnu.org>2019-10-12 19:05:38 +0000
committerPalmer Dabbelt <palmer@gcc.gnu.org>2019-10-12 19:05:38 +0000
commit9189d7321c6e4e4f23ed42eae4ef0c2bb1749100 (patch)
treebc5872d7349e01a410cefedb9e9a9c2ea42d14d3 /gcc/doc
parentb6941da896f23c8a30c93469b237350615f52721 (diff)
downloadgcc-9189d7321c6e4e4f23ed42eae4ef0c2bb1749100.zip
gcc-9189d7321c6e4e4f23ed42eae4ef0c2bb1749100.tar.gz
gcc-9189d7321c6e4e4f23ed42eae4ef0c2bb1749100.tar.bz2
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
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 7e37c5c..9df4cc2 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