This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch fortran RFA] Tweak some {max,min}locval_*.f90 for alpha, sh and spu
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Tue, 28 Jul 2009 15:23:30 -0700
- Subject: Re: [patch fortran RFA] Tweak some {max,min}locval_*.f90 for alpha, sh and spu
- References: <20090728.080116.54775047.kkojima@rr.iij4u.or.jp>
- Reply-to: janis187 at us dot ibm dot com
On Tue, 2009-07-28 at 08:01 +0900, Kaz Kojima wrote:
> Hi,
>
> Some new {max,min}locval_*.f90 tests fail on sh*-*-* for NaN/Inf
> which requires -mieee option on this target. The attached patch
> adds -mieee for alpha and sh. It also skips them on spu which
> has no nan support. Even with the patch, {max,min}locval_4.f90
> fails on sh*-*-*, but it's turned out another problem on that
> target - now libgfortran needs -mieee when building.
> The patch is tested on i686-pc-linux-gnu too.
> OK for trunk?
>
> Regards,
> kaz
> --
> 2009-07-27 Kaz Kojima <kkojima@gcc.gnu.org>
>
> * gfortran.dg/maxlocval_2.f90: Add -mieee for alpha*-*-* and
> sh*-*-* targets. Skip on spu-*-* targets.
> * gfortran.dg/maxlocval_4.f90: Likewise.
> * gfortran.dg/minlocval_1.f90: Likewise.
> * gfortran.dg/minlocval_4.f90: Likewise.
OK.
Janis