diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-10-17 22:33:30 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2018-10-17 22:33:30 +0100 |
commit | 7dc41f3d1a34510ab7061dc86c585d2b7fbe6a40 (patch) | |
tree | 7d5045933af19c53f1f54732e264a31405d1d0df /gcc | |
parent | 91f9b2e0f7054c64e56053993de41b14c5e02226 (diff) | |
download | gcc-7dc41f3d1a34510ab7061dc86c585d2b7fbe6a40.zip gcc-7dc41f3d1a34510ab7061dc86c585d2b7fbe6a40.tar.gz gcc-7dc41f3d1a34510ab7061dc86c585d2b7fbe6a40.tar.bz2 |
Update manual references for C17 having been published.
This patch makes references in the manual to C17 reflect it having
been published in July 2018. (For the reasons it took so long to get
to ballot and publication, see the WG14 convenor's report to the last
SC22 plenary - SC22 N5297 - where it references "A troubling new trend
where ISO CS has begun enforcing undocumented rules that are approved
neither by the TMB nor by the WG 14 editors, leading to a decrease in
the usefulness of standards documents.".)
Tested with "make info html pdf".
* doc/invoke.texi (-std=c17), doc/standards.texi (C Language):
Document C17 as published in 2018.
From-SVN: r265249
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 4 | ||||
-rw-r--r-- | gcc/doc/standards.texi | 3 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d26780e..85bfe7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-17 Joseph Myers <joseph@codesourcery.com> + + * doc/invoke.texi (-std=c17), doc/standards.texi (C Language): + Document C17 as published in 2018. + 2018-10-17 Eric Botcazou <ebotcazou@adacore.com> PR middle-end/87623 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 06a00a2..7b08076 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1927,8 +1927,8 @@ interfaces) and L (Analyzability). The name @samp{c1x} is deprecated. @itemx c18 @itemx iso9899:2017 @itemx iso9899:2018 -ISO C17, the 2017 revision of the ISO C standard (expected to be -published in 2018). This standard is +ISO C17, the 2017 revision of the ISO C standard +(published in 2018). This standard is same as C11 except for corrections of defects (all of which are also applied with @option{-std=c11}) and a new value of @code{__STDC_VERSION__}, and so is supported to the same extent as C11. diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index bde233e..bd9ff6b 100644 --- a/gcc/doc/standards.texi +++ b/gcc/doc/standards.texi @@ -102,7 +102,8 @@ in 2011 as ISO/IEC 9899:2011. (While in development, drafts of this standard version were referred to as @dfn{C1X}.) GCC has substantially complete support for this standard, enabled with @option{-std=c11} or -@option{-std=iso9899:2011}. A version with corrections integrated is +@option{-std=iso9899:2011}. A version with corrections integrated was +prepared in 2017 and published in 2018 as ISO/IEC 9899:2018; it is known as @dfn{C17} and is supported with @option{-std=c17} or @option{-std=iso9899:2017}; the corrections are also applied with @option{-std=c11}, and the only difference between the options is the |