projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8465d8
)
(process_init_element): Don't clear_momentary if constructor_stack is
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 5 May 1995 23:14:07 +0000
(19:14 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 5 May 1995 23:14:07 +0000
(19:14 -0400)
not empty.
From-SVN: r9584
gcc/c-typeck.c
patch
|
blob
|
history
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index a275c6b63f2fb36f3ee709f476412f009c688f7e..45700408321a07b7da7cf002a79bf6584c9d7e67 100644
(file)
--- a/
gcc/c-typeck.c
+++ b/
gcc/c-typeck.c
@@
-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 ();
}
\f