This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] Require -march=i[45]86 on several tests
- From: Diego Novillo <dnovillo at google dot com>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 Jun 2010 09:49:46 -0400
- Subject: Re: [testsuite] Require -march=i[45]86 on several tests
- References: <ydd39wyendi.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On Mon, Jun 7, 2010 at 13:58, Rainer Orth <ro@cebitec.uni-bielefeld.de> wrote:
> When I switched the Solaris 2/x86 port from i386 to pentium4 for GCC
> 4.5, I noticed that several tests suddenly started passing. ÂFurther
> investigation revealed that they seem to need -march=i486 or i586 at
> least. ÂThe following patch makes sure the necessary option is passed
> for i?86-*-* targets, but only with ilp32 to make sure not to interfere
> with bi-arch targets like Solaris 10+/x86.
>
> Tested with manual runtest invocations: they fail with --target_board
> 'unix{-march=i386}' and pass without.
>
> Ok for mainline, 4.4 and 4.5 branches?
>
> Â Â Â ÂRainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2010-06-06 ÂRainer Orth Â<ro@CeBiTec.Uni-Bielefeld.DE>
>
> Â Â Â Â* gcc.dg/tree-ssa/ltrans-1.c: Add -march=i486 for i?86-*-* && ilp32.
> Â Â Â Â* gcc.dg/tree-ssa/ltrans-3.c: Likewise.
> Â Â Â Â* gcc.dg/tree-ssa/ltrans-4.c: Likewise.
> Â Â Â Â* gcc.dg/tree-ssa/ltrans-5.c: Likewise.
> Â Â Â Â* gcc.dg/tree-ssa/ltrans-6.c: Likewise.
> Â Â Â Â* gcc.dg/tree-ssa/ltrans-8.c: Likewise.
> Â Â Â Â* gcc.dg/tree-ssa/vrp47.c: Add -march=i586 for i?86-*-* && ilp32.
> Â Â Â Â* gfortran.dg/ltrans-7.f90: Add -march=i486 for i?86-*-* && ilp32.
OK.
Diego.