This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57957] Double free with allocatable components
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Jul 2013 08:02:41 +0000
- Subject: [Bug fortran/57957] Double free with allocatable components
- Auto-submitted: auto-generated
- References: <bug-57957-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57957
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-07-23
CC| |burnus at gcc dot gnu.org
Summary|Double free or corruption |Double free with
|(fasttop) |allocatable components
Ever confirmed|0 |1
Known to fail| |4.5.3, 4.8.1, 4.9.0
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Confirmed.
For GCC 4.9, one needs to wrap the code in the main program in BLOCK/END BLOCK
as otherwise the end-of-scope deallocation does not trigger, which causes the
failure.
PR57959 prevents testing whether the problem is related to the array
constructor or not.