From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 72EF8385801A; Sat, 27 Mar 2021 06:53:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 72EF8385801A From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99243] [modules] ICE in set_filename, at cp/module.cc:19143 Date: Sat, 27 Mar 2021 06:53:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Sat, 27 Mar 2021 06:53:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99243 --- Comment #1 from Alexander Lelyakin --- There is a shorter sequence /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header concepts /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header utility /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header regex ---- In file included from /usr/local/include/c++/11.0.1/bits/stl_iterator_base_types.h:71, from /usr/local/include/c++/11.0.1/bits/stl_algobase.h:65, from /usr/local/include/c++/11.0.1/algorithm:61, from /usr/local/include/c++/11.0.1/regex:38: /usr/local/include/c++/11.0.1/bits/iterator_concepts.h:34: internal compiler error: in set_filename, at cp/module.cc:19100 34 |=20 |=20 0x6e0cbb module_state::set_filename(Cody::Packet const&) ../../gcc/gcc/cp/module.cc:19100 0xa5a979 maybe_translate_include ../../gcc/gcc/cp/module.cc:19143 0xa5a979 maybe_translate_include ../../gcc/gcc/cp/module.cc:19114 0x1cf5606 _cpp_stack_file ../../gcc/libcpp/files.c:913 0x1ced69e do_include_common ../../gcc/libcpp/directives.c:853 0x1cedbe8 _cpp_handle_directive ../../gcc/libcpp/directives.c:541 0x1cfca60 _cpp_lex_token ../../gcc/libcpp/lex.c:2809 0x1d048c7 cpp_get_token_1 ../../gcc/libcpp/macro.c:2839 0xbf070e c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) ../../gcc/gcc/c-family/c-lex.c:470 0xa8ee76 cp_lexer_get_preprocessor_token ../../gcc/gcc/cp/parser.c:864 0xad93af cp_lexer_new_main ../../gcc/gcc/cp/parser.c:663 0xad93af c_parse_file() ../../gcc/gcc/cp/parser.c:45253 0xbfd98d c_common_parse_file() ../../gcc/gcc/c-family/c-opts.c:1218 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ---- g++ (GCC) 11.0.1 20210326 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=