From fe23d5ada2a7090c161ca48c79e9e4dcb51db267 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 8 Aug 1993 02:27:07 +0000 Subject: [PATCH] (process_init_element): Don't call clear_momentary if value is 0. From-SVN: r5104 --- gcc/c-typeck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); } -- 2.30.2