This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36341] MATMUL: Bounds check missing (run time & compile time)
- From: "terry at chem dot gu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2008 02:00:12 -0000
- Subject: [Bug fortran/36341] MATMUL: Bounds check missing (run time & compile time)
- References: <bug-36341-14178@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from terry at chem dot gu dot se 2008-05-28 02:00 -------
Somewhat reduced testcase that exhibits the same behaviour:
program distgeom
implicit none
real(kind=8),dimension(7,12)::B
real(kind=8),dimension(7,7)::U
real(kind=8),dimension(6,12)::dzeta
call random_number(U)
call random_number(B)
write(*,*)'A',U(1,1)
dzeta=matmul(U,B)
write(*,*)'B',U(1,1)
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36341