[Bug fortran/48746] [4.6/4.7 Regression] Matmul with allocate on assignment
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 27 15:11:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48746
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-04-27 15:07:21 UTC ---
(In reply to comment #3)
> (In reply to comment #1)
> > Problem here is that the return array "dtype" field is uninitialized when
> > lhs is (unallocated) allocatable. Due to this there are also similiar
> > problems in other intrinsics such as reshape(), etc...
>
> Interesting observation. This works:
... well, for a given value of "works". tmp keeps its size of 3*3.
More information about the Gcc-bugs
mailing list