]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* fold-const.c (fold): Fix a typo.
authorJakub Jelinek <jakub@redhat.com>
Tue, 15 Oct 2002 22:10:00 +0000 (00:10 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 15 Oct 2002 22:10:00 +0000 (00:10 +0200)
From-SVN: r58181

gcc/ChangeLog
gcc/fold-const.c

index 9873a34c6a5b1b3b28b7ab30d9c0082517ff97e5..da14609ace06657f924b12df8c4f1709afdd57ac 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * fold-const.c (fold): Fix a typo.
+
 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
 
        PR target/7370
index a7e1e284086996e8aa814805c1daf3eaf8074869..f44c482379a06bd20a904fb738f0c5975b056c09 100644 (file)
@@ -6535,7 +6535,7 @@ fold (expr)
 
            else if (TREE_INT_CST_HIGH (arg1) == -1
                     && (TREE_INT_CST_LOW (arg1)
-                        == ((unsigned HOST_WIDE_INT) 1 << (width - 1)))
+                        == ((unsigned HOST_WIDE_INT) -1 << (width - 1)))
                     && ! TREE_UNSIGNED (TREE_TYPE (arg1)))
              switch (TREE_CODE (t))
                {