diff options
-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 |