This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43018] alloc_comp_scalar_1.f90: Valgrind Invalid read of size 4
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2010 14:36:09 -0000
- Subject: [Bug fortran/43018] alloc_comp_scalar_1.f90: Valgrind Invalid read of size 4
- References: <bug-43018-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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