(push_init_level): When output padding to align structure
authorJim Wilson <wilson@gcc.gnu.org>
Fri, 1 Mar 1996 01:46:19 +0000 (17:46 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 1 Mar 1996 01:46:19 +0000 (17:46 -0800)
field, set constructor_unfilled_fields.

From-SVN: r11391

gcc/c-typeck.c

index 0ffbf80..3c4f268 100644 (file)
@@ -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));