summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/init_flag_1.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/init_flag_1.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/init_flag_1.f9034
1 files changed, 17 insertions, 17 deletions
diff --git a/gcc/testsuite/gfortran.dg/init_flag_1.f90 b/gcc/testsuite/gfortran.dg/init_flag_1.f90
index 764d3225256..44714086f86 100644
--- a/gcc/testsuite/gfortran.dg/init_flag_1.f90
+++ b/gcc/testsuite/gfortran.dg/init_flag_1.f90
@@ -15,43 +15,43 @@ subroutine real_test
real r1
real r2(10)
dimension r3(10,10)
- if (r1 /= 0.0) call abort
- if (r2(2) /= 0.0) call abort
- if (r3(5,5) /= 0.0) call abort
- if (r4 /= 0.0) call abort
+ if (r1 /= 0.0) STOP 1
+ if (r2(2) /= 0.0) STOP 2
+ if (r3(5,5) /= 0.0) STOP 3
+ if (r4 /= 0.0) STOP 4
end subroutine real_test
subroutine logical_test
logical l1
logical l2(2)
- if (l1 .neqv. .false.) call abort
- if (l2(2) .neqv. .false.) call abort
+ if (l1 .neqv. .false.) STOP 5
+ if (l2(2) .neqv. .false.) STOP 6
end subroutine logical_test
subroutine int_test
integer i1
integer i2(10)
dimension i3(10,10)
- if (i1 /= 0) call abort
- if (i2(2) /= 0) call abort
- if (i3(5,5) /= 0) call abort
- if (i4 /= 0) call abort
+ if (i1 /= 0) STOP 7
+ if (i2(2) /= 0) STOP 8
+ if (i3(5,5) /= 0) STOP 9
+ if (i4 /= 0) STOP 10
end subroutine int_test
subroutine complex_test
complex c1
complex c2(20,20)
- if (c1 /= (0.0,0.0)) call abort
- if (c2(1,1) /= (0.0,0.0)) call abort
+ if (c1 /= (0.0,0.0)) STOP 11
+ if (c2(1,1) /= (0.0,0.0)) STOP 12
end subroutine complex_test
subroutine char_test
character*1 c1
character*8 c2, c3(5)
character c4(10)
- if (c1 /= '\0') call abort
- if (c2 /= '\0\0\0\0\0\0\0\0') call abort
- if (c3(1) /= '\0\0\0\0\0\0\0\0') call abort
- if (c3(5) /= '\0\0\0\0\0\0\0\0') call abort
- if (c4(5) /= '\0') call abort
+ if (c1 /= '\0') STOP 13
+ if (c2 /= '\0\0\0\0\0\0\0\0') STOP 14
+ if (c3(1) /= '\0\0\0\0\0\0\0\0') STOP 15
+ if (c3(5) /= '\0\0\0\0\0\0\0\0') STOP 16
+ if (c4(5) /= '\0') STOP 17
end subroutine char_test