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/inline_matmul_2.f90 | |
parent | 25e15aaed275cdfef34b3ee6eb3cb4b43a48d44f (diff) | |
parent | e65055a558093bd4fc0b1b0024b7814cc187b8e8 (diff) | |
download | gcc-88a3ea34080ad3087a8191fbf479543153175d59.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/inline_matmul_2.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/inline_matmul_2.f90 | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/testsuite/gfortran.dg/inline_matmul_2.f90 b/gcc/testsuite/gfortran.dg/inline_matmul_2.f90 index 007e4a38150..17a978c9fb8 100644 --- a/gcc/testsuite/gfortran.dg/inline_matmul_2.f90 +++ b/gcc/testsuite/gfortran.dg/inline_matmul_2.f90 @@ -15,23 +15,23 @@ program main data b /17., -23., 29., -31., 37., -39., 41., -47./ data cres /195., -304., 384., 275., -428., 548., 347., -540., 692., 411., -640., 816./ c = matmul(a,b) - if (sum(c-cres)>1e-4) call abort + if (sum(c-cres)>1e-4) STOP 1 calloc = matmul(a,b) - if (sum(calloc-cres)>1e-4) call abort - if (any([size(calloc,1), size(calloc,2)] /= [3,4])) call abort + if (sum(calloc-cres)>1e-4) STOP 2 + if (any([size(calloc,1), size(calloc,2)] /= [3,4])) STOP 3 deallocate(calloc) allocate(calloc(4,4)) calloc = matmul(a,b) - if (sum(calloc-cres)>1e-4) call abort - if (any([size(calloc,1), size(calloc,2)] /= [3,4])) call abort + if (sum(calloc-cres)>1e-4) STOP 4 + if (any([size(calloc,1), size(calloc,2)] /= [3,4])) STOP 5 deallocate(calloc) allocate(calloc(3,3)) calloc = matmul(a,b) - if (sum(calloc-cres)>1e-4) call abort - if (any([size(calloc,1), size(calloc,2)] /= [3,4])) call abort + if (sum(calloc-cres)>1e-4) STOP 6 + if (any([size(calloc,1), size(calloc,2)] /= [3,4])) STOP 7 deallocate(calloc) block @@ -40,23 +40,23 @@ program main bb = b cc = matmul(aa,bb) - if (sum(cc-cres)>1e-4) call abort + if (sum(cc-cres)>1e-4) STOP 8 calloc = matmul(aa,bb) - if (sum(calloc-cres)>1e-4) call abort - if (any([size(calloc,1), size(calloc,2)] /= [3,4])) call abort + if (sum(calloc-cres)>1e-4) STOP 9 + if (any([size(calloc,1), size(calloc,2)] /= [3,4])) STOP 10 calloc = 42. deallocate(calloc) allocate(calloc(4,4)) calloc = matmul(aa,bb) - if (sum(calloc-cres)>1e-4) call abort - if (any([size(calloc,1), size(calloc,2)] /= [3,4])) call abort + if (sum(calloc-cres)>1e-4) STOP 11 + if (any([size(calloc,1), size(calloc,2)] /= [3,4])) STOP 12 deallocate(calloc) allocate(calloc(3,3)) calloc = matmul(aa,bb) - if (sum(calloc-cres)>1e-4) call abort - if (any([size(calloc,1), size(calloc,2)] /= [3,4])) call abort + if (sum(calloc-cres)>1e-4) STOP 13 + if (any([size(calloc,1), size(calloc,2)] /= [3,4])) STOP 14 deallocate(calloc) end block |