(process_init_element): Don't call clear_momentary if value is 0.
From-SVN: r5104
This commit is contained in:
parent
92b376919d
commit
fe23d5ada2
|
@ -6253,7 +6253,7 @@ 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)
|
||||
if (constructor_incremental && constructor_pending_elts == 0 && value != 0)
|
||||
clear_momentary ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue