r182087 - in /branches/google/gcc-4_6: ./ gcc/c...
jyasskin@gcc.gnu.org
jyasskin@gcc.gnu.org
Wed Dec 7 20:21:00 GMT 2011
Author: jyasskin
Date: Wed Dec 7 20:21:21 2011
New Revision: 182087
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182087
Log:
Merge r180707 from trunk to get the -std=gnu++11 option.
google ref 5686112
gcc/c-family
* c-common.h (cxx_dialect): Add cxx11 and cxx03.
* c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
and -Wc++11-compat.
* c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
gcc/cp
* class.c (check_field_decl): Change c++0x in diags to c++11.
* error.c (maybe_warn_cpp0x): Likewise.
* parser.c (cp_parser_diagnose_invalid_type_name): Likewise.
* pt.c (check_default_tmpl_args): Likewise.
libcpp
* include/cpplib.h (enum c_lang): Rename CLK_CXX0X to CLK_CXX11,
CLK_GNUCXX0X to CLK_GNUCXX11.
libstdc++-v3
* include/bits/c++0x_warning.h: Change -std=c++0x to -std=c++11.
Modified:
branches/google/gcc-4_6/libstdc++-v3/ChangeLog.google-4_6
branches/google/gcc-4_6/libstdc++-v3/include/bits/c++0x_warning.h
branches/google/gcc-4_6/libstdc++-v3/testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/18_support/headers/cstdint/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/20_util/headers/type_traits/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/headers/array/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/headers/tuple/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/26_numerics/headers/random/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/28_regex/headers/regex/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/29_atomics/headers/atomic/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/30_threads/headers/condition_variable/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/30_threads/headers/future/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/30_threads/headers/mutex/std_c++0x_neg.cc
branches/google/gcc-4_6/libstdc++-v3/testsuite/30_threads/headers/thread/std_c++0x_neg.cc
Changes in other areas also in this revision:
Added:
branches/google/gcc-4_6/libcpp/ChangeLog.google-4_6
Modified:
branches/google/gcc-4_6/ (props changed)
branches/google/gcc-4_6/gcc/c-family/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/c-family/c-common.h
branches/google/gcc-4_6/gcc/c-family/c-opts.c
branches/google/gcc-4_6/gcc/c-family/c.opt
branches/google/gcc-4_6/gcc/config/rs6000/rs6000.c (props changed)
branches/google/gcc-4_6/gcc/config/rs6000/rs6000.h (props changed)
branches/google/gcc-4_6/gcc/cp/ChangeLog.google-4_6
branches/google/gcc-4_6/gcc/cp/class.c
branches/google/gcc-4_6/gcc/cp/error.c
branches/google/gcc-4_6/gcc/cp/parser.c
branches/google/gcc-4_6/gcc/cp/pt.c
branches/google/gcc-4_6/gcc/testsuite/g++.dg/cpp0x/constexpr-98.C
branches/google/gcc-4_6/gcc/testsuite/gcc.target/powerpc/ppc-round.c (props changed)
branches/google/gcc-4_6/libcpp/include/cpplib.h
branches/google/gcc-4_6/libcpp/init.c
branches/google/gcc-4_6/libjava/classpath/ (props changed)
Propchange: branches/google/gcc-4_6/
('svn:mergeinfo' modified)
Propchange: branches/google/gcc-4_6/gcc/config/rs6000/rs6000.c
('svn:mergeinfo' modified)
Propchange: branches/google/gcc-4_6/gcc/config/rs6000/rs6000.h
('svn:mergeinfo' modified)
Propchange: branches/google/gcc-4_6/gcc/testsuite/gcc.target/powerpc/ppc-round.c
('svn:mergeinfo' modified)
Propchange: branches/google/gcc-4_6/libjava/classpath/
('svn:mergeinfo' modified)
More information about the Libstdc++-cvs
mailing list