From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 19D893846457; Tue, 9 Mar 2021 07:39:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 19D893846457 From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99480] New: [modules] ICE in import_entity_index, at cp/module.cc:3952 Date: Tue, 09 Mar 2021 07:39:39 +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: Tue, 09 Mar 2021 07:39:40 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99480 Bug ID: 99480 Summary: [modules] ICE in import_entity_index, at cp/module.cc:3952 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 memory g++ -std=3Dc++20 -fmodules-ts -x c++-system-header execution ---- In file included from /usr/local/include/c++/11.0.1/pstl/parallel_impl.h:13, from /usr/local/include/c++/11.0.1/pstl/algorithm_impl.h:2= 3, from /usr/local/include/c++/11.0.1/pstl/glue_execution_defs.h:50, from /usr/local/include/c++/11.0.1/execution:32: /usr/local/include/c++/11.0.1/atomic:415:5: internal compiler error: in import_entity_index, at cp/module.cc:3952 415 | { | ^ 0x6dbec6 import_entity_index ../../gcc/gcc/cp/module.cc:3952 0x6dbec6 import_entity_index ../../gcc/gcc/cp/module.cc:3947 0xa53bd2 module_may_redeclare(tree_node*) ../../gcc/gcc/cp/module.cc:18453 0xb49920 begin_class_definition(tree_node*) ../../gcc/gcc/cp/semantics.c:3269 0xaa5680 cp_parser_class_specifier_1 ../../gcc/gcc/cp/parser.c:24849 0xaa7c13 cp_parser_class_specifier ../../gcc/gcc/cp/parser.c:25172 0xaa7c13 cp_parser_type_specifier ../../gcc/gcc/cp/parser.c:18419 0xaa8ba9 cp_parser_decl_specifier_seq ../../gcc/gcc/cp/parser.c:15041 0xad3796 cp_parser_single_declaration ../../gcc/gcc/cp/parser.c:30402 0xad3b16 cp_parser_template_declaration_after_parameters ../../gcc/gcc/cp/parser.c:30065 0xad42c0 cp_parser_explicit_template_declaration ../../gcc/gcc/cp/parser.c:30331 0xad69e9 cp_parser_declaration ../../gcc/gcc/cp/parser.c:14047 0xad5fb9 cp_parser_toplevel_declaration ../../gcc/gcc/cp/parser.c:14145 0xad5fb9 cp_parser_declaration_seq_opt ../../gcc/gcc/cp/parser.c:13933 0xad6452 cp_parser_namespace_body ../../gcc/gcc/cp/parser.c:20433 0xad6452 cp_parser_namespace_definition ../../gcc/gcc/cp/parser.c:20411 0xad6ba8 cp_parser_declaration ../../gcc/gcc/cp/parser.c:14096 0xad73fc cp_parser_toplevel_declaration ../../gcc/gcc/cp/parser.c:14145 0xad73fc cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4936 0xad73fc c_parse_file() ../../gcc/gcc/cp/parser.c:45231 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 20210308 (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.=