https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297
Bug ID: 93297 Summary: internal compiler error: in set_constraints, at cp/constraint.cc: Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-invalid-code, ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- sha1.cc: In function ‘int main()’: sha1.cc:7:90: internal compiler error: in set_constraints, at cp/constraint.cc:1176 7 | fast_io::osha s(std::piecewise_construct,std::forward_as_tuple(),std::forward_as_tuple()); | ^ 0x658b55 set_constraints(tree_node*, tree_node*) ../../gcc/gcc/cp/constraint.cc:1176 0xa23457 alias_ctad_tweaks ../../gcc/gcc/cp/pt.c:28284 0xa23457 deduction_guides_for ../../gcc/gcc/cp/pt.c:28395 0xa2377b do_class_deduction ../../gcc/gcc/cp/pt.c:28500 0xa2377b do_auto_deduction(tree_node*, tree_node*, tree_node*, int, auto_deduction_context, tree_node*, int) ../../gcc/gcc/cp/pt.c:28629 0x9584ec cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../../gcc/gcc/cp/decl.c:7463 0x9fe844 cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:20768 0x9e07c2 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:13629 0x9e251a cp_parser_declaration_statement ../../gcc/gcc/cp/parser.c:13061 0x9e30b7 cp_parser_statement ../../gcc/gcc/cp/parser.c:11383 0x9e4098 cp_parser_statement_seq_opt ../../gcc/gcc/cp/parser.c:11745 0x9e4178 cp_parser_compound_statement ../../gcc/gcc/cp/parser.c:11699 0x9fab65 cp_parser_function_body ../../gcc/gcc/cp/parser.c:22907 0x9fab65 cp_parser_ctor_initializer_opt_and_function_body ../../gcc/gcc/cp/parser.c:22958 0x9fde3d cp_parser_function_definition_after_declarator ../../gcc/gcc/cp/parser.c:28745 0x9fee46 cp_parser_function_definition_from_specifiers_and_declarator ../../gcc/gcc/cp/parser.c:28661 0x9fee46 cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:20536 0x9e07c2 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:13629 0xa091a2 cp_parser_declaration ../../gcc/gcc/cp/parser.c:13328 0xa0991a cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4723 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. on windows MinGW-w64 sha1.cc: In function 'int main()': sha1.cc:7:90: internal compiler error: in set_constraints, at cp/constraint.cc:1177 7 | fast_io::osha s(std::piecewise_construct,std::forward_as_tuple(),std::forward_as_tuple()); | ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc-mcf.lhmouse.com/> for instructions.