(convert_to_integer): Delete Feb 19 change.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 25 Feb 1993 19:34:16 +0000 (11:34 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 25 Feb 1993 19:34:16 +0000 (11:34 -0800)
From-SVN: r3531

gcc/convert.c

index 8b3b291..c67f510 100644 (file)
@@ -172,32 +172,6 @@ convert_to_integer (type, expr)
 
       switch (ex_form)
        {
-#if 0
-        case INTEGER_CST:
-         if (TREE_UNSIGNED (type))
-           {
-             if (TREE_INT_CST_LOW (expr) >> outprec)
-               warning ("integer constant truncated");
-           }
-         else
-           {
-             /* if the sign bit of the low-order part isn't replicated
-                through the entire high part, we have overflow */
-             int sign  = TREE_INT_CST_LOW (expr) & (1 << (outprec - 1));
-             if (!sign)                       /* lower part positive */
-               {
-                 if (TREE_INT_CST_LOW (expr) >> outprec)
-                   warning ("integer constant truncated");
-               }
-             else 
-               {
-                 if ((TREE_INT_CST_LOW (expr) >> outprec) + 1)
-                   warning ("integer constant truncated");
-               }
-           }
-         break;
-#endif /* 0 */
-
        case RSHIFT_EXPR:
          /* We can pass truncation down through right shifting
             when the shift count is a nonpositive constant.  */