http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60848
Bug ID: 60848 Summary: Crash while experimenting with c++-0x initializer lists Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ibronstein at klocwork dot com Created attachment 32604 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32604&action=edit Crashing source $ g++ -c -std=c++0x test03.cpp ================================================================================ test03.cpp: In function ‘void f()’: test03.cpp:10:13: internal compiler error: Segmentation fault foo({1, 2}); ^ 0x89ffef crash_signal ../.././gcc/toplev.c:332 0x4e97ec build_list_conv ../.././gcc/cp/call.c:790 0x4e97ec implicit_conversion ../.././gcc/cp/call.c:1705 0x4e9e5b reference_binding ../.././gcc/cp/call.c:1461 0x4e9344 implicit_conversion ../.././gcc/cp/call.c:1695 0x4ea751 add_function_candidate ../.././gcc/cp/call.c:2001 0x4e86de add_candidates ../.././gcc/cp/call.c:5033 0x4ecead perform_overload_resolution ../.././gcc/cp/call.c:3817 0x4f092a build_new_function_call(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool, int) ../.././gcc/cp/call.c:3894 0x59fe01 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool, bool, int) ../.././gcc/cp/semantics.c:2220 0x55e29a cp_parser_postfix_expression ../.././gcc/cp/parser.c:5855 0x56041d cp_parser_unary_expression ../.././gcc/cp/parser.c:6729 0x560f4f cp_parser_binary_expression ../.././gcc/cp/parser.c:7421 0x5613ff cp_parser_assignment_expression ../.././gcc/cp/parser.c:7657 0x562ff3 cp_parser_expression ../.././gcc/cp/parser.c:7819 0x56375c cp_parser_expression ../.././gcc/cp/parser.c:7858 0x56375c cp_parser_expression_statement ../.././gcc/cp/parser.c:9120 0x55a8e7 cp_parser_statement ../.././gcc/cp/parser.c:8972 0x55baee cp_parser_statement_seq_opt ../.././gcc/cp/parser.c:9238 0x55bc0e cp_parser_compound_statement ../.././gcc/cp/parser.c:9192 ================================================================================