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

2010-10-26 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018 --- Comment #7 from Tobias Burnus burnus at gcc dot gnu.org 2010-10-26 06:49:47 UTC --- Author: burnus Date: Tue Oct 26 06:49:43 2010 New Revision: 165936 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165936 Log: 2010-10-26 Tobias Burnus

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

2010-10-26 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

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

2010-10-24 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018 --- Comment #5 from Tobias Burnus burnus at gcc dot gnu.org 2010-10-24 10:04:19 UTC --- Actually, it does not have anything to do with PACK but rather with the assignment -- which implicitly also happens if one uses print *, pack(a2,[.true.])

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

2010-10-24 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018 --- Comment #6 from Tobias Burnus burnus at gcc dot gnu.org 2010-10-24 19:10:10 UTC --- The problem was that for copying the component, not the size of the element but the size of the pointer was used. Cf.

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

2010-10-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2010-10-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018 --- Comment #4 from janus at gcc dot gnu.org 2010-10-07 21:07:07 UTC --- It seems the invalid read is due to the call to PACK. It still appear when commenting out lines 15 16, but not any more when commenting out 14, 15 16.