[Bug target/94950] [8/9/10 regression] ICE in gcc.dg/pr94780.c on riscv64

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Tue May 5 10:06:08 GMT 2020


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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Similar crash for pr94842.c:

/daten/riscv64/gcc/gcc-20200502/gcc/testsuite/gcc.dg/pr94842.c:8:1: internal
compiler error: Segmentation fault
0x74a3af crash_signal
        ../../gcc/toplev.c:328
0x7ea370 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/tree.h:3293
0x7ea370 convert_nonlocal_reference_op
        ../../gcc/tree-nested.c:1064
0x9e3abb walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:12003
0x4be799 walk_gimple_op(gimple*, tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
        ../../gcc/gimple-walk.c:268
0x4be9e3 walk_gimple_stmt(gimple_stmt_iterator*, tree_node*
(*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**,
int*, void*), walk_stmt_info*)
        ../../gcc/gimple-walk.c:596
0x4beb93 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*,
bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
        ../../gcc/gimple-walk.c:51
0x4beadb walk_gimple_stmt(gimple_stmt_iterator*, tree_node*
(*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**,
int*, void*), walk_stmt_info*)
        ../../gcc/gimple-walk.c:605
0x4beb93 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*,
bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
        ../../gcc/gimple-walk.c:51
0x7e4801 walk_body
        ../../gcc/tree-nested.c:713
0x7e4801 walk_function
        ../../gcc/tree-nested.c:724
0x7e4801 walk_all_functions
        ../../gcc/tree-nested.c:789
0x7ecb2f lower_nested_functions(tree_node*)
        ../../gcc/tree-nested.c:3551
0x363201 cgraph_node::analyze()
        ../../gcc/cgraphunit.c:676
0x365df7 analyze_functions
        ../../gcc/cgraphunit.c:1227
0x366c45 symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2974


More information about the Gcc-bugs mailing list