From: Peter Gerwinski Date: Tue, 28 Jul 1998 22:19:53 +0000 (+0000) Subject: tree.c (build_range_type): Copy TYPE_SIZE_UNIT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28372f4188cf1e6a89b4aa340ab6d5dcb73fe142;p=gcc.git tree.c (build_range_type): Copy TYPE_SIZE_UNIT. � * tree.c (build_range_type): Copy TYPE_SIZE_UNIT. From-SVN: r21455 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f76bac80bc..6ce20d0752f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 28 23:17:39 1998 Peter Gerwinski + + * tree.c (build_range_type): Copy TYPE_SIZE_UNIT. + Tue Jul 28 22:31:12 1998 Craig Burley * gcc.c: Fix commentary describing %g, %u, %U, and %O. diff --git a/gcc/tree.c b/gcc/tree.c index 83c42c56526..1f6b5a66e72 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) {