[Bug fortran/50378] MALLOC_CHECK_ glibc detects free() invalid pointer in compiler
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 09:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50378
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-09-13 09:16:35 UTC ---
Works for me with 4.7 (also in valgrind); with 4.6.1 20110801 [gcc-4_6-branch
revision 177033] I get an ICE (abort) and valgrind shows:
==5778== Invalid read of size 4
==5778== at 0x5FC8C10: __gmpz_clear (in /usr/lib64/libgmp.so.10.0.1)
However, using 4.7.0 20110908 (experimental) [trunk revision 178693] I do not
get an ICE/valgrind warning - hence it might be fixed.
More information about the Gcc-bugs
mailing list