aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-08-28 09:28:59 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-08-28 09:28:59 -0700
commit490272b4749bece4d79aeb99dd128ddc9c03c556 (patch)
treefa89471443b3e494fbfea531664fc6a7d4c25fd5 /gcc/tree.c
parenta6017253cbd92d46d136888f031fa9fb66412173 (diff)
downloadgcc-490272b4749bece4d79aeb99dd128ddc9c03c556.zip
gcc-490272b4749bece4d79aeb99dd128ddc9c03c556.tar.gz
gcc-490272b4749bece4d79aeb99dd128ddc9c03c556.tar.bz2
stor-layout.c (finalize_type_size): Revert workaround from 08-26.
* stor-layout.c (finalize_type_size): Revert workaround from 08-26. * tree.c (make_node_stat): Use BITS_PER_UNIT instead of alignment of char_type_node. From-SVN: r103583
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 4ee70bf..124ef5a 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -488,7 +488,7 @@ make_node_stat (enum tree_code code MEM_STAT_DECL)
case tcc_type:
TYPE_UID (t) = next_type_uid++;
- TYPE_ALIGN (t) = char_type_node ? TYPE_ALIGN (char_type_node) : 0;
+ TYPE_ALIGN (t) = BITS_PER_UNIT;
TYPE_USER_ALIGN (t) = 0;
TYPE_MAIN_VARIANT (t) = t;