From: Richard Stallman Date: Sun, 8 Aug 1993 02:27:07 +0000 (+0000) Subject: (process_init_element): Don't call clear_momentary if value is 0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe23d5ada2a7090c161ca48c79e9e4dcb51db267;p=gcc.git (process_init_element): Don't call clear_momentary if value is 0. From-SVN: r5104 --- diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 3fff3795450..64d51e1ded0 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -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 (); }