This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] Compile gfortran.dg/fmt_g0_6.f08 with -ffloat-store
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Jerry DeLisle <jvdelisle at frontier dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Tue, 03 May 2011 10:50:18 +0200
- Subject: Re: [testsuite] Compile gfortran.dg/fmt_g0_6.f08 with -ffloat-store
- References: <ydd1v0hi3pj.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <4DBF5244.8060006@frontier.com>
Jerry,
>> The failure vanishes with -ffloat-store, so I propose the following
>> patch, tested on i386-pc-solaris2.11 with the appropriate runtest
>> invocation.
>>
>> Ok for mainline?
>
> This is OK. We are working on a solution, so maybe it would be better to
> XFAIL it so that when it does get fixed it will be flagged. It also fails
> on i686-pc-gnu.
is this a solution for this particular case or for the general need to
sometimes use -ffloat-store? In the former case, I'd agree, in the
latter it's probably better to consistently use -ffloat-store in the
testcases and review those uses once a solution is in place.
I also saw the same failure on 32-bit Linux/x86, so the XFAIL would have
to be for { i?86-*-* x86_64-*-* } && ilp32.
Let me know what you prefer.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University