* doc/standards.texi: Reflect that the default for C is gnu11.

From-SVN: r220236
This commit is contained in:
Marek Polacek 2015-01-29 10:01:38 +00:00 committed by Marek Polacek
parent 4897b529e2
commit 2d48baf0f1
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2015-01-29 Marek Polacek <polacek@redhat.com>
* doc/standards.texi: Reflect that the default for C is gnu11.
2015-01-29 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/64761

View File

@ -110,12 +110,10 @@ they conflict with the C standard version selected. You may also
select an extended version of the C language explicitly with
@option{-std=gnu90} (for C90 with GNU extensions), @option{-std=gnu99}
(for C99 with GNU extensions) or @option{-std=gnu11} (for C11 with GNU
extensions). The default, if no C language dialect
options are given, is @option{-std=gnu90}; this is intended to change
to @option{-std=gnu11} in some future release. Some features that are
part of the C99 standard are
accepted as extensions in C90 mode, and some features that are part of
the C11 standard are accepted as extensions in C90 and C99 modes.
extensions). The default, if no C language dialect options are given,
is @option{-std=gnu11}. Some features that are part of the C99 standard
are accepted as extensions in C90 mode, and some features that are part
of the C11 standard are accepted as extensions in C90 and C99 modes.
The ISO C standard defines (in clause 4) two classes of conforming
implementation. A @dfn{conforming hosted implementation} supports the