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: [patch, committed] Pass -fno-ident to tests that make sure "pow" is not called


On Fri, Nov 2, 2012 at 3:24 PM, Michael Meissner
<meissner@linux.vnet.ibm.com> wrote:
> 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.
>
> [gcc/testsuite]
> 2012-11-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
>
>         * 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.

Thanks, David


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