]> gcc.gnu.org Git - gcc.git/commitdiff
(process_init_element): Don't call clear_momentary if value is 0.
authorRichard Stallman <rms@gnu.org>
Sun, 8 Aug 1993 02:27:07 +0000 (02:27 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 8 Aug 1993 02:27:07 +0000 (02:27 +0000)
From-SVN: r5104

gcc/c-typeck.c

index 3fff3795450d64f10b8e50366e99d80f00b7cc69..64d51e1ded09c00b21abc446427039e230301155 100644 (file)
@@ -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 ();
 }
 \f
This page took 0.07073 seconds and 5 git commands to generate.