From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9A6CE3870889; Fri, 5 Mar 2021 19:51:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A6CE3870889 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99245] [modules] ICE in write_cluster, at cp/module.cc:14600 Date: Fri, 05 Mar 2021 19:51:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Fri, 05 Mar 2021 19:51:00 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99245 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-03-05 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Nathan Sidwell --- // bug_a.ii namespace std { class type_info {}; } // bug_b.ii namespace std { class type_info; } import "bug_a.ii"; namespace std { const type_info* __cxa_exception_type () noexcept; } evvm1702:160>./cc1plus -quiet -fmodule-header bug_a.ii && ./cc1plus -quiet -fmodule-header bug_b.ii=20 bug_b.ii: internal compiler error: in write_cluster, at cp/module.cc:14506 0xcdfd72 module_state::write_cluster(elf_out*, depset**, unsigned int, depset::hash&, unsigned int*, unsigned int*) ../../../src/gcc/cp/module.cc:14506 0xce9486 module_state::write(elf_out*, cpp_reader*) ../../../src/gcc/cp/module.cc:17763 0xcef73a finish_module_processing(cpp_reader*) ../../../src/gcc/cp/module.cc:19870=