This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64931] ICE on function with deduced return type and input is instantiated template class
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Mar 2015 11:15:16 +0000
- Subject: [Bug c++/64931] ICE on function with deduced return type and input is instantiated template class
- Auto-submitted: auto-generated
- References: <bug-64931-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64931
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-03-04
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
f.cc: In function âauto copy(const array<int, 32ul>&)â:
f.cc:7:10: internal compiler error: Segmentation fault
return x;
^
0xca615f crash_signal
/home/jwakely/src/gcc/gcc/gcc/toplev.c:383
0xabb836 gimplify_return_expr
/home/jwakely/src/gcc/gcc/gcc/gimplify.c:1280
0xaa8510 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
/home/jwakely/src/gcc/gcc/gcc/gimplify.c:8144
0xaabdb6 gimplify_stmt(tree_node**, gimple_statement_base**)
/home/jwakely/src/gcc/gcc/gcc/gimplify.c:5514
0xaa7750 gimplify_cleanup_point_expr
/home/jwakely/src/gcc/gcc/gcc/gimplify.c:5290
0xaa7750 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
/home/jwakely/src/gcc/gcc/gcc/gimplify.c:8260
0xaabdb6 gimplify_stmt(tree_node**, gimple_statement_base**)
/home/jwakely/src/gcc/gcc/gcc/gimplify.c:5514
0xaad72d gimplify_body(tree_node*, bool)
/home/jwakely/src/gcc/gcc/gcc/gimplify.c:9048
0xaadd86 gimplify_function_tree(tree_node*)
/home/jwakely/src/gcc/gcc/gcc/gimplify.c:9202
0x8ed6d7 cgraph_node::analyze()
/home/jwakely/src/gcc/gcc/gcc/cgraphunit.c:633
0x8f0406 analyze_functions
/home/jwakely/src/gcc/gcc/gcc/cgraphunit.c:1023
0x8f0b75 symbol_table::finalize_compilation_unit()
/home/jwakely/src/gcc/gcc/gcc/cgraphunit.c:2435
0x6bcde0 cp_write_global_declarations()
/home/jwakely/src/gcc/gcc/gcc/cp/decl2.c:4754