https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79523
Bug ID: 79523 Summary: valgrind error for gcc/testsuite/gfortran.dg/dtio_13.f90 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- I just tried to compile the above test case with a valgrind version of recent trunk gfortran. $ /home/dcb/gcc/results.245439/bin/gfortran -c gfortran.dg/dtio_13.f90 Ok the fortran produces error messages, but also ==32156== Invalid read of size 1 ==32156== at 0x65E1FF: gfc_find_typebound_dtio_proc(gfc_symbol*, bool, bool) (interface.c:4832) ==32156== by 0x65E29C: gfc_find_specific_dtio_proc(gfc_symbol*, bool, bool) ( interface.c:4878) ==32156== by 0x6B8B0B: resolve_transfer (resolve.c:8962) ==32156== by 0x6B8B0B: gfc_resolve_code(gfc_code*, gfc_namespace*) (resolve.c :11130)