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++/99283] [modules] ICE in assert_definition, at cp/module.cc:4608 Date: Sat, 27 Mar 2021 06:27:49 +0000 [thread overview] Message-ID: <bug-99283-4-YxaS2Xi3Ca@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99283-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283 --- Comment #12 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> --- Still reproduces: ---- /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header fstream /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header string_view /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header mutex /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header future ---- In file included from /usr/local/include/c++/11.0.1/bits/shared_ptr_base.h:53, from /usr/local/include/c++/11.0.1/bits/shared_ptr.h:53, from /usr/local/include/c++/11.0.1/condition_variable:43, from /usr/local/include/c++/11.0.1/future:39: /usr/local/include/c++/11.0.1/bits/allocated_ptr.h:48:32: internal compiler error: in assert_definition, at cp/module.cc:4491 48 | using pointer = typename allocator_traits<_Alloc>::pointer; | ^~~~~~~~~~~~~~~~ 0x6e20cf trees_in::assert_definition(tree_node*, bool) ../../gcc/gcc/cp/module.cc:4491 0xa5db10 trees_in::odr_duplicate(tree_node*, bool) ../../gcc/gcc/cp/module.cc:11321 0xa6d607 trees_in::read_var_def(tree_node*, tree_node*) ../../gcc/gcc/cp/module.cc:11509 0xa6f611 module_state::read_cluster(unsigned int) ../../gcc/gcc/cp/module.cc:14800 0xa6fc8d module_state::load_section(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18062 0xa6fd4f module_state::lazy_load(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18720 0xa6a000 trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9662 0xa6aaa1 trees_in::core_vals(tree_node*) ../../gcc/gcc/cp/module.cc:6414 0xa68867 trees_in::tree_node_vals(tree_node*) ../../gcc/gcc/cp/module.cc:7058 0xa68867 trees_in::tree_value() ../../gcc/gcc/cp/module.cc:8928 0xa68c9f trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9146 0xa6aaa1 trees_in::core_vals(tree_node*) ../../gcc/gcc/cp/module.cc:6414 0xa68867 trees_in::tree_node_vals(tree_node*) ../../gcc/gcc/cp/module.cc:7058 0xa68867 trees_in::tree_value() ../../gcc/gcc/cp/module.cc:8928 0xa68c9f trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9146 0xa6b1f2 trees_in::core_vals(tree_node*) ../../gcc/gcc/cp/module.cc:6622 0xa68867 trees_in::tree_node_vals(tree_node*) ../../gcc/gcc/cp/module.cc:7058 0xa68867 trees_in::tree_value() ../../gcc/gcc/cp/module.cc:8928 0xa68c9f trees_in::tree_node(bool) ../../gcc/gcc/cp/module.cc:9146 0xa6b200 trees_in::core_vals(tree_node*) ../../gcc/gcc/cp/module.cc:6623 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 20210326 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. commit 42a21b4cb540be93548a6ff6d4cb4a73ab1665be
next prev parent reply other threads:[~2021-03-27 6:27 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-26 8:51 [Bug c++/99283] New: " alexander.lelyakin at googlemail dot com 2021-03-05 21:06 ` [Bug c++/99283] " nathan at gcc dot gnu.org 2021-03-05 21:44 ` alexander.lelyakin at googlemail dot com 2021-03-05 23:09 ` alexander.lelyakin at googlemail dot com 2021-03-06 7:45 ` alexander.lelyakin at googlemail dot com 2021-03-13 7:07 ` alexander.lelyakin at googlemail dot com 2021-03-23 19:29 ` cvs-commit at gcc dot gnu.org 2021-03-23 19:30 ` nathan at gcc dot gnu.org 2021-03-24 6:41 ` alexander.lelyakin at googlemail dot com 2021-03-24 19:46 ` alexander.lelyakin at googlemail dot com 2021-03-26 19:08 ` cvs-commit at gcc dot gnu.org 2021-03-26 19:09 ` nathan at gcc dot gnu.org 2021-03-27 6:27 ` alexander.lelyakin at googlemail dot com [this message] 2021-03-27 18:29 ` alexander.lelyakin at googlemail dot com 2021-03-30 16:52 ` cvs-commit at gcc dot gnu.org 2021-03-30 16:53 ` nathan at gcc dot gnu.org 2021-03-30 20:01 ` alexander.lelyakin at googlemail dot com 2021-04-01 12:37 ` cvs-commit at gcc dot gnu.org 2021-04-01 12:38 ` nathan at gcc dot gnu.org 2021-04-01 12:39 ` nathan at gcc dot gnu.org 2021-04-01 12:56 ` alexander.lelyakin at googlemail dot com 2021-04-01 13:40 ` nathan at gcc dot gnu.org 2021-04-01 13:43 ` alexander.lelyakin at googlemail dot com 2021-04-02 16:09 ` nathan at gcc dot gnu.org 2021-04-02 17:16 ` alexander.lelyakin at googlemail dot com
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-99283-4-YxaS2Xi3Ca@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).