diff gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.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/alloc_comp_initializer_1.f90	Fri Oct 27 22:46:09 2017 +0900
+++ b/gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.f90	Thu Oct 25 07:37:49 2018 +0900
@@ -37,11 +37,11 @@
 
   call p_bld (a, pre)
 
-  if (associated (wee%ap) .or. wee%i /= 101) call abort ()
+  if (associated (wee%ap) .or. wee%i /= 101) STOP 1
   wee%ap => a
-  if (.not.associated (wee%ap) .or. allocated (wee%av)) call abort ()
+  if (.not.associated (wee%ap) .or. allocated (wee%av)) STOP 2
   wee = basep_type ((/m_type ((/201, 202, 203/))/), null (), 99)
-  if (.not.allocated (wee%av) .or. associated (wee%ap) .or. (wee%i .ne. 99)) call abort () 
+  if (.not.allocated (wee%av) .or. associated (wee%ap) .or. (wee%i .ne. 99)) STOP 3 
 
 contains
 
@@ -53,9 +53,9 @@
     if (.not.allocated(p%basepv)) then 
       allocate(p%basepv(1),stat=ierr)
     endif
-    if (allocated (p%basepv) .neqv. .true.) call abort ()
-    if (allocated (p%basepv(1)%av) .neqv. .false.) call abort
-    if (p%basepv(1)%i .ne. 101) call abort ()
+    if (allocated (p%basepv) .neqv. .true.) STOP 4
+    if (allocated (p%basepv(1)%av) .neqv. .false.) STOP 1
+    if (p%basepv(1)%i .ne. 101) STOP 5
 
   end subroutine test_ab8
 
@@ -63,8 +63,8 @@
       use p_type_mod
       type (m_type) :: a
       type(p_type) :: p
-      if (any (a%p .ne. (/101,102/))) call abort ()
-      if (allocated (p%basepv) .or. (p%p2 .ne. 1)) call abort ()
+      if (any (a%p .ne. (/101,102/))) STOP 6
+      if (allocated (p%basepv) .or. (p%p2 .ne. 1)) STOP 7
     end subroutine p_bld
 
 end program foo