From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 205013972494; Tue, 15 Sep 2020 08:23:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 205013972494 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600158235; bh=qggwdQHw4S2z+KiNp93HNlR3++VZQocvjEMj+URBEbQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=G4QM/AyDQjIW0fXWebL771xIuz31hDoU6Qo7+chmSSeq4ggUBTc7I+SLXHldkle1f GHesNbb99UkfRSiHdEubBNJQQcW2vdXZvnmb+yf3ylbNtaZMqH10H2UssAyj2qEWDV Wu3iSaAbFzIH737Jr/ALI/aKvKlEYsyeCVEd0n+U= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/96690] [10 Regression] ICE in write_type since r10-6087 Date: Tue, 15 Sep 2020 08:23:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 10.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 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 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: Tue, 15 Sep 2020 08:23:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96690 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bfe7bfbd068ee752f9d264473f974883ec6a21e6 commit r10-8764-gbfe7bfbd068ee752f9d264473f974883ec6a21e6 Author: Richard Biener Date: Mon Aug 24 14:12:01 2020 +0200 debug/96690 - mangle symbols eventually used by late dwarf output The following makes sure to, at early debug generation time, mangle symbols we eventually end up outputting during late finish. 2020-08-24 Richard Biener PR debug/96690 * dwarf2out.c (reference_to_unused): Make FUNCTION_DECL processing more consistent with respect to symtab->global_info_ready. (tree_add_const_value_attribute): Unconditionally call rtl_for_decl_init to do all mangling early but throw away the result if early_dwarf. * g++.dg/lto/pr96690_0.C: New testcase. (cherry picked from commit 7fe2cec41bb2ccb499b6b6c513e00da1a270370f)=