From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF05E3857832; Thu, 7 Mar 2024 14:03:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF05E3857832 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709820181; bh=ADiWVrqZPxwhLKhgYBQLmFS0I1Ts1TRJKQS0+XdR9lo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vYD496ouCZcoQ9+1egljftYh6NTJIoaEyD7LAjtwUXp8Y0yLfndajlaYUBauIwTCu HnsVrdwmNRGVHPdAmHOim6IhPqc7NjrTXPFdzWuW8C1Hvo82rIqXLebHMO0QYB10Hl PHbNcdXvBCVxD2tK4rtvaijwliWHfc6o4HjF1xHM= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/113617] [14 Regression] Symbol ... referenced in section `.data.rel.ro.local' of ...: defined in discarded section ... since r14-4944 Date: Thu, 07 Mar 2024 14:03:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: link-failure, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D113617 --- Comment #20 from Jakub Jelinek --- Created attachment 57645 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57645&action=3Dedit gcc14-pr113617-test.patch Does this fix that? Tried to define everything I saw in nm -u on the resul= t on Linux and verified if I revert the varasm.cc change it still expectedly FAI= Ls and with it it passes.=