(size_in_bytes): Only call force_fit_type for an INTEGER_CST.
authorRichard Stallman <rms@gnu.org>
Sat, 30 Jan 1993 01:56:57 +0000 (01:56 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 30 Jan 1993 01:56:57 +0000 (01:56 +0000)
From-SVN: r3386

gcc/tree.c

index 9348e0cecc4d48fdb0fa3147a6828a6a17bc97cd..af1e681d3622b204a283817eb9b074e8238ada15 100644 (file)
@@ -1704,7 +1704,8 @@ size_in_bytes (type)
     }
   t = size_binop (CEIL_DIV_EXPR, TYPE_SIZE (type),
                  size_int (BITS_PER_UNIT));
-  force_fit_type (t);
+  if (TREE_CODE (t) == INTEGER_CST)
+    force_fit_type (t);
   return t;
 }