[Bug fortran/37802] [4.4 Regression] array descriptors for matmul messed up?
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Oct 11 09:32:00 GMT 2008
------- Comment #1 from burnus at gcc dot gnu dot org 2008-10-11 09:31 -------
I don't think this is a regression. In any case
matmul(a,transpose(b))
produces a 4x4 array (16 elements), however, d is a 1x1 array.
As one writes 8*15 = 120 bytes somewhere into the memory, it is not surprising
that the program crashes at some point.
With -fbounds-check I get the following error with gfortran 4.3 and 4.4:
Fortran runtime error: Incorrect extent in return array in MATMUL intrinsic for
dimension 1: is 1, should be 4
Thus marked as INVALID.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37802
More information about the Gcc-bugs
mailing list