https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88068
Bug ID: 88068 Summary: asan: heap-use-after-free in simplify_ref_chain Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For fortran test case ./gfortran.dg/inquiry_type_ref_1.f08 I get ================================================================= ==18514==ERROR: AddressSanitizer: heap-use-after-free on address 0x6170000061d8 at pc 0x00000137e251 bp 0x7ffc3b3f7500 sp 0x7ffc3b3f74f8 READ of size 8 at 0x6170000061d8 thread T0 #0 0x137e250 in simplify_ref_chain ../../trunk/gcc/fortran/expr.c:1943