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: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Jun 2015 09:06:53 +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 #11 from Mikael Morin <mikael at gcc dot gnu.org> ---
In gfc_conv_expr_descriptor, the bounds used to initialize the descriptor are
different from the ones passed to gfc_get_array_type_bounds. That is the heart
of the problem, I think.
What I don't understand is how this could remain unnoticed for so long.