diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-02-23 22:36:54 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-02-23 22:36:54 +0000 |
commit | 88a3ea34080ad3087a8191fbf479543153175d59 (patch) | |
tree | 34eaec34d3588e09f9a77abba776266f124dc823 /gcc/testsuite/gfortran.dg/subref_array_pointer_1.f90 | |
parent | 25e15aaed275cdfef34b3ee6eb3cb4b43a48d44f (diff) | |
parent | e65055a558093bd4fc0b1b0024b7814cc187b8e8 (diff) | |
download | gccgo.tar.gz |
Merge from trunk revision 257954.gccgo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gccgo@257955 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gfortran.dg/subref_array_pointer_1.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/subref_array_pointer_1.f90 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gfortran.dg/subref_array_pointer_1.f90 b/gcc/testsuite/gfortran.dg/subref_array_pointer_1.f90 index 7bb0ff5e609..8db0942cb70 100644 --- a/gcc/testsuite/gfortran.dg/subref_array_pointer_1.f90 +++ b/gcc/testsuite/gfortran.dg/subref_array_pointer_1.f90 @@ -14,7 +14,7 @@ contains b=(/"bbbb","bbbb","bbbb"/) a=>b(:)(2:3) a="aa" - IF (ANY(b.NE.(/"baab","baab","baab"/))) CALL ABORT() + IF (ANY(b.NE.(/"baab","baab","baab"/))) STOP 1 END subroutine subroutine pr29606 @@ -30,7 +30,7 @@ contains ALLOCATE( array_holder%array(3) ) array_holder%array = (/ foo(1), foo(2), foo(3) /) array_ptr => array_holder%array%value - if (any (array_ptr .ne. (/1,2,3/))) call abort () + if (any (array_ptr .ne. (/1,2,3/))) STOP 2 END subroutine subroutine pr30625 @@ -42,7 +42,7 @@ contains type(a), target :: dt(2) integer, pointer :: ip(:) ip => dt%i - if (any (ip .ne. 42)) call abort () + if (any (ip .ne. 42)) STOP 3 end subroutine subroutine pr30871 @@ -54,6 +54,6 @@ contains CHARACTER(LEN=1), DIMENSION(:), POINTER :: ptr Z(:)%A="123" ptr=>Z(:)%A(2:2) - if (any (ptr .ne. "2")) call abort () + if (any (ptr .ne. "2")) STOP 4 END subroutine end |