[PATCH] The inline keyword is supported in all new C standards
Palmer Dabbelt
palmer@sifive.com
Tue Sep 24 22:37:00 GMT 2019
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-09-24 Palmer Dabbelt <palmer@sifive.com>
* doc/extended.texi (Alternate Keywords): Change "-std=c11" to "a
later standard."
---
gcc/doc/extend.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 64fccfe9b87..ef2fde3d989 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -10739,7 +10739,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
--
2.21.0
More information about the Gcc-patches
mailing list