[Bug fortran/43018] alloc_comp_scalar_1.f90: Valgrind Invalid read of size 4

2010-09-01 Thread janus at gcc dot gnu dot org


--- Comment #1 from janus at gcc dot gnu dot org  2010-09-01 14:26 ---
(In reply to comment #0)
 Invalid read of size 1

I don't see this at r163721 (probably has been fixed by r159445).

Closing.


-- 

janus at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018



[Bug fortran/43018] alloc_comp_scalar_1.f90: Valgrind Invalid read of size 4

2010-09-01 Thread burnus 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