This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/48746] [4.6/4.7 Regression] Matmul with allocate on assignment


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]