https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Bug ID: 99983 Summary: [10 regression] ICE in bootstrap while building libstdc++ Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- make[3]: Entering directory '/home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3' make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/home/seurer/gcc/git/build/gcc-10-test/./gcc/xgcc -B/home/seurer/gcc/git/build/gcc-10-test/./gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/home/seurer/gcc/git/install/gcc-10-test" "infodir=/home/seurer/gcc/git/install/gcc-10-test/share/info" "libdir=/home/seurer/gcc/git/install/gcc-10-test/lib" "includedir=/home/seurer/gcc/git/install/gcc-10-test/include" "prefix=/home/seurer/gcc/git/install/gcc-10-test" "tooldir=/home/seurer/gcc/git/install/gcc-10-test/powerpc64le-unknown-linux-gnu" "gxx_include_dir=/home/seurer/gcc/git/install/gcc-10-test/include/c++/10.3.1" "AR=ar" "AS=/home/seurer/gcc/git/build/gcc-10-test/./gcc/as" "LD=/home/seurer/gcc/git/build/gcc-10-test/./gcc/collect-ld" "RANLIB=ranlib" "NM=/home/seurer/gcc/git/build/gcc-10-test/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" all-recursive make[4]: Entering directory '/home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3' Making all in include make[5]: Entering directory '/home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include' mkdir -p ./powerpc64le-unknown-linux-gnu/bits/stdc++.h.gch /home/seurer/gcc/git/build/gcc-10-test/./gcc/xgcc -shared-libgcc -B/home/seurer/gcc/git/build/gcc-10-test/./gcc -nostdinc++ -L/home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/src -L/home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/home/seurer/gcc/git/install/gcc-10-test/powerpc64le-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-10-test/powerpc64le-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-10-test/powerpc64le-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-10-test/powerpc64le-unknown-linux-gnu/sys-include -fno-checking -x c++-header -nostdinc++ -g -O2 -D_GNU_SOURCE -I/home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/git/gcc-10-test/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /home/seurer/gcc/git/gcc-10-test/libstdc++-v3/include/precompiled/stdc++.h \ -o powerpc64le-unknown-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch In file included from /home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/unordered_map:46, from /home/seurer/gcc/git/gcc-10-test/libstdc++-v3/include/precompiled/stdc++.h:117: /home/seurer/gcc/git/build/gcc-10-test/powerpc64le-unknown-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) | ^ 0x109e97e3 merge_exception_specifiers(tree_node*, tree_node*) /home/seurer/gcc/git/gcc-10-test/gcc/cp/typeck2.c:2564 0x109ac773 merge_types(tree_node*, tree_node*) /home/seurer/gcc/git/gcc-10-test/gcc/cp/typeck.c:873 0x1066ef2b duplicate_decls(tree_node*, tree_node*, bool) /home/seurer/gcc/git/gcc-10-test/gcc/cp/decl.c:2259 0x1069c1ff grokfndecl /home/seurer/gcc/git/gcc-10-test/gcc/cp/decl.c:9893 0x106ab2bb grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**) /home/seurer/gcc/git/gcc-10-test/gcc/cp/decl.c:13622 0x106bcc37 start_function(cp_decl_specifier_seq*, cp_declarator const*, tree_node*) /home/seurer/gcc/git/gcc-10-test/gcc/cp/decl.c:16541 0x1081181f cp_parser_function_definition_from_specifiers_and_declarator /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:28909 0x107fb643 cp_parser_init_declarator /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:20694 0x108137b7 cp_parser_single_declaration /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:29528 0x10811e97 cp_parser_template_declaration_after_parameters /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:29100 0x10813213 cp_parser_explicit_template_declaration /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:29366 0x108132bb cp_parser_template_declaration_after_export /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:29385 0x107efa3f cp_parser_template_declaration /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:15877 0x107e9f2b cp_parser_declaration /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:13398 0x107ea2d7 cp_parser_toplevel_declaration /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:13477 0x107e9c23 cp_parser_declaration_seq_opt /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:13325 0x107f900f cp_parser_namespace_body /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:19740 0x107f8f47 cp_parser_namespace_definition /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:19718 0x107ea05b cp_parser_declaration /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:13429 0x107ea2d7 cp_parser_toplevel_declaration /home/seurer/gcc/git/gcc-10-test/gcc/cp/parser.c:13477