From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C70403858C2B; Tue, 5 Dec 2023 12:38:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C70403858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701779893; bh=3fZtAnKzus/XWNnPr5B+MjJy6dsIP/Q+L3qvd69FItw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nXY6x7z7Em8z20TpOy/WXYoVmFjk19nYB6NlNryWS+IYEoqJVKOiZfXUqfgLVKaJz TFC4KoPRn3oeq7gcTonzWIdIl+tevzOMsdIoEDbx3aPpaMeGx2dYfwFcRdiqCOo6QR djRunLNT4jG4uF4fpJMUlgNVpMQ5ItUveCgAPzuo= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/62084] [avr] ICE: in convert_debug_memory_address Date: Tue, 05 Dec 2023 12:38:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: addr-space, 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: 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=3D62084 --- Comment #6 from Richard Biener --- With checking it ICEs like the following, IIRC there's a duplicate for this, we add a duplicate name attribute with address-spaces. > ./cc1 -quiet t.c -gdwarf-2 ../../../libc/time/strftime.c:43:1: internal compiler error: in add_dwarf_a= ttr, at dwarf2out.cc:4501 0xfc2317 add_dwarf_attr /space/rguenther/src/gcc/gcc/dwarf2out.cc:4501 0xfc29ed add_AT_string /space/rguenther/src/gcc/gcc/dwarf2out.cc:4773 0xfeb303 add_name_attribute(die_struct*, char const*) /space/rguenther/src/gcc/gcc/dwarf2out.cc:21240 0xfd7280 modified_type_die /space/rguenther/src/gcc/gcc/dwarf2out.cc:14031 0xfd658a modified_type_die /space/rguenther/src/gcc/gcc/dwarf2out.cc:13806 0xfedb2e add_type_attribute /space/rguenther/src/gcc/gcc/dwarf2out.cc:22364 0xfee904 gen_array_type_die /space/rguenther/src/gcc/gcc/dwarf2out.cc:22631 0xff9a20 gen_type_die_with_usage /space/rguenther/src/gcc/gcc/dwarf2out.cc:26394 0xff9de1 gen_type_die /space/rguenther/src/gcc/gcc/dwarf2out.cc:26457 0xffbef6 gen_decl_die /space/rguenther/src/gcc/gcc/dwarf2out.cc:27136 0xffd2d4 dwarf2out_decl /space/rguenther/src/gcc/gcc/dwarf2out.cc:27655=