summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/trim_optimize_2.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/trim_optimize_2.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/trim_optimize_2.f908
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gfortran.dg/trim_optimize_2.f90 b/gcc/testsuite/gfortran.dg/trim_optimize_2.f90
index 6fe9bd451c0..c90d69f462c 100644
--- a/gcc/testsuite/gfortran.dg/trim_optimize_2.f90
+++ b/gcc/testsuite/gfortran.dg/trim_optimize_2.f90
@@ -10,8 +10,8 @@ contains
b = 'abcd'
a = trim(b)
c = trim(trim(a))
- if (a /= 'abc') call abort
- if (c /= 'abc') call abort
+ if (a /= 'abc') STOP 1
+ if (c /= 'abc') STOP 2
end subroutine bar
end module faz
@@ -27,8 +27,8 @@ contains
b = 'abcd'
a = trim(b)
c = trim(trim(a))
- if (a /= 'abc') call abort
- if (c /= 'abc') call abort
+ if (a /= 'abc') STOP 3
+ if (c /= 'abc') STOP 4
end subroutine foo
end program main