Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/gfortran.dg/coarray_allocate_9.f08 @ 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/coarray_allocate_9.f08 Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/testsuite/gfortran.dg/coarray_allocate_9.f08 Thu Oct 25 07:37:49 2018 +0900 @@ -20,13 +20,13 @@ allocate(outbox%v(1), source=particles(this_image())) - if (any( outbox[1]%v(1)%x(1:2) /= [ 1.0, 1.0] )) call abort() - if (any( outbox[1]%v(1)%x(:) /= [ 1.0, 1.0] )) call abort() - if (any( outbox[1]%v(1)%x /= [ 1.0, 1.0] )) call abort() + if (any( outbox[1]%v(1)%x(1:2) /= [ 1.0, 1.0] )) STOP 1 + if (any( outbox[1]%v(1)%x(:) /= [ 1.0, 1.0] )) STOP 2 + if (any( outbox[1]%v(1)%x /= [ 1.0, 1.0] )) STOP 3 allocate(object(1)[*], source=particles(this_image())) - if (any( object(1)[1]%x(1:2) /= [ 1.0, 1.0] )) call abort() - if (any( object(1)[1]%x(:) /= [ 1.0, 1.0] )) call abort() - if (any( object(1)[1]%x /= [ 1.0, 1.0] )) call abort() + if (any( object(1)[1]%x(1:2) /= [ 1.0, 1.0] )) STOP 4 + if (any( object(1)[1]%x(:) /= [ 1.0, 1.0] )) STOP 5 + if (any( object(1)[1]%x /= [ 1.0, 1.0] )) STOP 6 end program