From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B287A3858D28; Wed, 25 Jan 2023 10:30:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B287A3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674642636; bh=7AI6W/1GTy3u3CP1gNYuYCNAhwGEaFlgvidrisO4Tvw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yleyYsJbcOP3A3GwmzbsZVF3hBBLudj3yCPYiXcqhjhOw/H1J5HEniCwsLrlgfgL7 8npObJx/ah5bG+PYAginT+SLr3jTbzKZtcAXnEOEJtBDbs5vAkGMBGf9Mz9rdPkdCM ES2PVJvAYIXoSfSydjFr12WlX7hK3+2Tsy+16vH4= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/108511] [13 regression] ICE in possibly_call_in_translation_unit_p, at cgraph.cc:4184 since r13-5285-g106f99406312d7ed Date: Wed, 25 Jan 2023 10:30:36 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108511 --- Comment #4 from Martin Li=C5=A1ka --- Yeah, the test is normally run with -r argument, so just run it with; g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/lto/pr88049_0.C -flto /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/lto/pr88049_0.C:12:11: warning: =E2=80=98a< >::~a() noexcept [with =3D {anonymous}::f]=E2=80=99 used but never defined 12 | virtual ~a(); | ^ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/lto/pr88049_0.C:9:28: warning: =E2=80=98a d(char) [with e =3D {anonymous}::f]=E2=80=99 used bu= t never defined 9 | template a d(char); | ^ during IPA pass: fnsummary lto1: internal compiler error: in possibly_call_in_translation_unit_p, at cgraph.cc:4184 0x6aa523 cgraph_edge::possibly_call_in_translation_unit_p() /home/marxin/Programming/gcc/gcc/cgraph.cc:4184 0xb65ad0 read_ipa_call_summary /home/marxin/Programming/gcc/gcc/ipa-fnsummary.cc:4406 0xb69a1f inline_read_section /home/marxin/Programming/gcc/gcc/ipa-fnsummary.cc:4616 0xb69e98 ipa_fn_summary_read /home/marxin/Programming/gcc/gcc/ipa-fnsummary.cc:4648 0xcedcf6 ipa_read_summaries_1 /home/marxin/Programming/gcc/gcc/passes.cc:3001 0x8ae4e4 read_cgraph_and_symbols(unsigned int, char const**) /home/marxin/Programming/gcc/gcc/lto/lto-common.cc:2936 0x894892 lto_main() /home/marxin/Programming/gcc/gcc/lto/lto.cc:654 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status=