https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97857
Bug ID: 97857 Summary: profiledbootstrap broken freeing speculative call summary Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- Configuring with ../configure --with-build-config=bootstrap-lto --enable-checking=release --disable-plugin leads to ICE building stage feedback libstdc++. This is already with optimized cc1plus so it may a miscompile of cc1plus. 0x8fcd5a crash_signal ../../gcc/toplev.c:330 0x7ffff789c83f ??? /build/glibc-vjB4T1/glibc-2.28/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x11fcf44 vec<speculative_call_target, va_heap, vl_ptr>::release() ../../gcc/vec.h:1813 0x11fcf2e auto_vec<speculative_call_target, 0ul>::~auto_vec() ../../gcc/vec.h:1542 0x11fcf2e speculative_call_summary::~speculative_call_summary() ../../gcc/ipa-profile.c:178 0x11fcf2e object_allocator<speculative_call_summary>::remove(speculative_call_summary*) ../../gcc/alloc-pool.h:522 0x11fcf2e call_summary_base<speculative_call_summary>::release(speculative_call_summary*) ../../gcc/symbol-summary.h:625 0xd03fbe call_summary<speculative_call_summary*>::~call_summary() ../../gcc/symbol-summary.h:771 0x11e106f ipa_profile_call_summaries::~ipa_profile_call_summaries() ../../gcc/ipa-profile.c:192 0x11e106f ipa_profile_call_summaries::~ipa_profile_call_summaries() ../../gcc/ipa-profile.c:192 0x11e0cff ipa_profile ../../gcc/ipa-profile.c:1031 0x11e0cff execute ../../gcc/ipa-profile.c:1070