public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "alexander.lelyakin at googlemail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584 Date: Sun, 28 Feb 2021 18:51:21 +0000 [thread overview] Message-ID: <bug-99241-4-SAEJNOe1z5@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99241-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 --- Comment #1 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> --- There is a shorter sequence: g++ -std=c++20 -fmodules-ts -x c++-system-header forward_list g++ -std=c++20 -fmodules-ts -x c++-system-header ios g++ -std=c++20 -fmodules-ts -x c++-system-header unordered_map g++ -std=c++20 -fmodules-ts -x c++-system-header condition_variable g++ -std=c++20 -fmodules-ts -x c++-system-header regex ---- In file included from /usr/local/include/c++/11.0.1/bits/unique_ptr.h:42, from /usr/local/include/c++/11.0.1/bits/locale_conv.h:41, from /usr/local/include/c++/11.0.1/locale:43, from /usr/local/include/c++/11.0.1/regex:44: /usr/local/include/c++/11.0.1/ostream:58:42: internal compiler error: in install_entity, at cp/module.cc:7586 58 | class basic_ostream : virtual public basic_ios<_CharT, _Traits> | ^~~~~~~~~ 0xa5a52d trees_in::install_entity(tree_node*) ../../gcc/gcc/cp/module.cc:7586 0xa647aa trees_in::decl_value() ../../gcc/gcc/cp/module.cc:8108 0xa66317 trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9251 0xa6cad3 module_state::read_cluster(unsigned int) ../../gcc/gcc/cp/module.cc:14948 0xa6ce7d module_state::load_section(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18148 0xa6d518 lazy_load_binding(unsigned int, tree_node*, tree_node*, binding_slot*) ../../gcc/gcc/cp/module.cc:18833 0xa7d39e name_lookup::search_namespace_only(tree_node*) ../../gcc/gcc/cp/name-lookup.c:924 0xa7eafb name_lookup::search_unqualified(tree_node*, cp_binding_level*) ../../gcc/gcc/cp/name-lookup.c:1155 0xa818f4 lookup_name_1 ../../gcc/gcc/cp/name-lookup.c:7868 0xa81aba lookup_name(tree_node*, LOOK_where, LOOK_want) ../../gcc/gcc/cp/name-lookup.c:7888 0xa907d2 lookup_name(tree_node*, LOOK_want) ../../gcc/gcc/cp/name-lookup.h:412 0xa907d2 cp_parser_lookup_name ../../gcc/gcc/cp/parser.c:29339 0xab901f cp_parser_template_name ../../gcc/gcc/cp/parser.c:17694 0xab955f cp_parser_template_id ../../gcc/gcc/cp/parser.c:17303 0xab9dbb cp_parser_class_name ../../gcc/gcc/cp/parser.c:24671 0xab134a cp_parser_qualifying_entity ../../gcc/gcc/cp/parser.c:6994 0xab134a cp_parser_nested_name_specifier_opt ../../gcc/gcc/cp/parser.c:6676 0xaa51dc cp_parser_base_specifier ../../gcc/gcc/cp/parser.c:26690 0xaa51dc cp_parser_base_clause ../../gcc/gcc/cp/parser.c:26543 0xaa51dc cp_parser_class_head ../../gcc/gcc/cp/parser.c:25630 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. ---- g++ (GCC) 11.0.1 20210228 (experimental)
next prev parent reply other threads:[~2021-02-28 18:51 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-24 8:41 [Bug c++/99241] New: internal compiler error: " alexander.lelyakin at googlemail dot com 2021-02-28 18:51 ` alexander.lelyakin at googlemail dot com [this message] 2021-03-24 19:40 ` [Bug c++/99241] [modules] ICE " alexander.lelyakin at googlemail dot com 2021-03-31 13:35 ` mpolacek at gcc dot gnu.org 2021-04-08 21:29 ` alexander.lelyakin at googlemail dot com 2022-10-22 18:49 ` cgreeley at student dot bridgew.edu 2022-10-22 18:55 ` cgreeley at student dot bridgew.edu 2022-10-22 19:02 ` cgreeley at student dot bridgew.edu 2023-05-27 1:26 ` pinskia at gcc dot gnu.org 2024-03-16 18:27 ` ppalka 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-99241-4-SAEJNOe1z5@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).