This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Nov 2018 21:04:55 +0000
- Subject: [Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3
- Auto-submitted: auto-generated
- References: <bug-87814-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87814
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I actually still see an ICE in tsubst_copy:
h.C: In instantiation of ‘constexpr adaptor_cursor::adaptor_cursor(Args&& ...)
[with Args = {int*}][inherited from compressed_tuple_<int*>]’:
h.C:24:43: required from here
h.C:20:30: internal compiler error: in tsubst_copy, at cp/pt.c:16090
20 | using compressed_tuple_::compressed_tuple_;
| ^~~~~~~~~~~~~~~~~
0x80b870 tsubst_copy
/home/mpolacek/src/gcc/gcc/cp/pt.c:16090
0xa3cbc2 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
/home/mpolacek/src/gcc/gcc/cp/pt.c:19160
0xa4286b tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
/home/mpolacek/src/gcc/gcc/cp/pt.c:17862
0xa4286b tsubst_exception_specification
/home/mpolacek/src/gcc/gcc/cp/pt.c:14231
0xa509b4 regenerate_decl_from_template
/home/mpolacek/src/gcc/gcc/cp/pt.c:23584
0xa509b4 instantiate_decl(tree_node*, bool, bool)
/home/mpolacek/src/gcc/gcc/cp/pt.c:24154
0x8e74c9 instantiate_cx_fn_r
/home/mpolacek/src/gcc/gcc/cp/constexpr.c:4944