This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.1.2 RC3 Cancelled
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: GCC <gcc at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 Feb 2007 15:59:46 -0800
- Subject: Re: GCC 4.1.2 RC3 Cancelled
- References: <45D0EEAE.50706@codesourcery.com> <Pine.GSO.4.58.0702132101570.19230@caipclassic.rutgers.edu> <45D29D78.2070108@codesourcery.com> <Pine.GSO.4.58.0702140903120.20549@caipclassic.rutgers.edu>
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