diff gcc/testsuite/gfortran.dg/dec_init_2.f90 @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line diff
--- a/gcc/testsuite/gfortran.dg/dec_init_2.f90	Fri Oct 27 22:46:09 2017 +0900
+++ b/gcc/testsuite/gfortran.dg/dec_init_2.f90	Thu Oct 25 07:37:49 2018 +0900
@@ -16,10 +16,10 @@
   character, intent(inout) :: c2
   logical, intent(inout) :: l2
   print *, i1, i2, l1, l2, ichar(c1), ichar(c2), r1, r2
-  if ( i1 .ne. 42 .or. i2 .ne. 42 ) call abort()
-  if ( (.not. l1) .or. (.not. l2) ) call abort()
-  if ( c1 .ne. achar(32) .or. c2 .ne. achar(32) ) call abort()
-  if ( (.not. isnan(r1)) .or. (.not. isnan(r2)) ) call abort()
+  if ( i1 .ne. 42 .or. i2 .ne. 42 ) STOP 1
+  if ( (.not. l1) .or. (.not. l2) ) STOP 2
+  if ( c1 .ne. achar(32) .or. c2 .ne. achar(32) ) STOP 3
+  if ( (.not. isnan(r1)) .or. (.not. isnan(r2)) ) STOP 4
 end subroutine
 
 ! Nb. the current implementation decides the -finit-* flags are meaningless