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

            Bug ID: 99243
           Summary: internal compiler error: in set_filename, at
                    cp/module.cc:19143
           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 algorithm
g++ -std=c++20 -fmodules-ts -x c++-system-header variant
g++ -std=c++20 -fmodules-ts -x c++-system-header iosfwd
g++ -std=c++20 -fmodules-ts -x c++-system-header ostream
g++ -std=c++20 -fmodules-ts -x c++-system-header memory
-----
/usr/local/include/c++/11.0.0/bits/shared_ptr.h:1: internal compiler error: in
set_filename, at cp/module.cc:19143
    1 | // shared_ptr and weak_ptr implementation -*- C++ -*-
      | 
0x6de59f module_state::set_filename(Cody::Packet const&)
        ../../gcc/gcc/cp/module.cc:19143
0xa56159 maybe_translate_include
        ../../gcc/gcc/cp/module.cc:19186
0xa56159 maybe_translate_include
        ../../gcc/gcc/cp/module.cc:19157
0x1ce7396 _cpp_stack_file
        ../../gcc/libcpp/files.c:913
0x1cdf36e do_include_common
        ../../gcc/libcpp/directives.c:853
0x1cdf8b8 _cpp_handle_directive
        ../../gcc/libcpp/directives.c:541
0x1cee760 _cpp_lex_token
        ../../gcc/libcpp/lex.c:2809
0x1cf6597 cpp_get_token_1
        ../../gcc/libcpp/macro.c:2839
0xbeab6e c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int)
        ../../gcc/gcc/c-family/c-lex.c:470
0xa8a166 cp_lexer_get_preprocessor_token
        ../../gcc/gcc/cp/parser.c:862
0xad43cf cp_lexer_new_main
        ../../gcc/gcc/cp/parser.c:661
0xad43cf c_parse_file()
        ../../gcc/gcc/cp/parser.c:45168
0xbf7dfd c_common_parse_file()
        ../../gcc/gcc/c-family/c-opts.c:1218
-----
g++ (GCC) 11.0.0 20210223 (experimental)

Reply via email to