Commit f870ab63 by Ian Lance Taylor Committed by Ian Lance Taylor

* fold-const.c (fold_binary): Correct warning for X - c >= X.

From-SVN: r123172
parent ed3d212b
2007-03-23 Ian Lance Taylor <iant@google.com>
* fold-const.c (fold_binary): Correct warning for X - c >= X.
2007-03-23 Ian Lance Taylor <iant@google.com>
* tree-dump.c (dump_files): Correct comment.
2007-03-23 Ian Lance Taylor <iant@google.com>
......
......@@ -11802,7 +11802,7 @@ fold_binary (enum tree_code code, tree type, tree op0, tree op1)
if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (arg1)))
fold_overflow_warning (("assuming signed overflow does "
"not occur when assuming that "
"(X - c) >= X is always true"),
"(X - c) >= X is always false"),
WARN_STRICT_OVERFLOW_ALL);
return constant_boolean_node (0, type);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment