problem after using gsi_remove

李宗霖 fight1995go@gmail.com
Mon Jun 3 17:12:00 GMT 2019


Hello,

I use gsi_remove to remove some call statement.
Then it comes out some error message after the last basic block.
But I didn't use the function(ex. like dominated_by_p,
get_continuation_for_phi, etc)  in these error message.
After that, I add bitmap_set_bit to fix, but it still the same.

Here is the error message:
0x9daf2f crash_signal
/home/cc/gcc/src/gcc/toplev.c:337
0x6dc947 dominated_by_p(cdi_direction, basic_block_def const*,
basic_block_def const*)
/home/cc/gcc/src/gcc/dominance.c:1117
0xa9a216 get_continuation_for_phi(gimple*, ao_ref*, unsigned int*,
bitmap_head**, bool, void* (*)(ao_ref*, tree_node*, void*, bool*), void*)
/home/cc/gcc/src/gcc/tree-ssa-alias.c:2780
0xa9a605 walk_non_aliased_vuses(ao_ref*, tree_node*, void* (*)(ao_ref*,
tree_node*, unsigned int, void*), void* (*)(ao_ref*, tree_node*, void*,
bool*), tree_node* (*)(tree_node*), void*)
/home/cc/gcc/src/gcc/tree-ssa-alias.c:2862
0xb2f1c9 vn_reference_lookup(tree_node*, tree_node*, vn_lookup_kind,
vn_reference_s**, bool)
/home/cc/gcc/src/gcc/tree-ssa-sccvn.c:2462
0xb31b50 visit_reference_op_load
/home/cc/gcc/src/gcc/tree-ssa-sccvn.c:3703
0xb31b50 visit_use
/home/cc/gcc/src/gcc/tree-ssa-sccvn.c:4043
0xb33c2c process_scc
/home/cc/gcc/src/gcc/tree-ssa-sccvn.c:4274
0xb33c2c extract_and_process_scc_for_name
/home/cc/gcc/src/gcc/tree-ssa-sccvn.c:4361
0xb33c2c DFS
/home/cc/gcc/src/gcc/tree-ssa-sccvn.c:4413
0xb341cd sccvn_dom_walker::before_dom_children(basic_block_def*)
/home/cc/gcc/src/gcc/tree-ssa-sccvn.c:4879
0xfcb6aa dom_walker::walk(basic_block_def*)
/home/cc/gcc/src/gcc/domwalk.c:265
0xb34cfa run_scc_vn(vn_lookup_kind)
/home/cc/gcc/src/gcc/tree-ssa-sccvn.c:4990
0xb0a064 execute
/home/cc/gcc/src/gcc/tree-ssa-pre.c:5218

Thanks.
Lee



More information about the Gcc-help mailing list