From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8A3A9385840E; Fri, 26 Jan 2024 20:44:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A3A9385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706301865; bh=n9CiNbvjWfdaRRnu3LbbNECXnjKAsXI6RnSoEUFb8cU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WDO3AAZyShSjPAJX48i2zma1COlpHIH9nu57H8pLoQaNZPPG5/afZw/RdQWDLtodb IkEP8wfFLZ9oVEcxxRP8XSNajUhNMd147u6ZFPDAjzaUuETjelRCm+M4+oVwuMgbtf Dwz6ffoMoPSiEkDWgtxbeIGcqoSq4OzW4z0MiNqg= From: "hjl.tools at gmail dot com" 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: Fri, 26 Jan 2024 20:44:24 +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: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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 #11 from H.J. Lu --- Created attachment 57233 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57233&action=3Dedit An untested patch=