aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/isnan_1.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/isnan_1.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/isnan_1.f902
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/isnan_1.f90 b/gcc/testsuite/gfortran.dg/isnan_1.f90
index fc0a3d0d873..db8f5695cdf 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