[Bug fortran/43018] alloc_comp_scalar_1.f90: Valgrind Invalid read of size 4
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 1 14:36:00 GMT 2010
------- Comment #2 from burnus at gcc dot gnu dot org 2010-09-01 14:36 -------
Using 4.6.0 20100901 (experimental) [trunk revision 163720], I still see:
gfortran -g alloc_comp_scalar_1.f90 && valgrind ./a.out
==14804== Invalid read of size 8
==14804== at 0x400B82: MAIN__ (alloc_comp_scalar_1.f90:14)
==14804== by 0x400D22: main (alloc_comp_scalar_1.f90:17)
==14804== Address 0x58e63d0 is 0 bytes inside a block of size 4 alloc'd
==14804== at 0x4C26C36: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==14804== by 0x4008F9: MAIN__ (alloc_comp_scalar_1.f90:12)
==14804== by 0x400D22: main (alloc_comp_scalar_1.f90:17)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018
More information about the Gcc-bugs
mailing list