OSDN Git Service

d
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jan 1999 12:49:03 +0000 (12:49 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jan 1999 12:49:03 +0000 (12:49 +0000)
commitd7a60f715c1506baaa58d4d5c4f0104eab910d98
tree8b541bdda189942d0be4e3a290c3fd7a9a585fb9
parentce7eb1b5c2c003c510f5ee7b3fb4294865eae712
d
* parse.y (build_new_array_init):  Don't set EXPR_WFL_LINECOL
on CONSTRUCTOR (since that trashes TREE_CST_RTL).
(patch_new_array_init):  Clear TREE_CONSTANT also if INDIRECT_REF.
(register_fields):  Set TREE_STATIC on NEW_ARRAY_INIT, not on
CONSTRUCTOR (which causes expand_expr to call output_constant_def).
* expr.c (java_lang_expand_expr):  Check TREE_STATIC of NEW_ARRAY_INIT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24578 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/parse.c
gcc/java/parse.y