diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-14 11:36:58 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-14 11:36:58 +0000 |
commit | 1c88e4bc91881bfbd05b30c0f8f372b58e74ab26 (patch) | |
tree | c9a8502783bb0ca2f7a1c55b6fc7103a3eddc9ac /gcc | |
parent | a31fefa303e2d436018ec70fe28c657285c0e7dd (diff) | |
download | gcc-1c88e4bc91881bfbd05b30c0f8f372b58e74ab26.tar.gz |
2012-05-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/53340
* tree-ssa-pre.c (op_valid_in_sets): Fix error in last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-pre.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 143cefcfa54..b517b048705 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2012-05-14 Richard Guenther <rguenther@suse.de> + PR tree-optimization/53340 + * tree-ssa-pre.c (op_valid_in_sets): Fix error in last commit. + +2012-05-14 Richard Guenther <rguenther@suse.de> + * gimplify.c (gimplify_expr): Remove odd code. 2012-05-14 Eric Botcazou <ebotcazou@adacore.com> diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 0550879faa8..dbe0c493818 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -2007,8 +2007,8 @@ op_valid_in_sets (bitmap_set_t set1, bitmap_set_t set2, tree op) if (op && TREE_CODE (op) == SSA_NAME) { unsigned int value_id = VN_INFO (op)->value_id; - if (!bitmap_set_contains_value (set1, value_id) - || (set2 && !bitmap_set_contains_value (set2, value_id))) + if (!(bitmap_set_contains_value (set1, value_id) + || (set2 && bitmap_set_contains_value (set2, value_id)))) return false; } return true; |