diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2005-05-16 01:12:07 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-05-16 01:12:07 +0000 |
commit | 43da81be398890b7898e6b9f23cece186f5950fa (patch) | |
tree | 9ae1ca4cfd3a16282eccd4a1235eecbb784104c3 /gcc/tree-inline.c | |
parent | cea02b6e7ee16a7f4e568dc63c3f8b27144a5a13 (diff) | |
download | gcc-43da81be398890b7898e6b9f23cece186f5950fa.zip gcc-43da81be398890b7898e6b9f23cece186f5950fa.tar.gz gcc-43da81be398890b7898e6b9f23cece186f5950fa.tar.bz2 |
re PR tree-optimization/21576 (FRE does not eliminate a redundant builtin call.)
2005-05-15 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/21576
* tree-ssa-pre.c (expression_node_pool): New pool.
(comparison_node_pool): Ditto.
(list_node_pool): Ditto.
(pool_copy_list): New function.
(phi_translate): Handle CALL_EXPR.
(valid_in_set): Ditto.
(create_expression_by_pieces): Ditto.
(insert_into_preds_of_block): Ditto.
(insert_aux): Ditto.
(compute_avail): Ditto.
(create_value_expr_from): Handle TREE_LIST and CALL_EXPR.
(can_value_number_call): New function.
(find_leader): Update comment.
(init_pre): Create new pools.
(fini_pre): Free new pools.
(pass_pre): Add TODO_update_ssa for the future when we are going
to need vops.
* tree-vn.c (expressions_equal_p): Handle TREE_LIST.
(set_value_handle): Ditto.
(get_value_handle): Ditto.
From-SVN: r99759
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions