From patchwork Sun Mar 9 07:53:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 328300 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 45CF62C00B9 for ; Sun, 9 Mar 2014 18:53:51 +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:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; q=dns; s=default; b=O/r1xHy04lGRH+Xm B0BZOwb0jfnQGwcp0Rm8iv5x+w2JjTwSrdJeVzikRzbH1QRo5abRGQFx+c0oZefc uCg1Zs1Q4p5b9qGP2GM6ThiOl/zzdLqIu8NaYh6SDFiXZXAa7Da9Asue4GQbFQGz C6zXHfE8G1gVyvQ13Nl/1EYPzxs= 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:from :to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=default; bh=3QPd5PrBHJT/Qo1F6R5Wye IAmVM=; b=I1Re+hBiXpaQJXXtT0k8Xh8+o4YsyXH0ZMEAPC9eweIS0zq1IMFlZ6 RPehP7Roz+715Hrb5jYnrkFtAcZ06JO6XkyHzVPyYyD3uNvOQ+yjp/+K7cQQbgQb YymdmsEV3dr6IFaYdn7W9RGwXEeeCXpCuOQvRZajH5ctBCMl0tTVo= Received: (qmail 3574 invoked by alias); 9 Mar 2014 07:53:42 -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 3557 invoked by uid 89); 9 Mar 2014 07:53:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 09 Mar 2014 07:53:38 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3fhZZ630D3z3hhwM; Sun, 9 Mar 2014 08:53:34 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3fhZZ60BWyzbbcw; Sun, 9 Mar 2014 08:53:34 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id lzwK8jWHQo3E; Sun, 9 Mar 2014 08:53:33 +0100 (CET) X-Auth-Info: Yi+DL0uj5LFhlBtTLFcroVF0X9lpKo72zZWnRav53Hw= Received: from linux.local (ppp-88-217-45-220.dynamic.mnet-online.de [88.217.45.220]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 9 Mar 2014 08:53:33 +0100 (CET) Received: by linux.local (Postfix, from userid 501) id 85C781E5785; Sun, 9 Mar 2014 08:53:29 +0100 (CET) From: Andreas Schwab To: Jason Merrill Cc: gcc-patches List Subject: Re: C++ PATCHes to run testsuite in C++14 mode References: <531A3D9B.1030203@redhat.com> X-Yow: .. My pants just went on a wild rampage through a Long Island Bowling Alley!! Date: Sun, 09 Mar 2014 08:53:29 +0100 In-Reply-To: <531A3D9B.1030203@redhat.com> (Jason Merrill's message of "Fri, 07 Mar 2014 16:43:55 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Jason Merrill writes: > diff --git a/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C b/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C > index 5b5d15a..50df842 100644 > --- a/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C > +++ b/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C > @@ -1,6 +1,7 @@ > // Origin: PR c++/51032 > // { dg-skip-if "No stabs" { aarch64*-*-* mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* nios2-*-* } { "*" } { "" } } > -// { dg-options "-std=c++11 -gstabs+" } > +// { dg-do compile { target c++11 } } > +// { dg-options "-gstabs+" } Order matters, by using dg-do after dg-skip the latter is effectively ignored. Tested on ia64-suse-linux and installed as obvious. Andreas. * g++.dg/cpp0x/alias-decl-debug-0.C: Move dg-skip after dg-do. diff --git a/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C b/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C index 50df842..524216a 100644 --- a/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C +++ b/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C @@ -1,6 +1,6 @@ // Origin: PR c++/51032 -// { dg-skip-if "No stabs" { aarch64*-*-* mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* nios2-*-* } { "*" } { "" } } // { dg-do compile { target c++11 } } +// { dg-skip-if "No stabs" { aarch64*-*-* mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* nios2-*-* } { "*" } { "" } } // { dg-options "-gstabs+" } template