OSDN Git Service

Run most tests in both C++98 and C++11 modes.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2011 17:53:53 +0000 (17:53 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2011 17:53:53 +0000 (17:53 +0000)
commitd2f3722fe17b121dbf7d5afaa3b1e8c4d4721bfa
treeef66da2f881f42b9e287ef9512b9c7730f71d5b6
parent103b22193e1d11c8420018a0cc7ea3f48cb59332
Run most tests in both C++98 and C++11 modes.
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_c++11): New.
(check_effective_target_c++98): New.
* lib/g++-dg.exp (g++-dg-runtest): New.
* [various.exp]: Use g++-dg-runtest.
* [various.C]: Fix for C++11 mode.
gcc/cp/
* Make-lang.in (check_g++_parallelize): Add dg-torture.exp.
(check-c++0x): Obsolete.
/
* Makefile.def (language=c++): Remove check-c++0x.
* Makefile.in (check-gcc-c++): Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181222 138bc75d-0d04-0410-961f-82ee72b054a4
51 files changed:
ChangeLog
Makefile.def
Makefile.in
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/charset/charset.exp
gcc/testsuite/g++.dg/cpp0x/variadic60.C
gcc/testsuite/g++.dg/debug/dwarf2/dwarf2.exp
gcc/testsuite/g++.dg/dfp/dfp.exp
gcc/testsuite/g++.dg/dg.exp
gcc/testsuite/g++.dg/ext/anon-struct4.C
gcc/testsuite/g++.dg/gcov/gcov.exp
gcc/testsuite/g++.dg/gomp/gomp.exp
gcc/testsuite/g++.dg/graphite/graphite.exp
gcc/testsuite/g++.dg/init/brace2.C
gcc/testsuite/g++.dg/init/brace6.C
gcc/testsuite/g++.dg/init/null1.C
gcc/testsuite/g++.dg/other/anon3.C
gcc/testsuite/g++.dg/simulate-thread/simulate-thread.exp
gcc/testsuite/g++.dg/template/arg2.C
gcc/testsuite/g++.dg/template/nontype25.C [moved from gcc/testsuite/g++.dg/abi/mangle4.C with 65% similarity]
gcc/testsuite/g++.dg/template/sfinae6_neg.C
gcc/testsuite/g++.dg/tls/tls.exp
gcc/testsuite/g++.dg/tm/tm.exp
gcc/testsuite/g++.dg/vect/vect.exp
gcc/testsuite/g++.dg/warn/Wconversion-null-3.C
gcc/testsuite/g++.old-deja/g++.benjamin/p12475.C
gcc/testsuite/g++.old-deja/g++.brendan/crash64.C
gcc/testsuite/g++.old-deja/g++.brendan/cvt1.C
gcc/testsuite/g++.old-deja/g++.brendan/enum11.C
gcc/testsuite/g++.old-deja/g++.brendan/enum8.C
gcc/testsuite/g++.old-deja/g++.brendan/enum9.C
gcc/testsuite/g++.old-deja/g++.brendan/friend3.C
gcc/testsuite/g++.old-deja/g++.brendan/init2.C
gcc/testsuite/g++.old-deja/g++.brendan/init4.C
gcc/testsuite/g++.old-deja/g++.brendan/misc14.C
gcc/testsuite/g++.old-deja/g++.jason/cond.C
gcc/testsuite/g++.old-deja/g++.law/init1.C
gcc/testsuite/g++.old-deja/g++.law/operators32.C
gcc/testsuite/g++.old-deja/g++.other/anon9.C
gcc/testsuite/g++.old-deja/g++.other/linkage1.C
gcc/testsuite/g++.old-deja/g++.other/linkage2.C
gcc/testsuite/g++.old-deja/g++.pt/enum6.C
gcc/testsuite/g++.old-deja/g++.pt/explicit70.C
gcc/testsuite/g++.old-deja/g++.pt/ptrmem6.C
gcc/testsuite/g++.old-deja/g++.pt/t29.C
gcc/testsuite/g++.old-deja/g++.pt/t30.C
gcc/testsuite/g++.old-deja/old-deja.exp
gcc/testsuite/lib/g++-dg.exp
gcc/testsuite/lib/target-supports.exp