8sa1-gcc/gcc/java
Per Bothner 5b09b33e5f parse.y (fold_constant_for_init): New function.
d
	* parse.y (fold_constant_for_init):  New function.
	(resolve_expression_name):  Don't replace static final
 	constant-initialized fields by its value.
	(java_complete_lhs):  New.  Same as java_complete_tree, except does
	not replace static final constant-initialized fields by their values.
	(register_fields):  If there is an initializer, set DECL_INITIAL and
	MODIFY_EXPR_FROM_INITIALIZATION_P.
	(java_complete_tree):  For MODIFY_EXPR, use java_complete_lhs for lhs.
	Only call patch_initialized_static_field if
	MODIFY_EXPR_FROM_INITIALIZATION_P.
	(patch_initialized_static_field):  If not valid constant, clear
	DECL_INITIAL.
	* parse.y (lookup_field_wrapper):  Fix thinko.
	* parse.y (java_complete_tree):  In EXPR_WITH_FILE_LOCATION,
	set and restore global lineno.

From-SVN: r24316
1998-12-14 11:22:28 -08:00
..
buffer.c Makefile.in: Add many missing dependencies. 1998-09-14 03:42:24 -06:00
buffer.h 1998-10-12 05:43:53 -07:00
ChangeLog gjavah.c (print_field_info): If value to print is the smallest value of its size... 1998-12-14 15:32:49 +00:00
class.c Loks of changes so we can better compile from source. 1998-12-12 13:48:07 -08:00
config-lang.in [multiple changes] 1998-10-22 13:06:56 +00:00
constants.c constants.c (find_methodref_index): When the class is an interface... 1998-12-07 07:43:11 -08:00
convert.h class.c (is_compiled_class): Call safe_layout_class for class compiled from source. 1998-11-10 10:04:25 -08:00
decl.c expr.c (invoke_build_dtable): Renamed dtable -> vtable. 1998-12-11 11:55:15 +00:00
except.c 1998-10-12 05:43:53 -07:00
expr.c Loks of changes so we can better compile from source. 1998-12-12 13:48:14 -08:00
gjavah.c gjavah.c (print_field_info): If value to print is the smallest value of its size... 1998-12-14 15:32:49 +00:00
java-except.h
java-opcodes.h
java-tree.def java-tree.def (NEW_ARRAY_INIT): New Java tree code. 1998-12-09 07:50:12 -08:00
java-tree.h Loks of changes so we can better compile from source. 1998-12-12 13:48:14 -08:00
javaop.def
javaop.h expr.c (java_lang_expand_expr): Add missing emit_queue. 1998-11-24 05:16:53 -08:00
jcf-depend.c jcf-io.c (find_class): Use saw_java_source to determine when to look for `.java' file. 1998-10-22 12:06:05 +00:00
jcf-dump.c Loks of changes so we can better compile from source. 1998-12-12 13:48:07 -08:00
jcf-io.c Loks of changes so we can better compile from source. 1998-12-12 13:48:09 -08:00
jcf-parse.c Loks of changes so we can better compile from source. 1998-12-12 13:48:14 -08:00
jcf-path.c jcf-dump.c (main): Fix error message. 1998-12-03 07:54:09 -08:00
jcf-reader.c jcf-reader.c (jcf_parse_one_method): Recognize HANDLE_END_METHOD. 1998-12-13 13:29:08 +00:00
jcf-write.c Loks of changes so we can better compile from source. 1998-12-12 13:48:14 -08:00
jcf.h gjavah.c (main): Handle --output-class-directory argument. 1998-11-13 14:09:53 +00:00
jv-scan.c Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK). 1998-11-27 10:25:17 +00:00
jvgenmain.c Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK). 1998-11-27 10:25:17 +00:00
jvspec.c Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK). 1998-11-27 10:25:17 +00:00
keyword.gperf
keyword.h Warning fixes: 1998-10-07 09:18:39 +00:00
lang-options.h gjavah.c (main): Handle --output-class-directory argument. 1998-11-13 14:09:53 +00:00
lang-specs.h jcf-path.c (add_entry): recognize ".jar" too 1998-11-26 16:20:19 +00:00
lang.c java-tree.h (end_params_node): Declare global. 1998-11-25 09:10:57 -08:00
lex.c decl.c (long_zero_node, [...]): New global variables, initialized. 1998-12-10 12:28:00 -08:00
lex.h java-tree.def (NEW_ARRAY_INIT): New Java tree code. 1998-12-09 07:50:12 -08:00
Make-lang.in Make-lang.in: Fix reference to srcdir. 1998-11-15 15:11:55 +00:00
Makefile.in Makefile.in (+target): Removed. 1998-12-01 10:48:39 +00:00
mangle.c class.c (is_compiled_class): Call safe_layout_class for class compiled from source. 1998-11-10 10:04:25 -08:00
parse-scan.c Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK). 1998-11-27 10:25:17 +00:00
parse-scan.y Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK). 1998-11-27 10:25:17 +00:00
parse.c parse.y (fold_constant_for_init): New function. 1998-12-14 11:22:28 -08:00
parse.h java-tree.def (NEW_ARRAY_INIT): New Java tree code. 1998-12-09 07:50:12 -08:00
parse.y parse.y (fold_constant_for_init): New function. 1998-12-14 11:22:28 -08:00
typeck.c java-tree.h (end_params_node): Declare global. 1998-11-25 09:10:57 -08:00
verify.c Allow uses of interface types to verify. 1998-11-14 09:22:22 -08:00
zextract.c
zipfile.h *** empty log message *** 1998-12-12 13:48:16 -08:00