From: Jakub Jelinek Date: Wed, 5 Oct 2016 15:10:01 +0000 (+0200) Subject: * c-common.c (c_common_reswords): Update comment for C++11. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9563bfcdb4f236f218be52f8ff05bcd6527cac28;p=gcc.git * c-common.c (c_common_reswords): Update comment for C++11. From-SVN: r240792 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 1a16c6aaeb8..ea4278ce5af 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2016-10-05 Jakub Jelinek + + * c-common.c (c_common_reswords): Update comment for C++11. + 2016-10-04 Jason Merrill * c-common.c (make_tree_vector_from_ctor): New. diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index 2fce7933d5b..dbef1999b55 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -411,8 +411,8 @@ static int resort_field_decl_cmp (const void *, const void *); C --std=c89: D_C99 | D_CXXONLY | D_OBJC | D_CXX_OBJC C --std=c99: D_CXXONLY | D_OBJC ObjC is like C except that D_OBJC and D_CXX_OBJC are not set - C++ --std=c98: D_CONLY | D_CXXOX | D_OBJC - C++ --std=c0x: D_CONLY | D_OBJC + C++ --std=c++98: D_CONLY | D_CXX11 | D_OBJC + C++ --std=c++11: D_CONLY | D_OBJC ObjC++ is like C++ except that D_OBJC is not set If -fno-asm is used, D_ASM is added to the mask. If