------- Comment #3 from burnus at gcc dot gnu dot org 2008-05-27 16:34 -------
gfortran should do better. NAG f95 detects at compile time:
dzeta=matmul(U,B)
Error: Array shapes differ in dimension 1 (extent 6 and 7)
Here, dzeta is (6,12) and matmul(U,B) is (7,12).
gfortran does not even detect it at run time (-fbounds-check).
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |27766
nThis| |
Keywords| |diagnostic
Summary|Matrix assignment error not |MATMUL: Bounds check missing
|detected |(run time & compile time)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36341