From 9189d7321c6e4e4f23ed42eae4ef0c2bb1749100 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Sat, 12 Oct 2019 19:05:38 +0000 Subject: 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." From-SVN: r276921 --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/doc') 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 -- cgit v1.1