From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A519E3848417; Fri, 3 Sep 2021 16:05:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A519E3848417 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/101947] [12 Regression] Broken LTO bootstrap in get_base_type_offset, at dwarf2out.c:4330 Date: Fri, 03 Sep 2021 16:05:38 +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-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 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: Fri, 03 Sep 2021 16:05:38 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101947 --- Comment #7 from Eric Botcazou --- It's the DW_AT_byte_size expression in: (gdb) p debug_dwarf_die (die) DIE 1041: DW_TAG_structure_type (0x7ffff39f06e0) abbrev id: 51 offset: 1041 mark: 1 DW_AT_name: "exp_dist__rpc_target" DW_AT_byte_size: location descriptor: (0x7ffff39f0dc0) DW_OP_push_object_address 0, 0 (0x7ffff39f0e10) DW_OP_deref_type 4, die -> 0 (0x7ffff39f0af0) (0x7ffff39f0e60) DW_OP_convert 0, 0 (0x7ffff39f0eb0) DW_OP_call4 die -> 0 (0x7ffff39f0a50), 0 (0x7ffff39f0f50) DW_OP_plus_uconst 7, 0 (0x7ffff39f0fa0) DW_OP_const1s 18446744073709551612, 0 (0x7ffff39f0960) DW_OP_and 0, 0 whose DW_OP_deref_type 4 operation uses: DIE 0: DW_TAG_base_type (0x7ffff39f0af0) abbrev id: 21 offset: 0 mark: 1 DW_AT_byte_size: 4 DW_AT_encoding: 5 DW_AT_name: "SIGNED_32" DW_AT_artificial: 1 that was not initially referenced anywhere.=