public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99244] New: internal compiler error: in tsubst_copy, at cp/pt.c:16581
@ 2021-02-24  8:45 alexander.lelyakin at googlemail dot com
  2021-10-20 15:39 ` [Bug c++/99244] [modules] ICE " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-02-24  8:45 UTC (permalink / raw)
  To: gcc-bugs

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)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/99244] [modules] ICE in tsubst_copy, at cp/pt.c:16581
  2021-02-24  8:45 [Bug c++/99244] New: internal compiler error: in tsubst_copy, at cp/pt.c:16581 alexander.lelyakin at googlemail dot com
@ 2021-10-20 15:39 ` redi at gcc dot gnu.org
  2021-10-20 15:40 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2021-10-20 15:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99244

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |niancw29 at 163 dot com

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 102858 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/99244] [modules] ICE in tsubst_copy, at cp/pt.c:16581
  2021-02-24  8:45 [Bug c++/99244] New: internal compiler error: in tsubst_copy, at cp/pt.c:16581 alexander.lelyakin at googlemail dot com
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2021-10-20 15:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99244

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This seems to be fixed on trunk.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/99244] [modules] ICE in tsubst_copy, at cp/pt.c:16581
  2021-02-24  8:45 [Bug c++/99244] New: internal compiler error: in tsubst_copy, at cp/pt.c:16581 alexander.lelyakin at googlemail dot com
  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
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2021-10-20 16:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99244

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-10-20
     Ever confirmed|0                           |1
           Keywords|                            |ice-on-valid-code

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #2)
> This seems to be fixed on trunk.

Oops, no it isn't.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/99244] [modules] ICE in tsubst_copy, at cp/pt.c:16581
  2021-02-24  8:45 [Bug c++/99244] New: internal compiler error: in tsubst_copy, at cp/pt.c:16581 alexander.lelyakin at googlemail dot com
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-23  9:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99244

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samuel.hangouet at gmail dot com

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 103814 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/99244] [modules] ICE in tsubst_copy, at cp/pt.c:16581
  2021-02-24  8:45 [Bug c++/99244] New: internal compiler error: in tsubst_copy, at cp/pt.c:16581 alexander.lelyakin at googlemail dot com
                   ` (3 preceding siblings ...)
  2021-12-23  9:10 ` pinskia at gcc dot gnu.org
@ 2024-03-06 16:49 ` ppalka at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ppalka at gcc dot gnu.org @ 2024-03-06 16:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99244

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
   Target Milestone|---                         |14.0
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed for GCC 14 by the fix for PR112588.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-03-06 16:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24  8:45 [Bug c++/99244] New: internal compiler error: in tsubst_copy, at cp/pt.c:16581 alexander.lelyakin at googlemail dot com
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

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).