diff options
author | Jason Merrill <jason@redhat.com> | 2011-07-13 16:30:54 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-07-13 16:30:54 -0400 |
commit | e2995714b3bf1295d389a80a951be8c3330e80ac (patch) | |
tree | 9bc6a8a6d63eb7140bb959626a5979beccd64a30 /gcc/cp | |
parent | 4dfe3ad52b122093cde02739950a8c7077b817d8 (diff) | |
download | gcc-e2995714b3bf1295d389a80a951be8c3330e80ac.zip gcc-e2995714b3bf1295d389a80a951be8c3330e80ac.tar.gz gcc-e2995714b3bf1295d389a80a951be8c3330e80ac.tar.bz2 |
Also test -std=c++0x mode with 'make check-c++' at top level
Also test -std=c++0x mode with 'make check-c++' at top level
* Makefile.in (check-gcc-c++0x): New.
(check-c++): Depend on it.
gcc/
* Makefile.in ($(lang_checks_parallelized)): Allow --tool_opts.
gcc/cp/
* Make-lang.in (check-c++0x): New.
gcc/testsuite/
* lib/g++.exp (${tool}_option_help, ${tool}_option_proc): Remove.
* lib/lto.exp (lto_prune_warns): Prune warning about -std=c++0x
when compiling C files.
From-SVN: r176250
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/Make-lang.in | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cfe3bab..8e45b2e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2011-07-13 Jason Merrill <jason@redhat.com> + + * Make-lang.in (check-c++0x): New. + 2011-07-13 Richard Sandiford <richard.sandiford@linaro.org> * typeck2.c (split_nonconstant_init_1): Pass the initializer directly, diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index 1b53b38..b9251a4 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -149,6 +149,10 @@ c++.srcman: doc/g++.1 # check targets. However, our DejaGNU framework requires 'check-g++' as its # entry point. We feed the former to the latter here. check-c++ : check-g++ +# Run the testsute in C++0x mode. +check-c++0x: + $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) --tool_opts=-std=gnu++0x" \ + TESTSUITEDIR="$(TESTSUITEDIR).c++0x" check-g++ check-c++-subtargets : check-g++-subtargets # List of targets that can use the generic check- rule and its // variant. lang_checks += check-g++ |