https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68581

Yury V. Zaytsev <yury.zaytsev at traveltainment dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.2.1                       |6.1.1

--- Comment #1 from Yury V. Zaytsev <yury.zaytsev at traveltainment dot de> ---
$ g++-6 -v
gcc version 6.1.1 20160511 (Ubuntu 6.1.1-3ubuntu11~14.04.1) 

$ g++-6 -std=c++11 -fcilkplus ice.cpp
ice.cpp: In instantiation of ‘void parallel() [with <template-parameter-1-1> =
x]’:
ice.cpp:13:17:   required from here
ice.cpp:8:10: internal compiler error: Segmentation fault
     true ? lambda() : cilk_spawn lambda();
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0xaa43bf crash_signal
        ../../src/gcc/toplev.c:333
0x5b58c2 build_conditional_expr_1
        ../../src/gcc/cp/call.c:4791
0x5b683c build_conditional_expr(unsigned int, tree_node*, tree_node*,
tree_node*, int)
        ../../src/gcc/cp/call.c:5197
0x65c3b0 build_x_conditional_expr(unsigned int, tree_node*, tree_node*,
tree_node*, int)
        ../../src/gcc/cp/typeck.c:6272
0x5e6eb1 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
        ../../src/gcc/cp/pt.c:16666
0x5e1d18 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../src/gcc/cp/pt.c:15801
0x5e18be tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../src/gcc/cp/pt.c:15117
0x5e1494 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../src/gcc/cp/pt.c:15103
0x5e1bb3 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../src/gcc/cp/pt.c:15289
0x5e03af instantiate_decl(tree_node*, int, bool)
        ../../src/gcc/cp/pt.c:22013
0x5fcc0b instantiate_pending_templates(int)
        ../../src/gcc/cp/pt.c:22130
0x61af7d c_parse_final_cleanups()
        ../../src/gcc/cp/decl2.c:4599
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

Reply via email to