This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79865] ICE calling member function with template parameter from generic lambda
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Mar 2017 04:34:15 +0000
- Subject: [Bug c++/79865] ICE calling member function with template parameter from generic lambda
- Auto-submitted: auto-generated
- References: <bug-79865-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79865
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-03-09
CC| |msebor at gcc dot gnu.org
Known to work| |7.0
Summary|Crash when calling member |ICE calling member function
|function with template |with template parameter
|parameter from generic |from generic lambda
|lambda |
Ever confirmed|0 |1
Known to fail| |6.3.1
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with the top of 6-branch. Mainline compiles the test case
successfully.
t.C: In lambda function:
t.C:18:30: internal compiler error: Segmentation fault
crashIt<Type>(); // Here's the crash!
~~~~~~~~~~~~~^~
0x10ba55c crash_signal
/src/gcc/6-branch/gcc/toplev.c:333
0x786f7a contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
/src/gcc/6-branch/gcc/tree.h:3126
0xce390d size_binop_loc(unsigned int, tree_code, tree_node*, tree_node*)
/src/gcc/6-branch/gcc/fold-const.c:1750
0xd88454 gimplify_compound_lval
/src/gcc/6-branch/gcc/gimplify.c:2090
0xdabe02 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
/src/gcc/6-branch/gcc/gimplify.c:10331
0xd88e0b gimplify_arg(tree_node**, gimple**, unsigned int)
/src/gcc/6-branch/gcc/gimplify.c:2322
0xd8a0af gimplify_call_expr
/src/gcc/6-branch/gcc/gimplify.c:2539
0xdabea9 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
/src/gcc/6-branch/gcc/gimplify.c:10350
0xd95d84 gimplify_stmt(tree_node**, gimple**)
/src/gcc/6-branch/gcc/gimplify.c:5687
0xd9548d gimplify_cleanup_point_expr
/src/gcc/6-branch/gcc/gimplify.c:5463
0xdad768 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
/src/gcc/6-branch/gcc/gimplify.c:10744
0xd95d84 gimplify_stmt(tree_node**, gimple**)
/src/gcc/6-branch/gcc/gimplify.c:5687
0xd84e94 gimplify_bind_expr
/src/gcc/6-branch/gcc/gimplify.c:1142
0xdacc5f gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
/src/gcc/6-branch/gcc/gimplify.c:10578
0xd95d84 gimplify_stmt(tree_node**, gimple**)
/src/gcc/6-branch/gcc/gimplify.c:5687
0xd84e94 gimplify_bind_expr
/src/gcc/6-branch/gcc/gimplify.c:1142
0xdacc5f gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
/src/gcc/6-branch/gcc/gimplify.c:10578
0xd95d84 gimplify_stmt(tree_node**, gimple**)
/src/gcc/6-branch/gcc/gimplify.c:5687
0xdb00ee gimplify_body(tree_node*, bool)
/src/gcc/6-branch/gcc/gimplify.c:11525
0xdb098a gimplify_function_tree(tree_node*)
/src/gcc/6-branch/gcc/gimplify.c:11681
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.