From patchwork Fri Mar 7 21:43:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Merrill X-Patchwork-Id: 328089 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C06602C00A3 for ; Sat, 8 Mar 2014 08:44:08 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=l00/qkK4vjVqWLRMCMQHlNwrUxRPgt77Qsgv5uU7kiAY92 E4s8OrU/zxP1Z7wryLAIGfOg6kAG+k7QKF6Q+Yj05mir5hmkZahpjQXwp+ItbcFI DqgEp54jMKglA7W8GDmw0MKZWeWxF/qPJ3OYWwzzuBlfSY2h8BDPfMR7UBGgE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=cnqEy4EszazrjQtNH9ZwKLjbtEs=; b=vTde6GYvYDgk0FuuoK9z 42fal6Zb/hnFzbqEI8wwzHvGnU6dOXpmEFlrDaEedN0qC2WP//BjeMlm7HfLESkr F1JzBEwNYGZ1v8sUd5BQNx6akqxdm3Kr8oCFDwlxPSUINyaFByyq8Os1LKrOzYWy J0rWUlu5vM5TBcKOekwEn/Y= Received: (qmail 18972 invoked by alias); 7 Mar 2014 21:43:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 18955 invoked by uid 89); 7 Mar 2014 21:43:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD, ZIP_ATTACHED autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Mar 2014 21:43:57 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s27LhuPI028914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 Mar 2014 16:43:56 -0500 Received: from [10.10.116.21] ([10.10.116.21]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s27LhtVf013817 for ; Fri, 7 Mar 2014 16:43:55 -0500 Message-ID: <531A3D9B.1030203@redhat.com> Date: Fri, 07 Mar 2014 16:43:55 -0500 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: gcc-patches List Subject: 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. commit 11b6f45254ce1394f0a9bdb173f807b0c381720e Author: Jason Merrill 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: