diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2007-08-29 09:45:18 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2007-08-29 09:45:18 +0000 |
commit | b875badb9d33da2a3bc0df6eec3f3bf29f3fc634 (patch) | |
tree | 13b77ef9a7c1a76c79ddd6593c8e2586f2e937bb /gcc | |
parent | 48ccf0127ff6a5266a514f04c9c7827adcc56f19 (diff) | |
download | gcc-b875badb9d33da2a3bc0df6eec3f3bf29f3fc634.zip gcc-b875badb9d33da2a3bc0df6eec3f3bf29f3fc634.tar.gz gcc-b875badb9d33da2a3bc0df6eec3f3bf29f3fc634.tar.bz2 |
isnan_1.f90: Add -mieee for sh.
* gfortran.dg/isnan_1.f90: Add -mieee for sh.
* gfortran.dg/nan_1.f90: Likewise.
From-SVN: r127892
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/isnan_1.f90 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/nan_1.f90 | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 23ef1e9..278774b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-08-29 Kaz Kojima <kkojima@gcc.gnu.org> + + * gfortran.dg/isnan_1.f90: Add -mieee for sh. + * gfortran.dg/nan_1.f90: Likewise. + 2007-08-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/33055 diff --git a/gcc/testsuite/gfortran.dg/isnan_1.f90 b/gcc/testsuite/gfortran.dg/isnan_1.f90 index fc0a3d0..db8f569 100644 --- a/gcc/testsuite/gfortran.dg/isnan_1.f90 +++ b/gcc/testsuite/gfortran.dg/isnan_1.f90 @@ -1,6 +1,8 @@ ! Test for the ISNAN intrinsic ! ! { dg-do run } +! { dg-options "-pedantic-errors -mieee" { target sh*-*-* } } +! implicit none real :: x x = -1.0 diff --git a/gcc/testsuite/gfortran.dg/nan_1.f90 b/gcc/testsuite/gfortran.dg/nan_1.f90 index 59d4531..0c9eb04 100644 --- a/gcc/testsuite/gfortran.dg/nan_1.f90 +++ b/gcc/testsuite/gfortran.dg/nan_1.f90 @@ -2,6 +2,7 @@ ! as arguments ! ! { dg-do run } +! { dg-options "-pedantic-errors -mieee" { target sh*-*-* } } ! module aux2 interface isnan |