aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2006-02-13 16:08:00 -0700
committerJeff Law <law@gcc.gnu.org>2006-02-13 16:08:00 -0700
commit74290e83e768bde9d1f1db3b25024c2ca87dccdb (patch)
tree07867f06542806a17ef7e27956bc854b62fa0cb8 /gcc/tree-vrp.c
parentb23e103b8318c42fe23a650bb5a0e23a357a8e68 (diff)
downloadgcc-74290e83e768bde9d1f1db3b25024c2ca87dccdb.zip
gcc-74290e83e768bde9d1f1db3b25024c2ca87dccdb.tar.gz
gcc-74290e83e768bde9d1f1db3b25024c2ca87dccdb.tar.bz2
tree-vrp.c (extract_range_from_binary_expr): Remove handling of TRUTH_XOR_EPR.
* tree-vrp.c (extract_range_from_binary_expr): Remove handling of TRUTH_XOR_EPR. From-SVN: r110938
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r--gcc/tree-vrp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index 8734f51..a0950fe 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -1278,8 +1278,7 @@ extract_range_from_binary_expr (value_range_t *vr, tree expr)
&& code != TRUTH_ANDIF_EXPR
&& code != TRUTH_ORIF_EXPR
&& code != TRUTH_AND_EXPR
- && code != TRUTH_OR_EXPR
- && code != TRUTH_XOR_EXPR)
+ && code != TRUTH_OR_EXPR)
{
set_value_range_to_varying (vr);
return;
@@ -1365,8 +1364,7 @@ extract_range_from_binary_expr (value_range_t *vr, tree expr)
if (code == TRUTH_ANDIF_EXPR
|| code == TRUTH_ORIF_EXPR
|| code == TRUTH_AND_EXPR
- || code == TRUTH_OR_EXPR
- || code == TRUTH_XOR_EXPR)
+ || code == TRUTH_OR_EXPR)
{
/* If one of the operands is zero, we know that the whole
expression evaluates zero. */