aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1999-01-09 04:49:07 -0800
committerPer Bothner <bothner@gcc.gnu.org>1999-01-09 04:49:07 -0800
commitfe053cfc6793bb2f75f09e2bfcc2913fbe6caa69 (patch)
treef18f8a628570a9829ebeeeb34bd85e061e176875
parentef0fec0643369012d898a64bcd349228e0a612f3 (diff)
downloadgcc-fe053cfc6793bb2f75f09e2bfcc2913fbe6caa69.zip
gcc-fe053cfc6793bb2f75f09e2bfcc2913fbe6caa69.tar.gz
gcc-fe053cfc6793bb2f75f09e2bfcc2913fbe6caa69.tar.bz2
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: r24580
-rw-r--r--gcc/java/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 3e25bdf..128fe98 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,12 @@
+Sat Jan 9 11:25:00 1999 Per Bothner <bothner@cygnus.com>
+
+ * 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.
+
Fri Jan 8 15:48:03 1999 Per Bothner <bothner@cygnus.com>
* check-init.c (check_init): If compiling to native, we don't