From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E1FBF385802E; Wed, 24 Feb 2021 08:45:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E1FBF385802E From: "alexander.lelyakin at googlemail dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: alexander.lelyakin at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Wed, 24 Feb 2021 08:45:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99244 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=3Dc++20 -fmodules-ts -x c++-system-header atomic g++ -std=3Dc++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 =E2=80=98con= stexpr std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_= Tp&, _Tp&) [with _Tp =3D std::thread::id; std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > =3D void]= =E2=80=99: /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 =3D _GLIBCXX_MOVE(__a); | ^~~~~~~~~~~~~ 0x70931e tsubst_copy ../../gcc/gcc/cp/pt.c:16581 0xaf64bf tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, bool) ../../gcc/gcc/cp/pt.c:20719 0xaf6f10 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, bool) ../../gcc/gcc/cp/pt.c:19629 0xaf669b tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, 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)=