From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3E713955427; Tue, 9 Mar 2021 07:51:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3E713955427 From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99238] [modules] internal compiler error: segmentation fault Date: Tue, 09 Mar 2021 07:51:33 +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: Tue, 09 Mar 2021 07:51:33 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99238 --- Comment #2 from Alexander Lelyakin --- Even shorter sequence: g++ -std=3Dc++20 -fmodules-ts -x c++-system-header stdexcept g++ -std=3Dc++20 -fmodules-ts -x c++-system-header stop_token ---- /usr/local/include/c++/11.0.1/stop_token: internal compiler error: Segmenta= tion fault 0x10fee8f crash_signal ../../gcc/gcc/toplev.c:327 0x6deab8 trees_out::get_tag(tree_node*) ../../gcc/gcc/cp/module.cc:4783 0x6deab8 trees_out::ref_node(tree_node*) ../../gcc/gcc/cp/module.cc:7090 0x6deab8 trees_out::ref_node(tree_node*) ../../gcc/gcc/cp/module.cc:7073 0xa5dfdc trees_out::tree_node(tree_node*) ../../gcc/gcc/cp/module.cc:8978 0xa5fec9 trees_out::type_node(tree_node*) ../../gcc/gcc/cp/module.cc:8701 0xa5e3da trees_out::tree_node(tree_node*) ../../gcc/gcc/cp/module.cc:9061 0xa5cbda trees_out::tree_node_vals(tree_node*) ../../gcc/gcc/cp/module.cc:7053 0xa5cbda trees_out::decl_value(tree_node*, depset*) ../../gcc/gcc/cp/module.cc:7640 0xa5d1ab trees_out::decl_node(tree_node*, walk_kind) ../../gcc/gcc/cp/module.cc:8549 0xa5e1a2 trees_out::tree_node(tree_node*) ../../gcc/gcc/cp/module.cc:9104 0xa5e66d trees_out::vec_chained_decls(tree_node*) ../../gcc/gcc/cp/module.cc:4879 0xa6255b trees_out::write_class_def(tree_node*) ../../gcc/gcc/cp/module.cc:11642 0xa6424c depset::hash::find_dependencies(module_state*) ../../gcc/gcc/cp/module.cc:13172 0xa64668 module_state::write(elf_out*, cpp_reader*) ../../gcc/gcc/cp/module.cc:17644 0xa65aff finish_module_processing(cpp_reader*) ../../gcc/gcc/cp/module.cc:19884 0x9f901b c_parse_final_cleanups() ../../gcc/gcc/cp/decl2.c:5175 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.=