This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ PATCHes to run testsuite in C++14 mode


The first patch changes the C++ testsuite to run in C++14 mode as well as C++98 and C++11. It also adjusts tests that were specifying a standard with -std= in dg-options so that they use target-supports functions instead. As a result, a number of tests are now being compiled with -pedantic-errors that previously were not, so I've fixed several extra semicolons.

The second patch splits up the running of dg.exp to avoid it running longer than libstdc++ in parallel testing.

Doing this revealed several regressions in C++14 mode, which are fixed by the patches in my other recent mail.

Tested x86_64-pc-linux-gnu, applying to trunk.

Attachment: 1y-tests.patch.bz2
Description: application/bzip

commit 11b6f45254ce1394f0a9bdb173f807b0c381720e
Author: Jason Merrill <jason@redhat.com>
Date:   Fri Mar 7 13:40:13 2014 -0500

    	* Make-lang.in (check_g++_parallelize): Split dg.exp.

diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index 438148c..5480c4e 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -156,7 +156,10 @@ check-c++-subtargets : check-g++-subtargets
 lang_checks += check-g++
 lang_checks_parallelized += check-g++
 # For description see comment above check_gcc_parallelize in gcc/Makefile.in.
-check_g++_parallelize = old-deja.exp dg.exp dg-torture.exp
+check_g++_parallelize = old-deja.exp \
+	dg.exp=g++.dg/[0-9A-Za-bd-su-z]* \
+	dg.exp=g++.dg/[ct]* \
+	dg.exp=c-c++-common/*,dg-torture.exp
 
 #
 # Install hooks:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]