From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0EE8F3858C50; Tue, 27 Sep 2022 16:27:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EE8F3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664296029; bh=oA9I7bsoOKcM/LWNqP618zIJH794rKJPX3dr1AMMOH8=; h=From:To:Subject:Date:From; b=cn3ELjfkgWHMizBkmUR6trYye4p5JmhVpNhLvPk3RlJlMeJR1GsxiSTF6QAneSwbv NTqzHkFxcKCfQRwXGpHljIOsidnctBgTvAwxPflTodpEFBucgWUqVsdfa25zV1LK46 pGmIIFBYJt/dUgU6IF1ZcNZYE3QHp/gS5pIANfxw= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107058] New: [11/12/13 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038 Date: Tue, 27 Sep 2022 16:27:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D107058 Bug ID: 107058 Summary: [11/12/13 Regression] ICE in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started with g++-11 between 20201108 and 20201115, using file c-c++-common/pr50459.c : $ gcc-13-20220925 -c pr50459.c -flto -g -fdebug-types-section $ $ g++-13-20220925 -c pr50459.c -flto -g -fdebug-types-section during IPA pass: modref pr50459.c:13:37: internal compiler error: in dwarf2out_die_ref_for_decl, at dwarf2out.cc:6038 13 | int __attribute__((aligned (A))) foo; | ^ 0xd29259 dwarf2out_die_ref_for_decl ../../gcc/dwarf2out.cc:6037 0x1017061 lto_write_tree_1 ../../gcc/lto-streamer-out.cc:535 0x1017180 lto_write_tree ../../gcc/lto-streamer-out.cc:561 0x1017180 lto_output_tree_1 ../../gcc/lto-streamer-out.cc:592 0x101f425 DFS::DFS(output_block*, tree_node*, bool, bool, bool) ../../gcc/lto-streamer-out.cc:892 0x1020bdb lto_output_tree(output_block*, tree_node*, bool, bool) ../../gcc/lto-streamer-out.cc:1859 0x1016a02 write_global_stream ../../gcc/lto-streamer-out.cc:2853 0x1023cf1 lto_output_decl_state_streams(output_block*, lto_out_decl_state*) ../../gcc/lto-streamer-out.cc:2900 0x1023cf1 produce_asm_for_decls() ../../gcc/lto-streamer-out.cc:3294 0x10c30bf write_lto ../../gcc/passes.cc:2771 0x10c716e ipa_write_summaries_1 ../../gcc/passes.cc:2832 0x10c716e ipa_write_summaries() ../../gcc/passes.cc:2888 0xca8783 ipa_passes ../../gcc/cgraphunit.cc:2208 0xca8783 symbol_table::compile() ../../gcc/cgraphunit.cc:2281 0xcac42f symbol_table::compile() ../../gcc/cgraphunit.cc:2532 0xcac42f symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.cc:2529=