(process_init_element): Don't clear_momentary if constructor_stack is

not empty.

From-SVN: r9584
This commit is contained in:
Richard Kenner 1995-05-05 19:14:07 -04:00
parent c8465d869b
commit 8d75e50998
1 changed files with 2 additions and 1 deletions

View File

@ -6288,7 +6288,8 @@ process_init_element (value)
/* If the (lexically) previous elments are not now saved,
we can discard the storage for them. */
if (constructor_incremental && constructor_pending_elts == 0 && value != 0)
if (constructor_incremental && constructor_pending_elts == 0 && value != 0
&& constructor_stack == 0)
clear_momentary ();
}