public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++
@ 2021-04-09 3:48 seurer at gcc dot gnu.org
2021-04-09 4:10 ` [Bug bootstrap/99983] " seurer at gcc dot gnu.org
` (17 more replies)
0 siblings, 18 replies; 19+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-04-09 3:48 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
@ 2021-04-09 4:10 ` seurer at gcc dot gnu.org
2021-04-09 7:12 ` rguenth at gcc dot gnu.org
` (16 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-04-09 4:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
seurer at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |powerpc64*-linux-gnu
Host| |powerpc64*-linux-gnu
Build| |powerpc64*-linux-gnu
--- Comment #1 from seurer at gcc dot gnu.org ---
The failures shown were on a power 8 LE system for
g:348fb9db7858b0fe852da3cd1195b90b2211b983, r10-9675. I have something running
to look for what revision started it.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
2021-04-09 4:10 ` [Bug bootstrap/99983] " seurer at gcc dot gnu.org
@ 2021-04-09 7:12 ` rguenth at gcc dot gnu.org
2021-04-09 8:03 ` mkuvyrkov at gcc dot gnu.org
` (15 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-09 7:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |10.4
CC| |rguenth at gcc dot gnu.org
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, 10.3.0 bootstrapped fine for me (but using --with-cpu=power8
--with-tune=power9 just in case that makes a diference).
How did you configure?
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
2021-04-09 4:10 ` [Bug bootstrap/99983] " seurer at gcc dot gnu.org
2021-04-09 7:12 ` rguenth at gcc dot gnu.org
@ 2021-04-09 8:03 ` mkuvyrkov at gcc dot gnu.org
2021-04-09 8:34 ` rguenth at gcc dot gnu.org
` (14 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: mkuvyrkov at gcc dot gnu.org @ 2021-04-09 8:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Build|powerpc64*-linux-gnu |powerpc64*-linux-gnu
| |x86_64-linux-gnu
| |aarch64-linux-gnu
| |arm-linux-gnueabihf
Target|powerpc64*-linux-gnu |powerpc64*-linux-gnu
| |x86_64-linux-gnu
| |aarch64-linux-gnu
| |arm-linux-gnueabihf
CC| |fdumont at gcc dot gnu.org,
| |mkuvyrkov at gcc dot gnu.org
Host|powerpc64*-linux-gnu |powerpc64*-linux-gnu
| |x86_64-linux-gnu
| |aarch64-linux-gnu
| |arm-linux-gnueabihf
--- Comment #3 from Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> ---
(In reply to seurer from comment #1)
> The failures shown were on a power 8 LE system for
> g:348fb9db7858b0fe852da3cd1195b90b2211b983, r10-9675. I have something
> running to look for what revision started it.
It appears to be
===
commit 1c4e8a96cd695c03ff85299bf2392476feae99bb
Author: François Dumont <fdumont@gcc.gnu.org>
Date: Mon Jan 20 19:15:43 2020 +0100
libstdc++: Fix unordered containers move constructors noexcept qualification
_Hashtable move constructor is wrongly qualified as noexcept(true) regardless
of
_Equal and _H1 copy constructor qualifications.
_Hashtable allocator-aware move constructor is missing its noexcept
qualification like the depending unordered containers ones.
This backport also includes the changes from r11-8062.
===
And also confirmed on x86_64, aarch64, and aarch32.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (2 preceding siblings ...)
2021-04-09 8:03 ` mkuvyrkov at gcc dot gnu.org
@ 2021-04-09 8:34 ` rguenth at gcc dot gnu.org
2021-04-09 8:34 ` rguenth at gcc dot gnu.org
` (13 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-09 8:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |10.3.0
Last reconfirmed| |2021-04-09
Priority|P3 |P1
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Thus confirmed.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (3 preceding siblings ...)
2021-04-09 8:34 ` rguenth at gcc dot gnu.org
@ 2021-04-09 8:34 ` rguenth at gcc dot gnu.org
2021-04-09 9:54 ` [Bug bootstrap/99983] [9/10 " ro at gcc dot gnu.org
` (12 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-09 8:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
I suggest to revert.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (4 preceding siblings ...)
2021-04-09 8:34 ` rguenth at gcc dot gnu.org
@ 2021-04-09 9:54 ` ro at gcc dot gnu.org
2021-04-09 9:58 ` rguenth at gcc dot gnu.org
` (11 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: ro at gcc dot gnu.org @ 2021-04-09 9:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |9.4
Summary|[10 regression] ICE in |[9/10 regression] ICE in
|bootstrap while building |bootstrap while building
|libstdc++ |libstdc++
CC| |ro at gcc dot gnu.org
Target|powerpc64*-linux-gnu |powerpc64*-linux-gnu
|x86_64-linux-gnu |x86_64-linux-gnu
|aarch64-linux-gnu |aarch64-linux-gnu
|arm-linux-gnueabihf |arm-linux-gnueabihf,
| |*-*-solaris2.*
Host|powerpc64*-linux-gnu |powerpc64*-linux-gnu
|x86_64-linux-gnu |x86_64-linux-gnu
|aarch64-linux-gnu |aarch64-linux-gnu
|arm-linux-gnueabihf |arm-linux-gnueabihf,
| |*-*-solaris2.*
Build|powerpc64*-linux-gnu |powerpc64*-linux-gnu
|x86_64-linux-gnu |x86_64-linux-gnu
|aarch64-linux-gnu |aarch64-linux-gnu
|arm-linux-gnueabihf |arm-linux-gnueabihf,
| |*-*-solaris2.*
--- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> ---
I'm seeing exactly the same ICE on the gcc-9 branch for sparc-sun-solaris2.10
and
i386-pc-solaris2.10. The same patch has been backported there, too.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (5 preceding siblings ...)
2021-04-09 9:54 ` [Bug bootstrap/99983] [9/10 " ro at gcc dot gnu.org
@ 2021-04-09 9:58 ` rguenth at gcc dot gnu.org
2021-04-09 12:53 ` mkuvyrkov at gcc dot gnu.org
` (10 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-09 9:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |9.3.0
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yes, the offending rev. was backported to 9 (but not 8, I checked).
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (6 preceding siblings ...)
2021-04-09 9:58 ` rguenth at gcc dot gnu.org
@ 2021-04-09 12:53 ` mkuvyrkov at gcc dot gnu.org
2021-04-09 13:40 ` jakub at gcc dot gnu.org
` (9 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: mkuvyrkov at gcc dot gnu.org @ 2021-04-09 12:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
--- Comment #8 from Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> ---
I'll revert on gcc-10 and then backport the revert to gcc-9.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (7 preceding siblings ...)
2021-04-09 12:53 ` mkuvyrkov at gcc dot gnu.org
@ 2021-04-09 13:40 ` jakub at gcc dot gnu.org
2021-04-09 14:02 ` marxin at gcc dot gnu.org
` (8 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-09 13:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |redi at gcc dot gnu.org
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I guess we want in addition to the reversions (if needed) try to cvise reduce a
testcase and bisect what if anything fixed it on the trunk and file a PR for
that and see if it can be fixed on the branches.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (8 preceding siblings ...)
2021-04-09 13:40 ` jakub at gcc dot gnu.org
@ 2021-04-09 14:02 ` marxin at gcc dot gnu.org
2021-04-09 14:24 ` redi at gcc dot gnu.org
` (7 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-04-09 14:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
*** Bug 99996 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (9 preceding siblings ...)
2021-04-09 14:02 ` marxin at gcc dot gnu.org
@ 2021-04-09 14:24 ` redi at gcc dot gnu.org
2021-04-09 14:25 ` redi at gcc dot gnu.org
` (6 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-09 14:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This should fix it:
--- a/libstdc++-v3/include/bits/hashtable.h
+++ b/libstdc++-v3/include/bits/hashtable.h
@@ -1319,8 +1319,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
_H1, _H2, _Hash, _RehashPolicy, _Traits>::
_Hashtable(_Hashtable&& __ht, __node_alloc_type&& __a,
true_type /* alloc always equal */)
- noexcept(std::is_nothrow_copy_constructible<_H1>::value &&
- std::is_nothrow_copy_constructible<_Equal>::value)
+ noexcept(_S_nothrow_move())
: __hashtable_base(__ht),
__map_base(__ht),
__rehash_base(__ht),
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (10 preceding siblings ...)
2021-04-09 14:24 ` redi at gcc dot gnu.org
@ 2021-04-09 14:25 ` redi at gcc dot gnu.org
2021-04-09 14:48 ` mpolacek at gcc dot gnu.org
` (5 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-09 14:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(the backport was incomplete, I must have messed up a conflict resolution)
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (11 preceding siblings ...)
2021-04-09 14:25 ` redi at gcc dot gnu.org
@ 2021-04-09 14:48 ` mpolacek at gcc dot gnu.org
2021-04-09 15:15 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-04-09 14:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #13 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I see the ICE on x86_64 too. Reducing...
$ xg++ -c fs_path.ii
In file included from
/home/mpolacek/x/gcc10/x86_64-pc-linux-gnu/libstdc++-v3/include/unordered_map:46,
from
/home/mpolacek/x/gcc10/x86_64-pc-linux-gnu/libstdc++-v3/include/functional:61,
from
/home/mpolacek/x/gcc10/x86_64-pc-linux-gnu/libstdc++-v3/include/pstl/glue_algorithm_defs.h:13,
from
/home/mpolacek/x/gcc10/x86_64-pc-linux-gnu/libstdc++-v3/include/algorithm:74,
from
/home/mpolacek/src/gcc10/libstdc++-v3/src/c++17/fs_path.cc:35:
/home/mpolacek/x/gcc10/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/hashtable.h:1317:63:
internal compiler error: in merge_exception_specifiers, at cp/typeck2.c:2420
1317 | std::is_nothrow_copy_constructible<_Equal>::value)
| ^
0xe1e274 merge_exception_specifiers(tree_node*, tree_node*)
/home/mpolacek/src/gcc/gcc/cp/typeck2.c:2420
0xdef11c merge_types(tree_node*, tree_node*)
/home/mpolacek/src/gcc/gcc/cp/typeck.c:890
0xb14e18 duplicate_decls(tree_node*, tree_node*, bool, bool)
/home/mpolacek/src/gcc/gcc/cp/decl.c:2339
0xb3a380 grokfndecl
/home/mpolacek/src/gcc/gcc/cp/decl.c:10143
0xb468b3 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*,
decl_context, int, tree_node**)
/home/mpolacek/src/gcc/gcc/cp/decl.c:13903
0xb54ba2 start_function(cp_decl_specifier_seq*, cp_declarator const*,
tree_node*)
/home/mpolacek/src/gcc/gcc/cp/decl.c:16838
0xcb0635 cp_parser_function_definition_from_specifiers_and_declarator
/home/mpolacek/src/gcc/gcc/cp/parser.c:29904
0xc9f847 cp_parser_init_declarator
/home/mpolacek/src/gcc/gcc/cp/parser.c:21634
0xcb1f58 cp_parser_single_declaration
/home/mpolacek/src/gcc/gcc/cp/parser.c:30528
0xcb0bdd cp_parser_template_declaration_after_parameters
/home/mpolacek/src/gcc/gcc/cp/parser.c:30100
0xcb1b51 cp_parser_explicit_template_declaration
/home/mpolacek/src/gcc/gcc/cp/parser.c:30366
0xcb1bab cp_parser_template_declaration_after_export
/home/mpolacek/src/gcc/gcc/cp/parser.c:30385
0xc95af6 cp_parser_template_declaration
/home/mpolacek/src/gcc/gcc/cp/parser.c:16594
0xc913c4 cp_parser_declaration
/home/mpolacek/src/gcc/gcc/cp/parser.c:14070
0xc917d7 cp_parser_toplevel_declaration
/home/mpolacek/src/gcc/gcc/cp/parser.c:14168
0xc90f78 cp_parser_declaration_seq_opt
/home/mpolacek/src/gcc/gcc/cp/parser.c:13956
0xc9ce98 cp_parser_namespace_body
/home/mpolacek/src/gcc/gcc/cp/parser.c:20465
0xc9ce41 cp_parser_namespace_definition
/home/mpolacek/src/gcc/gcc/cp/parser.c:20443
0xc915c7 cp_parser_declaration
/home/mpolacek/src/gcc/gcc/cp/parser.c:14119
0xc917d7 cp_parser_toplevel_declaration
/home/mpolacek/src/gcc/gcc/cp/parser.c:14168
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (12 preceding siblings ...)
2021-04-09 14:48 ` mpolacek at gcc dot gnu.org
@ 2021-04-09 15:15 ` cvs-commit at gcc dot gnu.org
2021-04-09 16:41 ` mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-09 15:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:2ed860be33b61ea553bf44976ef877c8356d601b
commit r10-9680-g2ed860be33b61ea553bf44976ef877c8356d601b
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Apr 9 15:47:26 2021 +0100
libstdc++: Fix bootstrap error due to inconsistent noexcept-specifier [PR
99983]
The backport of r11-8062 as r10-9673 missed out a piece, which causes
bootstrap failures.
PR bootstrap/99983
* include/bits/hashtable.h (_Hashtable): Fix noexcept-speciofier
on definition to match the one on the declaration.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (13 preceding siblings ...)
2021-04-09 15:15 ` cvs-commit at gcc dot gnu.org
@ 2021-04-09 16:41 ` mpolacek at gcc dot gnu.org
2021-04-09 16:42 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-04-09 16:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=100003
--- Comment #15 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #13)
> I see the ICE on x86_64 too. Reducing...
Tracked in bug 100003.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (14 preceding siblings ...)
2021-04-09 16:41 ` mpolacek at gcc dot gnu.org
@ 2021-04-09 16:42 ` cvs-commit at gcc dot gnu.org
2021-04-09 16:43 ` redi at gcc dot gnu.org
2021-04-09 17:10 ` redi at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-09 16:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:9aeab5815df1ec52b1048a157ef243a4c45234b7
commit r9-9336-g9aeab5815df1ec52b1048a157ef243a4c45234b7
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Apr 9 15:47:26 2021 +0100
libstdc++: Fix bootstrap error due to inconsistent noexcept-specifier [PR
99983]
The backport of r11-8062 as r9-9328 missed out a piece, which causes
bootstrap failures.
PR bootstrap/99983
* include/bits/hashtable.h (_Hashtable): Fix noexcept-specifier
on definition to match the one on the declaration.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (15 preceding siblings ...)
2021-04-09 16:42 ` cvs-commit at gcc dot gnu.org
@ 2021-04-09 16:43 ` redi at gcc dot gnu.org
2021-04-09 17:10 ` redi at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-09 16:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It should be fixed now, sorry about that.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug bootstrap/99983] [9/10 regression] ICE in bootstrap while building libstdc++
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
` (16 preceding siblings ...)
2021-04-09 16:43 ` redi at gcc dot gnu.org
@ 2021-04-09 17:10 ` redi at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-09 17:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99983
--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Maxim Kuvyrkov from comment #3)
> It appears to be
> ===
> commit 1c4e8a96cd695c03ff85299bf2392476feae99bb
> Author: François Dumont <fdumont@gcc.gnu.org>
> Date: Mon Jan 20 19:15:43 2020 +0100
>
> libstdc++: Fix unordered containers move constructors noexcept qualification
>
> _Hashtable move constructor is wrongly qualified as noexcept(true)
> regardless of
> _Equal and _H1 copy constructor qualifications.
> _Hashtable allocator-aware move constructor is missing its noexcept
> qualification like the depending unordered containers ones.
>
> This backport also includes the changes from r11-8062.
> ===
>
> And also confirmed on x86_64, aarch64, and aarch32.
N.B. the original patch on trunk was by François, but the backport was done by
me, with the "changes from r11-8062" which were mine and which caused the
issue. I probably should have kept them separate, so François wouldn't get
blamed.
I didn't see this PR (and that I'd caused it) until I was CC'd in comment 9.
Sorry it took so long to fix.
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2021-04-09 17:10 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 3:48 [Bug bootstrap/99983] New: [10 regression] ICE in bootstrap while building libstdc++ seurer at gcc dot gnu.org
2021-04-09 4:10 ` [Bug bootstrap/99983] " seurer at gcc dot gnu.org
2021-04-09 7:12 ` rguenth at gcc dot gnu.org
2021-04-09 8:03 ` mkuvyrkov at gcc dot gnu.org
2021-04-09 8:34 ` rguenth at gcc dot gnu.org
2021-04-09 8:34 ` rguenth at gcc dot gnu.org
2021-04-09 9:54 ` [Bug bootstrap/99983] [9/10 " ro at gcc dot gnu.org
2021-04-09 9:58 ` rguenth at gcc dot gnu.org
2021-04-09 12:53 ` mkuvyrkov at gcc dot gnu.org
2021-04-09 13:40 ` jakub at gcc dot gnu.org
2021-04-09 14:02 ` marxin at gcc dot gnu.org
2021-04-09 14:24 ` redi at gcc dot gnu.org
2021-04-09 14:25 ` redi at gcc dot gnu.org
2021-04-09 14:48 ` mpolacek at gcc dot gnu.org
2021-04-09 15:15 ` cvs-commit at gcc dot gnu.org
2021-04-09 16:41 ` mpolacek at gcc dot gnu.org
2021-04-09 16:42 ` cvs-commit at gcc dot gnu.org
2021-04-09 16:43 ` redi at gcc dot gnu.org
2021-04-09 17:10 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).