aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1998-12-12 13:48:01 -0800
committerPer Bothner <bothner@gcc.gnu.org>1998-12-12 13:48:01 -0800
commit0b2451813bb0f00ee5e00dcac12adc15116fb078 (patch)
tree3bcac83cb163136deb55ddd1b2e3ec2778af3c83 /gcc/java
parent1287b91aeb66432811939ffc2d22ec5b253a3c60 (diff)
downloadgcc-0b2451813bb0f00ee5e00dcac12adc15116fb078.zip
gcc-0b2451813bb0f00ee5e00dcac12adc15116fb078.tar.gz
gcc-0b2451813bb0f00ee5e00dcac12adc15116fb078.tar.bz2
Loks of changes so we can better compile from source.
0 Loks of changes so we can better compile from source. See ChangeLog. From-SVN: r24276
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog47
1 files changed, 47 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 4fe70b7..ff6829b 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,50 @@
+Sat Dec 12 20:13:19 1998 Per Bothner <bothner@cygnus.com>
+
+ * class.c (build_class_ref): Handle PRIMTYPE.class if
+ flag_emit_class_files.
+ * expr.c (expand_java_field_op): Don't optimize java.lang.XXX.TYPE
+ if flag_emit_class_files.
+ * parse.y (java_complete_tree): Pre-liminary support for
+ COMPONENT_REF - only to handle PRIMCLASS.TYPE.
+
+ * parse.y (patch_synchronized_statement): Don't call monitorexit
+ unless block CAN_COMPLETE_NORMALLY. Propagate that flag properly.
+
+ * java-tree.h (DECL_LOCAL_STATIC_VALUE): Removed - no longer used.
+
+ * zipfile.h (opendir_in_zip): New declaration.
+ * jcf-io.c (saw_java_source): Moved to jcf-parse.c.
+ (opendir_in_zip): New function, using code from open_in_zip.
+ (open_in_zip): Call opendir_in_zip.
+ (find_class): Remove no-longer-used do_class_file parameter,
+ but add source_ok parameter. Change logic so if we find a .java file,
+ we don't look for .class in later classpath emtries.
+ * jcf-parse.c (load_class): Pass saw_java_source to find_class.
+ (jcf_figure_file_type): Only call open_in_zip if correct magic number.
+ * gjavah.c: Update call to find_class.
+ * jcf-dump.c: Likewise.
+
+ * jcf-write.c (put_linenumber): Handle duplicate line numbers.
+ (generate_bytecode_insns): For EXPR_WITH_FILE_LOCATION, do
+ nothing if body is empty_stmt_node.
+ Various little fixes so SP gets correctly adjusted.
+ For NEW_ARRAY_INIT, handle IGNORE_TARGET.
+ For CALL_EXPR, test if static first.
+ (generate_classfile): Ignore fields that are DECL_ARTIFICIAL,
+ such as the ones we create for Object and Class.
+ Set and restore current_function_decl.
+ * parse.y: Check/set IS_AN_IMPORT_ON_DEMAND_P in read_import_dir.
+ (note_possible_classname): New function.
+ (read_import_entry): Removed. Merged with read_import_dir.
+ (read_import_dir): Don't call find_class - that only gives us
+ the first classpath entry having the needed package.
+ Use the struct buffer data structure from buffer.h.
+ (read_import_dir, find_in_imports_on_demand): The remembered
+ class names now use '.' (not '/') as package separator.
+
+ * parse.y (java_complete_expand_methods): Call write_classfile
+ here, and not in java_expand_classes (which only gets first class).
+
Sat Dec 12 19:46:04 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
* parse.y (<type_declaration>): Do maybe_generate_clinit last.