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.