This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[DOC PATCH] Update for standards.texi
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 29 Jan 2015 10:46:24 +0100
- Subject: [DOC PATCH] Update for standards.texi
- Authentication-results: sourceware.org; auth=none
Apparently I failed to update this text when doing the gnu89 -> gnu11
change.
Ok?
2015-01-29 Marek Polacek <polacek@redhat.com>
* doc/standards.texi: Reflect that the default for C is gnu11.
diff --git gcc/doc/standards.texi gcc/doc/standards.texi
index fef81ae..97b12c8 100644
--- gcc/doc/standards.texi
+++ gcc/doc/standards.texi
@@ -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
Marek