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 <rguent...@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)