This is the mail archive of the
mailing list for the GCC project.
Re: [patch, committed] Pass -fno-ident to tests that make sure "pow" is not called
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 2 Nov 2012 16:02:39 -0400
- Subject: Re: [patch, committed] Pass -fno-ident to tests that make sure "pow" is not called
- References: <20121102192411.GA623@ibm-tiger.the-meissners.org>
On Fri, Nov 2, 2012 at 3:24 PM, Michael Meissner
> During development, I often times have powerpc in the name of the compiler.
> This trips up several tests that want to make sure the various pow
> optimizations are done and the pow function is not called, since "powerpc" is
> in the compiler identification string.
> I committed the following patch as obvious, after doing build/compare.
> 2012-11-02 Michael Meissner <firstname.lastname@example.org>
> * gcc.target/powerpc/pr46728-1.c: Pass -fno-ident to eliminate
> failures in case 'pow', such as 'powerpc' is used in the compiler
> version name.
> * gcc.target/powerpc/pr46728-2.c: Likewise.
> * gcc.target/powerpc/pr46728-3.c: Likewise.
> * gcc.target/powerpc/pr46728-4.c: Likewise.
> * gcc.target/powerpc/pr46728-5.c: Likewise.
> * gcc.target/powerpc/pr46728-7.c: Likewise.
> * gcc.target/powerpc/pr46728-8.c: Likewise.
> * gcc/testsuite/gcc.dg/pr46728-6.c: Likewise.
I see similar failures on AIX, but I think that "powerpc" appears in
other strings in XCOFF.
But thanks for cleaning up these spurious failures in the testsuite.
I want the testsuite failures to be meaningful and accurate.