aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-02-29 17:46:19 -0800
committerJim Wilson <wilson@gcc.gnu.org>1996-02-29 17:46:19 -0800
commit24c032e981e4f6c2bbdbe413a882845bdfb277d0 (patch)
treeef56e68fbfcc905a4bfd777766b410c5b6ccf35f /gcc
parent3d0793d589387cc8c33c6a16dd6b33e8c70ca22e (diff)
downloadgcc-24c032e981e4f6c2bbdbe413a882845bdfb277d0.zip
gcc-24c032e981e4f6c2bbdbe413a882845bdfb277d0.tar.gz
gcc-24c032e981e4f6c2bbdbe413a882845bdfb277d0.tar.bz2
(push_init_level): When output padding to align structure
field, set constructor_unfilled_fields. From-SVN: r11391
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-typeck.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 0ffbf80..3c4f268 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -5347,6 +5347,9 @@ push_init_level (implicit)
assemble_zeros (next - here);
}
+ /* Indicate that we have now filled the structure up to the current
+ field. */
+ constructor_unfilled_fields = constructor_fields;
}
p = (struct constructor_stack *) xmalloc (sizeof (struct constructor_stack));