diff options
author | Marek Polacek <polacek@redhat.com> | 2015-01-29 10:01:38 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-01-29 10:01:38 +0000 |
commit | 2d48baf0f14b81554930bd630d752f9061087e81 (patch) | |
tree | 0b334efc62d9d1822412e57087ef97a2389da33d | |
parent | 4897b529e22f058ce517463dcf9f7839a535e6d3 (diff) | |
download | gcc-2d48baf0f14b81554930bd630d752f9061087e81.zip gcc-2d48baf0f14b81554930bd630d752f9061087e81.tar.gz gcc-2d48baf0f14b81554930bd630d752f9061087e81.tar.bz2 |
* doc/standards.texi: Reflect that the default for C is gnu11.
From-SVN: r220236
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/standards.texi | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 38cb9e5..81a4311 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index fef81ae..c791f59 100644 --- a/gcc/doc/standards.texi +++ b/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 |