]> gcc.gnu.org Git - gcc.git/commit
parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since...
authorPer Bothner <bothner@gcc.gnu.org>
Sat, 9 Jan 1999 12:49:05 +0000 (04:49 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 9 Jan 1999 12:49:05 +0000 (04:49 -0800)
commitef0fec0643369012d898a64bcd349228e0a612f3
tree39755b311b1bc4c8bbb043fa7447bbce9a0c374a
parent5bba48071ea0a7bc5f7fc9c9f6aaa6ca9dd24795
parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).


* 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.

From-SVN: r24579
gcc/java/expr.c
This page took 0.054509 seconds and 5 git commands to generate.