Commit 2d48baf0 by Marek Polacek Committed by Marek Polacek

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

From-SVN: r220236
parent 4897b529
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment