aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1999-01-06 09:49:29 -0800
committerPer Bothner <bothner@gcc.gnu.org>1999-01-06 09:49:29 -0800
commitdb84cc462232ae771283b4a81ef151e0008fa4d1 (patch)
tree45b81a5cb160c7a881fcdd8c7583dce76e1dc994 /gcc
parent8c4ea1fd22ba1ec815a1595352c9abddd483df1c (diff)
downloadgcc-db84cc462232ae771283b4a81ef151e0008fa4d1.zip
gcc-db84cc462232ae771283b4a81ef151e0008fa4d1.tar.gz
gcc-db84cc462232ae771283b4a81ef151e0008fa4d1.tar.bz2
check-init.c: New file.
� * check-init.c: New file. Checks for definite assignment. Various minor other changes; see ChangeLog. From-SVN: r24521
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 765d0d0..990890e 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,26 @@
+Wed Jan 6 17:19:46 1999 Per Bothner <bothner@cygnus.com>
+
+ * java-tree.h: Declare read_class.
+ * jcf-parse.c (read_class): New function.
+ (load_class): Now just call read_class.
+
+ * java-tree.h (java_parse_abort_on_error): Only return if new errors.
+ * jcf-parse.c (parse_source_file): Declare save_error_count,
+ which is needed by java_parse_abort_on_error macro,
+ * parse.y (java_layout_classes, java_expand_classes): Likewise.
+
+ * parse.y (register_fields): Set TREE_STATIC flag of NEW_ARRAY_INIT
+ constructor, if initializing a static field.
+ (patch_new_array_init): Set TREE_CONSTANT if it is.
+ * expr.c (java_lang_expand_expr): For a static array constructor
+ of primitive elements, allocate the array itself statically.
+ Disabled until we can set the vtable field statically.
+
+ * check-init.c: New file. Checks for definite assignment.
+ * Makefile.in (JAVA_OBJS): Add check-init.o.
+ * parse.y (java_complete_expand_method): Call check_for_initialization.
+ * parse.h (BLOCK_EXPR_DECLS, BLOCK_EXPR_BODY): Moved to java-tree.h.
+
Wed Jan 6 14:53:10 1999 Graham <grahams@rcp.co.uk>
* parse.y : include system.h instead of including