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++/99244] New: internal compiler error: in tsubst_copy, at cp/pt.c:16581 Date: Wed, 24 Feb 2021 08:45:41 +0000 [thread overview] Message-ID: <bug-99244-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99244 Bug ID: 99244 Summary: internal compiler error: in tsubst_copy, at cp/pt.c:16581 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- g++ -std=c++20 -fmodules-ts -x c++-system-header atomic g++ -std=c++20 -fmodules-ts -x c++-system-header thread ---- In file included from /usr/local/include/c++/11.0.0/bits/atomic_base.h:38, from /usr/local/include/c++/11.0.0/atomic:41, of module /usr/local/include/c++/11.0.0/atomic, imported at /usr/local/include/c++/11.0.0/stop_token:34, included from /usr/local/include/c++/11.0.0/thread:42: /usr/local/include/c++/11.0.0/bits/move.h: In instantiation of ‘constexpr std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = std::thread::id; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]’: /usr/local/include/c++/11.0.0/bits/std_thread.h:172:33: required from here /usr/local/include/c++/11.0.0/bits/move.h:199:19: internal compiler error: in tsubst_copy, at cp/pt.c:16581 199 | _Tp __tmp = _GLIBCXX_MOVE(__a); | ^~~~~~~~~~~~~ 0x70931e tsubst_copy ../../gcc/gcc/cp/pt.c:16581 0xaf64bf tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ../../gcc/gcc/cp/pt.c:20719 0xaf6f10 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ../../gcc/gcc/cp/pt.c:19629 0xaf669b tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ../../gcc/gcc/cp/pt.c:20143 0xb01608 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:19107 0xb08341 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:18132 0xb08341 tsubst_init ../../gcc/gcc/cp/pt.c:16491 0xb06481 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:18316 0xb04606 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:18147 0xb041c6 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:18498 0xb0a5b7 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:18132 0xb0a5b7 instantiate_body ../../gcc/gcc/cp/pt.c:25862 0xb0b610 instantiate_decl(tree_node*, bool, bool) ../../gcc/gcc/cp/pt.c:26151 0xb2dc93 instantiate_pending_templates(int) ../../gcc/gcc/cp/pt.c:26230 0x9f60d3 c_parse_final_cleanups() ../../gcc/gcc/cp/decl2.c:4962 ----- g++ (GCC) 11.0.0 20210223 (experimental)
next reply other threads:[~2021-02-24 8:45 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-24 8:45 alexander.lelyakin at googlemail dot com [this message] 2021-10-20 15:39 ` [Bug c++/99244] [modules] ICE " redi at gcc dot gnu.org 2021-10-20 15:40 ` redi at gcc dot gnu.org 2021-10-20 16:02 ` redi at gcc dot gnu.org 2021-12-23 9:10 ` pinskia at gcc dot gnu.org 2024-03-06 16:49 ` 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-99244-4@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).