aboutsummaryrefslogtreecommitdiff
path: root/gcc/ch/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ch/decl.c')
-rw-r--r--gcc/ch/decl.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/gcc/ch/decl.c b/gcc/ch/decl.c
index ffda9ab..559587b 100644
--- a/gcc/ch/decl.c
+++ b/gcc/ch/decl.c
@@ -4337,18 +4337,9 @@ finish_struct (t, fieldlist)
{
register tree x;
- /* Install struct as DECL_CONTEXT of each field decl.
- Also process specified field sizes.
- Set DECL_FIELD_SIZE to the specified size, or 0 if none specified.
- The specified size is found in the DECL_INITIAL.
- Store 0 there, except for ": 0" fields (so we can find them
- and delete them, below). */
-
+ /* Install struct as DECL_CONTEXT of each field decl. */
for (x = fieldlist; x; x = TREE_CHAIN (x))
- {
- DECL_CONTEXT (x) = t;
- DECL_FIELD_SIZE (x) = 0;
- }
+ DECL_CONTEXT (x) = t;
TYPE_FIELDS (t) = fieldlist;