From: Kaz Kojima Date: Tue, 28 Jul 2009 22:48:09 +0000 (+0000) Subject: maxlocval_2.f90: Add -mieee for alpha*-*-* and sh*-*-* targets. X-Git-Tag: releases/gcc-4.5.0~4300 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3be9b37d7ea2114c83225c1130364b2ee212b15;p=thirdparty%2Fgcc.git maxlocval_2.f90: Add -mieee for alpha*-*-* and sh*-*-* targets. * 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. From-SVN: r150189 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ac5dc98973ff..e2b4211fb8c0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2009-07-28 Kaz Kojima + + * 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. + 2009-07-28 Jakub Jelinek PR fortran/40878 diff --git a/gcc/testsuite/gfortran.dg/maxlocval_2.f90 b/gcc/testsuite/gfortran.dg/maxlocval_2.f90 index 82f917a9bc16..afbfee030fe3 100644 --- a/gcc/testsuite/gfortran.dg/maxlocval_2.f90 +++ b/gcc/testsuite/gfortran.dg/maxlocval_2.f90 @@ -1,4 +1,6 @@ ! { dg-do run } +! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } } +! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } } real :: a(3), nan, minf, pinf real, allocatable :: c(:) logical :: l diff --git a/gcc/testsuite/gfortran.dg/maxlocval_4.f90 b/gcc/testsuite/gfortran.dg/maxlocval_4.f90 index 408b08d6fadc..8edf5357c317 100644 --- a/gcc/testsuite/gfortran.dg/maxlocval_4.f90 +++ b/gcc/testsuite/gfortran.dg/maxlocval_4.f90 @@ -1,4 +1,6 @@ ! { dg-do run } +! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } } +! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } } real :: a(3,3), b(3), nan, minf, pinf, h logical :: l, l2 logical :: l3(3,3), l4(3,3), l5(3,3) diff --git a/gcc/testsuite/gfortran.dg/minlocval_1.f90 b/gcc/testsuite/gfortran.dg/minlocval_1.f90 index f821e54bd68b..b66499afca90 100644 --- a/gcc/testsuite/gfortran.dg/minlocval_1.f90 +++ b/gcc/testsuite/gfortran.dg/minlocval_1.f90 @@ -1,4 +1,6 @@ ! { dg-do run } +! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } } +! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } } real :: a(3), nan, minf, pinf real, allocatable :: c(:) logical :: l diff --git a/gcc/testsuite/gfortran.dg/minlocval_4.f90 b/gcc/testsuite/gfortran.dg/minlocval_4.f90 index 1e72ba8e2a93..5332e823a7e0 100644 --- a/gcc/testsuite/gfortran.dg/minlocval_4.f90 +++ b/gcc/testsuite/gfortran.dg/minlocval_4.f90 @@ -1,4 +1,6 @@ ! { dg-do run } +! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } } +! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } } real :: a(3,3), b(3), nan, minf, pinf, h logical :: l, l2 logical :: l3(3,3), l4(3,3), l5(3,3)