[Bug fortran/29572] Bounds check should check size of array: d(1:1,1:1) = a(1:4,1:4)

2008-07-25 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2008-07-25 08:15 --- This works now, with the fixes for matmul bounds checks (PR 36341): $ cat mat.f90 program mat implicit none complex, allocatable :: a(:,:),b(:,:) complex :: d(1,1) allocate(a(4,1),b(4,1)) a =

[Bug fortran/29572] Bounds check should check size of array: d(1:1,1:1) = a(1:4,1:4)

2006-11-08 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2006-11-08 19:35 --- Actually, if I remove the transpose, the run-time error message is: a.out: /home/tob/projects/gcc/libgfortran/generated/matmul_c4.c:172: matmul_c4: Assertion `count == b->dim[0].ubound + 1 - b->dim[0].lbound' failed.