c-typeck.c (output_init_element): Don't copy the INTEGER_CST.
2005-07-20 Andrew Pinski <pinskia@physics.uc.edu> * c-typeck.c (output_init_element): Don't copy the INTEGER_CST. From-SVN: r102203
This commit is contained in:
parent
42e13a3f91
commit
71b50543a7
@ -1,3 +1,7 @@
|
||||
2005-07-20 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* c-typeck.c (output_init_element): Don't copy the INTEGER_CST.
|
||||
|
||||
2005-07-20 James A. Morrison <phython@gcc.gnu.org>
|
||||
|
||||
* tree.h (tree_expr_nonzero_p): Export.
|
||||
|
@ -5975,8 +5975,6 @@ output_init_element (tree value, bool strict_string, tree type, tree field,
|
||||
/* Otherwise, output this element either to
|
||||
constructor_elements or to the assembler file. */
|
||||
|
||||
if (field && TREE_CODE (field) == INTEGER_CST)
|
||||
field = copy_node (field);
|
||||
celt = VEC_safe_push (constructor_elt, gc, constructor_elements, NULL);
|
||||
celt->index = field;
|
||||
celt->value = value;
|
||||
|
Loading…
Reference in New Issue
Block a user