public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency Date: Fri, 19 Feb 2021 22:35:33 +0000 [thread overview] Message-ID: <bug-99153-4-HSBkckJlH0@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99153-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 --- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> --- // B_a.ii template<typename _T1> struct pair { inline void Frob (); }; // B_b.ii import "./B_a.ii" template<class _T1> inline void pair<_T1>::Frob() { } ./cc1plus -quiet -std=c++20 -fmodule-header -fpreprocessed B_a.ii && ./cc1plus -quiet -std=c++20 -fmodule-header -fpreprocessed B_b.ii B_b.ii:1: internal compiler error: in make_dependency, at cp/module.cc:12523 1 | import "./B_a.ii" [[__translated]]; | 0xcd61da depset::hash::make_dependency(tree_node*, depset::entity_kind) ../../../src/gcc/cp/module.cc:12523 0xcd7f54 depset::hash::add_class_entities(vec<tree_node*, va_gc, vl_embed>*) ../../../src/gcc/cp/module.cc:12942 0xce60bb module_state::write(elf_out*, cpp_reader*) ../../../src/gcc/cp/module.cc:17604 The module flags on the TEMPLATE_DECL do not match those of the DECL_TEMPLATE_RESULT.
next prev parent reply other threads:[~2021-02-19 22:35 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-18 15:49 [Bug c++/99153] New: ICE: tree check: expected binding_vector, have overload in maybe_record_mergeable_decl, at cp/name-lookup.c:3562 doko at debian dot org 2021-02-18 16:30 ` [Bug c++/99153] [11 Regression] " nathan at gcc dot gnu.org 2021-02-19 9:26 ` rguenth at gcc dot gnu.org 2021-02-19 13:21 ` nathan at gcc dot gnu.org 2021-02-19 22:35 ` nathan at gcc dot gnu.org [this message] 2021-02-22 14:52 ` [Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency cvs-commit at gcc dot gnu.org 2021-02-22 14:53 ` nathan at gcc dot gnu.org 2021-02-23 16:52 ` alexander.lelyakin at googlemail dot com 2021-02-23 17:04 ` alexander.lelyakin at googlemail dot com 2021-02-23 17:34 ` alexander.lelyakin at googlemail dot com 2021-02-23 18:01 ` nathan at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-99153-4-HSBkckJlH0@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).