Kaveh R. GHAZI wrote: > 2007-02-13 Kaveh R. Ghazi <[EMAIL PROTECTED]> > > * g++.dg/tree-ssa/nothrow-1.C: Skip test if -fpic/-fPIC is used. > > diff -rup orig/egcc-SVN20070211/gcc/testsuite/g++.dg/tree-ssa/nothrow-1.C > egcc-SVN20070211/gcc/testsuite/g++.dg/tree-ssa/nothrow-1.C > --- orig/egcc-SVN20070211/gcc/testsuite/g++.dg/tree-ssa/nothrow-1.C > 2006-01-23 00:09:00.000000000 -0500 > +++ egcc-SVN20070211/gcc/testsuite/g++.dg/tree-ssa/nothrow-1.C > 2007-02-13 21:58:10.160212524 -0500 > @@ -1,5 +1,6 @@ > /* { dg-do compile } */ > /* { dg-options "-O1 -fdump-tree-cfg" } */ > +/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ > double a; > void t() > {
I think this makes sense. At worst, it's overly conservative, and the test would pass on some targets using those flags, but that's not a big deal. Thanks, -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713