This is either a test-suite error or a compiler bug:
Invalid read of size 1
at 0x4C276E8: memcpy (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x400CB0: MAIN__ (alloc_comp_scalar_1.f90:13)
by 0x400E4D: main (alloc_comp_scalar_1.f90:17)
Address 0x58d73d7 is 3 bytes after a block of size 4 alloc'd
at 0x4C261C3: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x4009E5: MAIN__ (alloc_comp_scalar_1.f90:7)
by 0x400E4D: main (alloc_comp_scalar_1.f90:17)
--
Summary: alloc_comp_scalar_1.f90: Valgrind Invalid read of size
4
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
BugsThisDependsOn: 42647
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018