OSDN Git Service

* fold-const.c (fold_binary): Correct warning for X - c >= X.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Mar 2007 23:21:46 +0000 (23:21 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Mar 2007 23:21:46 +0000 (23:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123172 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fold-const.c

index c32cb9c..6f14062 100644 (file)
@@ -1,5 +1,9 @@
 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>
index daad1ba..e4efda0 100644 (file)
@@ -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);
                }