This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[DOC PATCH] Update for standards.texi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]