From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6BF94389244E; Fri, 24 Jul 2020 12:25:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6BF94389244E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1595593539; bh=tG+5HV/rcY234mQ1+MlUTcmKARsK68sfFEVKfOsSXT0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KBev1RUGD3FWhr1TKVQMLag+2k7OpKvOoNp/X4ca8Es9EiwlGkb7yOYJ6of3ZEm/B 1DXOyj84R5xx8PVyo7zZhRjFa8YM26FADp2VXCwbS0fQJmXDoQNsGJNf52W+Ap7cRM CYeIYLjQwWHZ134BEnbEg7zj2cdDL3O6674gohNk= From: "romain.geissler at amadeus dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/96291] [10/11 Regression] -flto fails as "internal compiler error: Segmentation fault" during IPA pass: cp incall_for_symbol_thunks_and_aliases() Date: Fri, 24 Jul 2020 12:25:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: ice-on-valid-code, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2020 12:25:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96291 Romain Geissler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |romain.geissler at amadeus= dot com --- Comment #3 from Romain Geissler --- Hi, FYI, I just tried to build Protobuf 3.12.3 with the trunk from a few days a= go, 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 b= ug report. [2020-07-24T12:16:15.263Z] See 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 st= atus [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=