https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94250
Bug ID: 94250 Summary: valgrind error for ./g++.dg/ipa/remref-1.C Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For testsuite file ./g++.dg/ipa/remref-1.C, compiled by recent trunk in a valgrind version and compiler flag -O2, does this: ==1825381== Invalid read of size 2 ==1825381== at 0x853A7C: symtab_node::clone_reference(ipa_ref*, gimple*) (symtab.c:712) ==1825381== by 0xA4F665: ipa_edge_args_sum_t::duplicate(cgraph_edge*, cgraph_edge*, ipa_edge_args*, ipa_edge_args*) (ipa-prop.c:4226) ==1825381== by 0xA58061: call_summary<ipa_edge_args*>::symtab_duplication(cgraph_edge*, cgraph_edge*, void*) (symbol-summary.h:737) ==1825381== by 0x85CBD3: call_edge_duplication_hooks (cgraph.c:450)