[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 18 17:14:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
What I currently do not understand is why

    allocate(c,source=a(:))

fails and

    c = a(:)

works.

And yes, the scalarizer is pretty incomprehensible.



More information about the Gcc-bugs mailing list