From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B28CB3851C00; Thu, 19 Aug 2021 11:26:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B28CB3851C00 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/101975] ICE with '-g' for x86 named address spaces Date: Thu, 19 Aug 2021 11:26:45 +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: 12.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_fail keywords cf_reconfirmed_on everconfirmed bug_status 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: Thu, 19 Aug 2021 11:26:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101975 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |10.3.1, 11.2.1, 12.0 Keywords| |ice-checking Last reconfirmed| |2021-08-19 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Richard Biener --- Confirmed. Only happens with checking. We add DW_AT_name twice. 13868 /* This probably indicates a bug. */ 13869 else if (mod_type_die && mod_type_die->die_tag =3D=3D DW_TAG_base= _type) 13870 { 13871 name =3D TYPE_IDENTIFIER (type); 13872 add_name_attribute (mod_type_die, 13873 name ? IDENTIFIER_POINTER (name) : "__unknown__"); 13874 } likely address-space qualifiers are not correctly handled when cv_quals is = zero but TYPE_QUALS includes address-space qualifiers (not sure if those should = go to the type die or to the variable die?). It looks like address-spaces are handled for pointed-to types in modified_type_die but that's all.=