diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-11-05 17:19:35 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@linaro.org> | 2017-11-05 17:19:35 +0000 |
commit | 648f8fc59b2cc39abd24f4c22388b346cdebcc31 (patch) | |
tree | 3a07eccc4c22b265261edd75c9ec3910d9c626f5 /gcc/doc/standards.texi | |
parent | 7bef5b82e4109778a0988d20e19e1ed29dadd835 (diff) | |
parent | 8c089b5c15a7b35644750ca393f1e66071ad9aa9 (diff) | |
download | gcc-648f8fc59b2cc39abd24f4c22388b346cdebcc31.tar.gz |
Merge trunk into sve
Diffstat (limited to 'gcc/doc/standards.texi')
-rw-r--r-- | gcc/doc/standards.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index d4112b37863..a40899dba85 100644 --- a/gcc/doc/standards.texi +++ b/gcc/doc/standards.texi @@ -36,6 +36,8 @@ with some exceptions, and possibly with some extensions. @cindex C11 @cindex ISO C1X @cindex C1X +@cindex ISO C17 +@cindex C17 @cindex Technical Corrigenda @cindex TC1 @cindex Technical Corrigendum 1 @@ -100,7 +102,11 @@ 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}. +@option{-std=iso9899:2011}. A version with corrections integrated 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 +value of @code{__STDC_VERSION__}. By default, GCC provides some extensions to the C language that, on rare occasions conflict with the C standard. @xref{C |