https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99996
Bug ID: 99996 Summary: [10 Regression] r10-9673 failed to build Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: fdumont at gcc dot gnu.org Target Milestone: --- On Linux/x86-64, r10-9673 failed to build: https://gcc.gnu.org/pipermail/gcc-regression/2021-April/074554.html /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/./gcc/xgcc -shared-libgcc -B/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/./gcc -nostdinc++ -L/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/src -L/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/usr/x86_64-pc-linux-gnu/bin/ -B/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/usr/x86_64-pc-linux-gnu/lib/ -isystem /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/usr/x86_64-pc-linux-gnu/include -isystem /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/usr/x86_64-pc-linux-gnu/sys-include -fno-checking -x c++-header -nostdinc++ -g -O2 -D_GNU_SOURCE -I/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/include -I/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/gcc/libstdc++-v3/libsupc++ -O2 -g /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/gcc/libstdc++-v3/include/precompiled/stdc++.h -o x86_64-pc-linux-gnu/bits/stdc++.h.gch/O2g.gch In file included from /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/include/unordered_map:46, from /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/gcc/libstdc++-v3/include/precompiled/stdc++.h:117: /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/hashtable.h:1317:56: internal compiler error: in merge_exception_specifiers, at cp/typeck2.c:2564 1317 | std::is_nothrow_copy_constructible<_Equal>::value) | ^ In file included from /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/include/unordered_map:46, from /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/gcc/libstdc++-v3/include/precompiled/stdc++.h:117: /export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/hashtable.h:1317:56: internal compiler error: in merge_exception_specifiers, at cp/typeck2.c:2564 1317 | std::is_nothrow_copy_constructible<_Equal>::value) | ^ 0xcf184b merge_exception_specifiers(tree_node*, tree_node*) ../../../gcc/gcc/cp/typeck2.c:2564 0xcc15d5 merge_types(tree_node*, tree_node*) ../../../gcc/gcc/cp/typeck.c:873 0xa33be2 duplicate_decls(tree_node*, tree_node*, bool) ../../../gcc/gcc/cp/decl.c:2259 0xa5772b grokfndecl ../../../gcc/gcc/cp/decl.c:9893 0xa63acf grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**) ../../../gcc/gcc/cp/decl.c:13622 0xa71a5e start_function(cp_decl_specifier_seq*, cp_declarator const*, tree_node*) ../../../gcc/gcc/cp/decl.c:16541 0xb80df2 cp_parser_function_definition_from_specifiers_and_declarator ../../../gcc/gcc/cp/parser.c:28909 0xb70523 cp_parser_init_declarator ../../../gcc/gcc/cp/parser.c:20694 0xb82675 cp_parser_single_declaration ../../../gcc/gcc/cp/parser.c:29528 0xb812fa cp_parser_template_declaration_after_parameters ../../../gcc/gcc/cp/parser.c:29100 0xb8226e cp_parser_explicit_template_declaration ../../../gcc/gcc/cp/parser.c:29366 0xb822c8 cp_parser_template_declaration_after_export ../../../gcc/gcc/cp/parser.c:29385 0xb67265 cp_parser_template_declaration ../../../gcc/gcc/cp/parser.c:15877 0xb62d67 cp_parser_declaration ../../../gcc/gcc/cp/parser.c:13398 0xb6305c cp_parser_toplevel_declaration ../../../gcc/gcc/cp/parser.c:13477 0xb62ae8 cp_parser_declaration_seq_opt ../../../gcc/gcc/cp/parser.c:13325 0xb6e5c4 cp_parser_namespace_body ../../../gcc/gcc/cp/parser.c:19740 0xb6e56d cp_parser_namespace_definition ../../../gcc/gcc/cp/parser.c:19718 0xb62e7b cp_parser_declaration ../../../gcc/gcc/cp/parser.c:13429 0xb6305c cp_parser_toplevel_declaration ../../../gcc/gcc/cp/parser.c:13477 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. make[5]: *** [Makefile:1824: x86_64-pc-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1 make[5]: *** Waiting for unfinished jobs.... 0xcf184b merge_exception_specifiers(tree_node*, tree_node*) ../../../gcc/gcc/cp/typeck2.c:2564 0xcc15d5 merge_types(tree_node*, tree_node*) ../../../gcc/gcc/cp/typeck.c:873 0xa33be2 duplicate_decls(tree_node*, tree_node*, bool) ../../../gcc/gcc/cp/decl.c:2259 0xa5772b grokfndecl ../../../gcc/gcc/cp/decl.c:9893 0xa63acf grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**) ../../../gcc/gcc/cp/decl.c:13622 0xa71a5e start_function(cp_decl_specifier_seq*, cp_declarator const*, tree_node*) ../../../gcc/gcc/cp/decl.c:16541 0xb80df2 cp_parser_function_definition_from_specifiers_and_declarator ../../../gcc/gcc/cp/parser.c:28909 0xb70523 cp_parser_init_declarator ../../../gcc/gcc/cp/parser.c:20694 0xb82675 cp_parser_single_declaration ../../../gcc/gcc/cp/parser.c:29528 0xb812fa cp_parser_template_declaration_after_parameters ../../../gcc/gcc/cp/parser.c:29100 0xb8226e cp_parser_explicit_template_declaration ../../../gcc/gcc/cp/parser.c:29366 0xb822c8 cp_parser_template_declaration_after_export ../../../gcc/gcc/cp/parser.c:29385 0xb67265 cp_parser_template_declaration ../../../gcc/gcc/cp/parser.c:15877 0xb62d67 cp_parser_declaration ../../../gcc/gcc/cp/parser.c:13398 0xb6305c cp_parser_toplevel_declaration ../../../gcc/gcc/cp/parser.c:13477 0xb62ae8 cp_parser_declaration_seq_opt ../../../gcc/gcc/cp/parser.c:13325 0xb6e5c4 cp_parser_namespace_body ../../../gcc/gcc/cp/parser.c:19740 0xb6e56d cp_parser_namespace_definition ../../../gcc/gcc/cp/parser.c:19718 0xb62e7b cp_parser_declaration ../../../gcc/gcc/cp/parser.c:13429 0xb6305c cp_parser_toplevel_declaration ../../../gcc/gcc/cp/parser.c:13477 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. make[5]: *** [Makefile:1829: x86_64-pc-linux-gnu/bits/stdc++.h.gch/O2g.gch] Error 1 make[5]: Leaving directory '/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3/include' make[4]: *** [Makefile:563: all-recursive] Error 1 make[4]: Leaving directory '/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3' make[3]: *** [Makefile:488: all] Error 2 make[3]: Leaving directory '/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld/x86_64-pc-linux-gnu/libstdc++-v3' make[2]: *** [Makefile:15233: all-stage1-target-libstdc++-v3] Error 2 make[2]: Leaving directory '/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld' make[1]: *** [Makefile:21874: stage1-bubble] Error 2 make[1]: Leaving directory '/export/project/git/gcc-bisect-bootstrap/releases/gcc-10/r10-9675/bld' make: *** [Makefile:998: all] Error 2