diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-08 11:58:03 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-08 11:58:03 +0000 |
commit | 70cd63a3242be8a469a3e9d9eaf5932a95b000f0 (patch) | |
tree | 0366d9fd3496ec410bfcf8987b7f5b77736e7c41 /gcc/tree-ssa-pre.c | |
parent | 2554cbe7abc41efd28c1cea87ed67ff48ac4328a (diff) | |
download | gcc-70cd63a3242be8a469a3e9d9eaf5932a95b000f0.tar.gz |
2012-10-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54825
* tree-ssa-sccvn.c (vn_nary_length_from_stmt): Handle BIT_FIELD_REF.
(init_vn_nary_op_from_stmt): Likewise.
* tree-ssa-pre.c (compute_avail): Use vn_nary_op_lookup_stmt.
* tree-ssa-sccvn.h (sizeof_vn_nary_op): Avoid overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192205 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r-- | gcc/tree-ssa-pre.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 5feed3b5153..fe9186cefa9 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -3849,11 +3849,7 @@ compute_avail (void) || code == VEC_COND_EXPR) continue; - vn_nary_op_lookup_pieces (gimple_num_ops (stmt) - 1, - code, - gimple_expr_type (stmt), - gimple_assign_rhs1_ptr (stmt), - &nary); + vn_nary_op_lookup_stmt (stmt, &nary); if (!nary) continue; |