aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-01-26 23:21:45 +0000
committerRichard Henderson <rth@redhat.com>2005-01-26 23:21:45 +0000
commita0767bcf261eec8e609e10fc10617ea3526d30e6 (patch)
treec828ac0ac89a98ec49d783702a5abcc79e0be758 /gcc/c-decl.c
parentb74749ad246802fc408294809eecd8d41dd6a742 (diff)
Revert last change.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94291 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 61521e861c7..6673927eab6 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -5301,11 +5301,8 @@ finish_struct (tree t, tree fieldlist, tree attributes)
= tree_low_cst (DECL_INITIAL (*fieldlistp), 1);
tree type = TREE_TYPE (*fieldlistp);
if (width != TYPE_PRECISION (type))
- {
- TREE_TYPE (*fieldlistp)
- = build_nonstandard_integer_type (width, TYPE_UNSIGNED (type));
- DECL_MODE (*fieldlistp) = TYPE_MODE (TREE_TYPE (*fieldlistp));
- }
+ TREE_TYPE (*fieldlistp)
+ = build_nonstandard_integer_type (width, TYPE_UNSIGNED (type));
DECL_INITIAL (*fieldlistp) = 0;
}
else