public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] The inline keyword is supported in all new C standards
@ 2019-09-24 22:37 Palmer Dabbelt
  2019-09-25 23:38 ` Joseph Myers
  0 siblings, 1 reply; 3+ messages in thread
From: Palmer Dabbelt @ 2019-09-24 22:37 UTC (permalink / raw)
  To: gcc-patches; +Cc: Palmer Dabbelt

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] The inline keyword is supported in all new C standards
  2019-09-24 22:37 [PATCH] The inline keyword is supported in all new C standards Palmer Dabbelt
@ 2019-09-25 23:38 ` Joseph Myers
  2019-10-12 19:16   ` Palmer Dabbelt
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Myers @ 2019-09-25 23:38 UTC (permalink / raw)
  To: Palmer Dabbelt; +Cc: gcc-patches

On Tue, 24 Sep 2019, Palmer Dabbelt wrote:

> 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."

OK with the filename corrected in the ChangeLog entry.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] The inline keyword is supported in all new C standards
  2019-09-25 23:38 ` Joseph Myers
@ 2019-10-12 19:16   ` Palmer Dabbelt
  0 siblings, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2019-10-12 19:16 UTC (permalink / raw)
  To: joseph; +Cc: gcc-patches

On Wed, 25 Sep 2019 16:38:25 PDT (-0700), joseph@codesourcery.com wrote:
> On Tue, 24 Sep 2019, Palmer Dabbelt wrote:
>
>> 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."
>
> OK with the filename corrected in the ChangeLog entry.

Committed (though I screwed up the changelog, sorry!)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-12 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-24 22:37 [PATCH] The inline keyword is supported in all new C standards Palmer Dabbelt
2019-09-25 23:38 ` Joseph Myers
2019-10-12 19:16   ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).