]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree.c (build_range_type): Copy TYPE_SIZE_UNIT.
authorPeter Gerwinski <peter@gerwinski.de>
Tue, 28 Jul 1998 22:18:53 +0000 (16:18 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 28 Jul 1998 22:18:53 +0000 (16:18 -0600)
8
        * tree.c (build_range_type): Copy TYPE_SIZE_UNIT.

From-SVN: r21454

gcc/tree.c

index 83c42c565261da782902711ebcaa1ea82e0e371f..1f6b5a66e72d5e250df923a569ea217ea7e2a5bd 100644 (file)
@@ -4167,6 +4167,7 @@ build_range_type (type, lowval, highval)
   TYPE_PRECISION (itype) = TYPE_PRECISION (type);
   TYPE_MODE (itype) = TYPE_MODE (type);
   TYPE_SIZE (itype) = TYPE_SIZE (type);
+  TYPE_SIZE_UNIT (itype) = TYPE_SIZE_UNIT (type);
   TYPE_ALIGN (itype) = TYPE_ALIGN (type);
   if (TREE_CODE (lowval) == INTEGER_CST)
     {