From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105555 invoked by alias); 2 Feb 2017 10:15:49 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 105536 invoked by uid 89); 2 Feb 2017 10:15:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Norton, norton, H*Ad:U*ro, smithard X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Feb 2017 10:15:37 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 140C1AC5D; Thu, 2 Feb 2017 10:15:35 +0000 (UTC) Date: Thu, 02 Feb 2017 10:15:00 -0000 From: Richard Biener To: Jakub Jelinek cc: Rainer Orth , Mike Stump , Dodji Seketeli , gcc-patches@gcc.gnu.org Subject: Re: Patch ping In-Reply-To: <20170202101241.GT14051@tucnak> Message-ID: References: <20170202101241.GT14051@tucnak> User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2017-02/txt/msg00136.txt.bz2 On Thu, 2 Feb 2017, Jakub Jelinek wrote: > Hi! > > I'd like to ping the > http://gcc.gnu.org/ml/gcc-patches/2017-01/msg02026.html > patch, asan testsuite fixes not to use explicit -O* options > in testsuite that iterates over all -O*, but instead dg-skip-if > etc. > > As discussed later in the thread, either as is for pr69276.C: > -/* { dg-additional-options "-O0 -fno-lto" } */ > +/* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */ > +/* { dg-additional-options "-fno-lto" } */ > or just: > -/* { dg-additional-options "-O0 -fno-lto" } */ > +/* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */ Ok with this variant. Richard. > or: > -/* { dg-additional-options "-O0 -fno-lto" } */ > +/* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */ > +/* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */ > > Jakub > > -- Richard Biener SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)