This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41478] function "pack" causes double free violation
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Sep 2009 21:15:55 -0000
- Subject: [Bug fortran/41478] function "pack" causes double free violation
- References: <bug-41478-15192@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kargl at gcc dot gnu dot org 2009-09-26 21:15 -------
Works for me on FreeBSD.
REMOVE:kargl[201] cd tmp
REMOVE:kargl[202] setenv MALLOC_OPTIONS AJ
REMOVE:kargl[203] gfc4x -o z asd.f90
REMOVE:kargl[204] ./z
array1:
0
0
array2:
1
2
pack array2(2) into array1:
array1:
2
0
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|function "pack" causes |function "pack" causes
|double free violation |double free violation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41478