This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.1.2 RC3 Cancelled


Kaveh R. GHAZI wrote:

> 2007-02-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
> 
> 	* 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
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]