summaryrefslogtreecommitdiff
path: root/gcc/c-family/c-common.h
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-15 10:08:00 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-15 10:08:00 +0000
commitb2601928b5bf34a817b5a9a2a371c476018e634d (patch)
treec9f5756cd1beeca56ec5d77216435248c56b4966 /gcc/c-family/c-common.h
parentfecd2208d4a6cf0495139f8ff0ad667f92f78a56 (diff)
downloadgcc-b2601928b5bf34a817b5a9a2a371c476018e634d.tar.gz
* doc/invoke.texi: Update to reflect that GNU11 is the default
mode for C. * c-common.h (c_language_kind): Update comment. c-family/ * c-opts.c (c_common_init_options): Make -std=gnu11 the default for C. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216247 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-common.h')
-rw-r--r--gcc/c-family/c-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h
index fd94d64009a..fec9a069191 100644
--- a/gcc/c-family/c-common.h
+++ b/gcc/c-family/c-common.h
@@ -461,7 +461,7 @@ struct GTY(()) sorted_fields_type {
typedef enum c_language_kind
{
- clk_c = 0, /* C90, C94 or C99 */
+ clk_c = 0, /* C90, C94, C99 or C11 */
clk_objc = 1, /* clk_c with ObjC features. */
clk_cxx = 2, /* ANSI/ISO C++ */
clk_objcxx = 3 /* clk_cxx with ObjC features. */