This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50378] MALLOC_CHECK_ glibc detects free() invalid pointer in compiler


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]