This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66387] [5/6 Regression] ICE in make_decl_rtl with lambda
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 14 Jun 2015 17:08:50 +0000
- Subject: [Bug c++/66387] [5/6 Regression] ICE in make_decl_rtl with lambda
- Auto-submitted: auto-generated
- References: <bug-66387-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66387
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 35778
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35778&action=edit
Somewhat reduced testcase
A variant that is still unfixed is attached:
trippels@gcc2-power8 example % g++ -c -std=c++14 tag_dispatching.ii
tag_dispatching.ii: In lambda function:
tag_dispatching.ii:113:38: internal compiler error: in make_decl_rtl, at
varasm.c:1313
N.times.with_index([&](auto) { N - hana::size_t<1>; });
^
0x10a160d3 make_decl_rtl(tree_node*)
../../gcc/gcc/varasm.c:1309
0x104639eb expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../gcc/gcc/expr.c:9581
0x1046d773 expand_expr
../../gcc/gcc/expr.h:254
0x1046d773 expand_expr_addr_expr_1
../../gcc/gcc/expr.c:7722
0x1046227b expand_expr_addr_expr
../../gcc/gcc/expr.c:7850
0x1046227b expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../gcc/gcc/expr.c:10724
0x1046dd7f store_expr_with_bounds(tree_node*, rtx_def*, int, bool, tree_node*)
../../gcc/gcc/expr.c:5385
0x1047360f expand_assignment(tree_node*, tree_node*, bool)
../../gcc/gcc/expr.c:5154
0x10351457 expand_gimple_stmt_1
../../gcc/gcc/cfgexpand.c:3401
0x10351457 expand_gimple_stmt
../../gcc/gcc/cfgexpand.c:3497
0x10357353 expand_gimple_basic_block
../../gcc/gcc/cfgexpand.c:5509
0x10359207 execute
../../gcc/gcc/cfgexpand.c:6127
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.