diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-08-17 20:26:47 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-08-17 14:26:47 -0600 |
commit | def9b0064bda2dc13454a0a963ad143eff5f3993 (patch) | |
tree | 8bce95d92d0595ed739748940d4e2459713b7ecd /gcc/tree.c | |
parent | e7b7998a0c8c79b23d9580a916c1ba1745fe7c97 (diff) | |
download | gcc-def9b0064bda2dc13454a0a963ad143eff5f3993.zip gcc-def9b0064bda2dc13454a0a963ad143eff5f3993.tar.gz gcc-def9b0064bda2dc13454a0a963ad143eff5f3993.tar.bz2 |
* From Graham
* tree.c (build_index_type): Copy TYPE_SIZE_UNIT from sizetype
to itype.
* c-decl.c (finish_enum): Copy TYPE_SIZ_UNIT from enumtype to tem.
From-SVN: r21810
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4130,6 +4130,7 @@ build_index_type (maxval) TYPE_MODE (itype) = TYPE_MODE (sizetype); TYPE_SIZE (itype) = TYPE_SIZE (sizetype); + TYPE_SIZE_UNIT (itype) = TYPE_SIZE_UNIT (sizetype); TYPE_ALIGN (itype) = TYPE_ALIGN (sizetype); if (TREE_CODE (maxval) == INTEGER_CST) { |