diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.f90 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.f90 b/gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.f90 index ac37fd6e389..1ef5f2ab262 100644 --- a/gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.f90 +++ b/gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.f90 @@ -37,11 +37,11 @@ program foo 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 @@ contains 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 @@ contains 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 |