This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block
- From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Jun 2015 17:14:15 +0000
- Subject: [Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block
- Auto-submitted: auto-generated
- References: <bug-66578-4 at http dot gcc dot gnu dot org/bugzilla/>
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.