https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96291
Romain Geissler <romain.geissler at amadeus dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |romain.geissler at amadeus dot com --- Comment #3 from Romain Geissler <romain.geissler at amadeus dot com> --- Hi, FYI, I just tried to build Protobuf 3.12.3 with the trunk from a few days ago, using "-flto" and I experience similar ICE: [2020-07-24T12:16:07.637Z] CXXLD protobuf-lite-test [2020-07-24T12:16:10.993Z] during IPA pass: cp [2020-07-24T12:16:10.993Z] lto1: internal compiler error: Segmentation fault [2020-07-24T12:16:15.263Z] 0x9e42da crash_signal [2020-07-24T12:16:15.263Z] /workdir/src/gcc-11.0.0/gcc/toplev.c:328 [2020-07-24T12:16:15.263Z] 0xfe6b04 has_undead_caller_from_outside_scc_p [2020-07-24T12:16:15.263Z] /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5670 [2020-07-24T12:16:15.263Z] 0xf042c0 cgraph_node::call_for_symbol_thunks_and_aliases(bool (*)(cgraph_node*, void*), void*, bool, bool) [2020-07-24T12:16:15.263Z] /workdir/src/gcc-11.0.0/gcc/cgraph.c:2450 [2020-07-24T12:16:15.263Z] 0x13130bc identify_dead_nodes [2020-07-24T12:16:15.263Z] /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5687 [2020-07-24T12:16:15.263Z] 0x13130bc ipcp_decision_stage [2020-07-24T12:16:15.263Z] /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5730 [2020-07-24T12:16:15.263Z] 0x13130bc ipcp_driver [2020-07-24T12:16:15.263Z] /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5908 [2020-07-24T12:16:15.263Z] 0x13130bc execute [2020-07-24T12:16:15.263Z] /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5999 [2020-07-24T12:16:15.263Z] Please submit a full bug report, [2020-07-24T12:16:15.263Z] with preprocessed source if appropriate. [2020-07-24T12:16:15.263Z] Please include the complete backtrace with any bug report. [2020-07-24T12:16:15.263Z] See <https://gcc.gnu.org/bugs/> for instructions. [2020-07-24T12:16:15.263Z] CXXLD protobuf-lite-arena-test [2020-07-24T12:16:15.263Z] lto-wrapper: fatal error: g++ returned 1 exit status [2020-07-24T12:16:15.263Z] compilation terminated. If you have a patch, I can try to test it as well on this Protobuf case. Cheers, Romain