nncarlson / gfortran.dg

The GFortran testsuite rigged for testing other Fortran compilers
7 stars 2 forks source link

Different vector lengths in matmul_3.f90 #2

Closed nncarlson closed 6 years ago

nncarlson commented 6 years ago

The comparison on line 25 involves vectors of different lengths:

11:   integer                    ::  i, n = 2
      [...]
25:   if (any (iX1(1:n,1) .ne. (/8, 8, 99/))) stop 1
$ nagfor -kind=byte matmul_3.f90 
NAG Fortran Compiler Release 6.1(Tozai) Build 6144
Error: matmul_3.f90, line 25: Different vector lengths (2 and 3)
janusw commented 6 years ago

Fixed: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=257364