aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorPeter Gerwinski <peter@gerwinski.de>1998-07-28 22:19:53 +0000
committerJeff Law <law@gcc.gnu.org>1998-07-28 16:19:53 -0600
commit28372f4188cf1e6a89b4aa340ab6d5dcb73fe142 (patch)
treeff3f9705e03f50e064ed3db21d3c62feff1ac7ff /gcc/tree.c
parentf4494d3838334909d5d9801dbaa0441f7a2bdb1d (diff)
downloadgcc-28372f4188cf1e6a89b4aa340ab6d5dcb73fe142.zip
gcc-28372f4188cf1e6a89b4aa340ab6d5dcb73fe142.tar.gz
gcc-28372f4188cf1e6a89b4aa340ab6d5dcb73fe142.tar.bz2
tree.c (build_range_type): Copy TYPE_SIZE_UNIT.
� * tree.c (build_range_type): Copy TYPE_SIZE_UNIT. From-SVN: r21455
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 83c42c5..1f6b5a6 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -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)
{