https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92251
Bug ID: 92251 Summary: [10 regression] SEGV in ipa_get_cs_argument_count Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Target: i?86-*-*, sparc-*-*, ia64-*-*, powerpc64le-*-*, s390x-*-*, x86_64-*-* Between 20191026 (r277475) and 20191027 (r277487), a Go test regressed (I'm seeing it on both 32 and 64-bit Solaris/SPARC and x86, with several more reports on Linux/x86_64 and several others): +FAIL: go.test/test/fixedbugs/bug407.dir/one.go -O (internal compiler error) +FAIL: go.test/test/fixedbugs/bug407.dir/one.go -O (test for excess errors) Excess errors: during IPA pass: inline go1: internal compiler error: Segmentation Fault 0x90d91fc crash_signal /vol/gcc/src/hg/trunk/local/gcc/toplev.c:326 0x8ebf100 ipa_get_cs_argument_count /vol/gcc/src/hg/trunk/local/gcc/ipa-prop.h:598 0x8ebf100 ipa_merge_fn_summary_after_inlining(cgraph_edge*) /vol/gcc/src/hg/trunk/local/gcc/ipa-fnsummary.c:3318 0x99d3ce1 inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*, int*, bool, bool*) /vol/gcc/src/hg/trunk/local/gcc/ipa-inline-transform.c:484 0x99c8da3 inline_to_all_callers_1 /vol/gcc/src/hg/trunk/local/gcc/ipa-inline.c:2338 0x99c8da3 inline_to_all_callers /vol/gcc/src/hg/trunk/local/gcc/ipa-inline.c:2363 0x99cb4e1 cgraph_node::call_for_symbol_and_aliases(bool (*)(cgraph_node*, void*), void*, bool) /vol/gcc/src/hg/trunk/local/gcc/cgraph.h:3319 0x99cb4e1 ipa_inline /vol/gcc/src/hg/trunk/local/gcc/ipa-inline.c:2684 0x99cb4e1 execute /vol/gcc/src/hg/trunk/local/gcc/ipa-inline.c:3023 +FAIL: go.test/test/fixedbugs/bug407.dir/two.go -O (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/go.test/test/fixedbugs/bug407.dir/two.go:10:13: error: import file './one' not found /vol/gcc/src/hg/trunk/local/gcc/testsuite/go.test/test/fixedbugs/bug407.dir/two.go:13:11: error: expected package This is almost certainly due to one of the IPA patches in that range.