From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7A48A3858409; Fri, 11 Nov 2022 12:48:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A48A3858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668170919; bh=fGyiRfI46mvx9MT8xUSQpQJJyxNOCNVnExQF4F44rFg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LjVX+vHp5sW+7SKiEDIjekZvUMB7Ztnvzbp9Dj/sPMTgY5wpSUYEa7OInd/0TZfJs TosShGEuhM0UybwCCbIXm9BNx4YPAkqeZlXUce/h59dgyFdGMVQo3YEPYxR9ccWoVo Slo9goSMfw90s2Lf6DOL8Gsf6D62h5h+FsZ2SKec= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/102067] SEGFAULT in varpool_node::get_constructor during lto1 when optimising or not using debug symbols Date: Fri, 11 Nov 2022 12:48: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: 9.3.0 X-Bugzilla-Keywords: ice-on-valid-code, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D102067 --- Comment #23 from Martin Li=C5=A1ka --- (In reply to Sam Mish from comment #22) > I'm hitting an issue similar to this in one of my projects: >=20 > gcc-12 (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0 >=20 >=20 > When linking with lto on a optimized build, gcc12 is crashing (apologies = for > the long link line) >=20 Good! Can you please provide steps how to build the reproducer project?=