aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2009-07-28 22:48:09 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2009-07-28 22:48:09 +0000
commitc3be9b37d7ea2114c83225c1130364b2ee212b15 (patch)
treedb8600f955a51e13b47e8b5c7d101b2faf54ef8d /gcc/testsuite
parente2121f173e58a60776be657747d7558b07dce2fb (diff)
downloadgcc-c3be9b37d7ea2114c83225c1130364b2ee212b15.zip
gcc-c3be9b37d7ea2114c83225c1130364b2ee212b15.tar.gz
gcc-c3be9b37d7ea2114c83225c1130364b2ee212b15.tar.bz2
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
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/gfortran.dg/maxlocval_2.f902
-rw-r--r--gcc/testsuite/gfortran.dg/maxlocval_4.f902
-rw-r--r--gcc/testsuite/gfortran.dg/minlocval_1.f902
-rw-r--r--gcc/testsuite/gfortran.dg/minlocval_4.f902
5 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ac5dc98..e2b4211 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2009-07-28 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.
+
2009-07-28 Jakub Jelinek <jakub@redhat.com>
PR fortran/40878
diff --git a/gcc/testsuite/gfortran.dg/maxlocval_2.f90 b/gcc/testsuite/gfortran.dg/maxlocval_2.f90
index 82f917a..afbfee0 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 408b08d..8edf535 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 f821e54..b66499a 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 1e72ba8..5332e82 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)