* fold-const.c (fold_convert): Fix typo.
authorMark Mitchell <mark@codesourcery.com>
Wed, 3 Jan 2001 00:13:33 +0000 (00:13 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 3 Jan 2001 00:13:33 +0000 (00:13 +0000)
From-SVN: r38640

gcc/ChangeLog
gcc/fold-const.c

index 1e3497fe135534ee3f749b2ec6b67dcc6e71bc08..adb0b315257b605aced653b4568e96cc404f21fb 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-02  Mark Mitchell  <mark@codesourcery.com>
+
+       * fold-const.c (fold_convert): Fix typo.
+
 2001-01-02  Richard Henderson  <rth@redhat.com>
 
        * c-common.h (ASM_INPUT_P): New.
index a0a76b2d4916f8413dc9710915a0cf390080c1e7..b02fdaa33e20017e2d2f0aab122a7088176d2f57 100644 (file)
@@ -2020,7 +2020,7 @@ fold_convert (t, arg1)
 
          /* If we are trying to make a sizetype for a small integer, use
             size_int to pick up cached types to reduce duplicate nodes.  */
-         if (TREE_CODE (type) == INTEGER_CST && TYPE_IS_SIZETYPE (type)
+         if (TREE_CODE (type) == INTEGER_TYPE && TYPE_IS_SIZETYPE (type)
              && compare_tree_int (arg1, 10000) < 0)
            return size_int_type_wide (TREE_INT_CST_LOW (arg1), type);