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

            Bug ID: 103754
           Summary: [11][ice][modules] import bits/stdc++.h and map
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: egor.pugin at gmail dot com
  Target Milestone: ---

Created attachment 52019
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52019&action=edit
repro

./15899673681173752886.sh
+ rm -rf gcm.cache
+ g++ -std=c++2b -fmodules-ts -xc++-header
/usr/include/c++/11/x86_64-redhat-linux/bits/stdc++.h
+ g++ -std=c++2b -fmodules-ts -xc++-header /usr/include/c++/11/map
+ g++ -std=c++2b -xc++ -c -fmodules-ts command.cpp
In file included from /usr/include/c++/11/bits/shared_ptr_base.h:62,
                 from /usr/include/c++/11/bits/shared_ptr.h:53,
                 from /usr/include/c++/11/memory:77,
                 from /usr/include/c++/11/x86_64-redhat-linux/bits/stdc++.h:82,
of module /usr/include/c++/11/x86_64-redhat-linux/bits/stdc++.h, imported at
command.cpp:3:
/usr/include/c++/11/ext/concurrence.h: In destructor ‘virtual
__gnu_cxx::__concurrence_lock_error::~__concurrence_lock_error()’:
/usr/include/c++/11/ext/concurrence.h:64:9: internal compiler error: in
build_op_delete_call, at cp/call.c:7144
   64 |   class __concurrence_lock_error : public std::exception
      |         ^~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to