https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99722
Bug ID: 99722 Summary: [modules] internal compiler error: segmentation fault 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: --- /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header condition_variable /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header future ---- In file included from /usr/local/include/c++/11.0.1/future:43: /usr/local/include/c++/11.0.1/bits/atomic_futex.h:82:7: internal compiler error: Segmentation fault 82 | { } | ^ 0x110102f crash_signal ../../gcc/gcc/toplev.c:327 0xc2cbc9 clear_marks ../../gcc/gcc/ggc-page.c:1895 0xc2e19c ggc_collect() ../../gcc/gcc/ggc-page.c:2219 0xace681 cp_parser_function_definition_after_declarator ../../gcc/gcc/cp/parser.c:30027 0xaceb2c cp_parser_late_parsing_for_member ../../gcc/gcc/cp/parser.c:30921 0xaa8df3 cp_parser_class_specifier_1 ../../gcc/gcc/cp/parser.c:25162 0xaa9d03 cp_parser_class_specifier ../../gcc/gcc/cp/parser.c:25186 0xaa9d03 cp_parser_type_specifier ../../gcc/gcc/cp/parser.c:18433 0xaaac99 cp_parser_decl_specifier_seq ../../gcc/gcc/cp/parser.c:15055 0xad5886 cp_parser_single_declaration ../../gcc/gcc/cp/parser.c:30419 0xad5c06 cp_parser_template_declaration_after_parameters ../../gcc/gcc/cp/parser.c:30082 0xad63b0 cp_parser_explicit_template_declaration ../../gcc/gcc/cp/parser.c:30348 0xad8ad9 cp_parser_declaration ../../gcc/gcc/cp/parser.c:14061 0xad80a9 cp_parser_toplevel_declaration ../../gcc/gcc/cp/parser.c:14159 0xad80a9 cp_parser_declaration_seq_opt ../../gcc/gcc/cp/parser.c:13947 0xad8542 cp_parser_namespace_body ../../gcc/gcc/cp/parser.c:20447 0xad8542 cp_parser_namespace_definition ../../gcc/gcc/cp/parser.c:20425 0xad8c98 cp_parser_declaration ../../gcc/gcc/cp/parser.c:14110 0xad94ec cp_parser_toplevel_declaration ../../gcc/gcc/cp/parser.c:14159 0xad94ec cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4942 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. ---- g++ (GCC) 11.0.1 20210323 (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. --- gcc at commit: 441e1980cea7265c340868468cd63ea8c046ddec