1 2012-03-22 Release Manager
5 2012-01-23 Andreas Schwab <schwab@linux-m68k.org>
7 * lang.c (java_init_options_struct): Set
8 frontend_set_flag_trapping_math.
10 2012-01-01 Jakub Jelinek <jakub@redhat.com>
12 * jcf-dump.c (version): Update copyright notice dates.
14 2011-12-03 Matthias Klose <doko@ubuntu.com>
16 * expr.c (SPECIAL_WIDE): Fix typo in message.
18 2011-11-23 Jeffrey A Law (law@cygnus.com)
20 * lang.c (java_init_options_struct): Disable optimizations
21 which assume a NULL pointer dereference will cause a fault.
23 2011-11-07 Richard Henderson <rth@redhat.com>
25 * builtins.c (compareAndSwapInt_builtin): Use can_compare_and_swap_p.
26 (compareAndSwapLong_builtin): Likewise.
27 (compareAndSwapObject_builtin): Likewise.
28 (VMSupportsCS8_builtin): Likewise.
30 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
32 * Make-lang.in (jvspec.o): Pass SHLIB instead of SHLIB_LINK.
34 2011-10-15 Tom Tromey <tromey@redhat.com>
35 Dodji Seketeli <dodji@redhat.com>
37 * jcf-parse.c (set_source_filename): Adjust to the new map API.
39 2011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com>
41 * class.c (build_static_field_ref): Delete old interface with two
42 parallel arrays to hold standard builtin declarations, and replace
43 it with a function based interface that can support creating
44 builtins on the fly in the future. Change all uses, and poison
45 the old names. Make sure 0 is not a legitimate builtin index.
46 * decl.c (java_init_decl_processing): Ditto.
47 * except.c (compareAndSwapLong_builtin): Ditto.
48 (compareAndSwapObject_builtin): Ditto.
49 (putVolatile_builtin): Ditto.
50 (define_builtin): Ditto.
51 (check_for_builtin): Ditto.
52 * expr.c (rewrite_arglist_getcaller): Ditto.
53 (expand_java_field_op): Ditto.
55 2011-08-24 Joseph Myers <joseph@codesourcery.com>
57 * Make-lang.in (CFLAGS-java/jcf-io.o, CFLAGS-java/jcf-path.o):
59 (java/jcf-io.o, java/jcf-path.o): Remove explicit compilation
62 2011-08-18 Peter Collingbourne <peter@pcc.me.uk>
64 * expr.c (expand_invoke) Use the type of the method rewrite
67 2011-08-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
69 * jcf-dump.c (print_constant): Cast first frexp arg.
71 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
73 * Make-lang.in ($(XGCJ)$(exeext)): Add $(EXTRA_GCC_LIBS).
75 2011-07-19 Richard Guenther <rguenther@suse.de>
77 * builtins.c (static): Use fold_build_pointer_plus.
78 * class.c (make_class_data): Likewise.
79 (build_symbol_entry): Likewise.
80 * except.c (build_exception_object_ref): Likewise.
81 * expr.c (build_java_arrayaccess): Likewise.
82 (build_field_ref): Likewise.
83 (build_known_method_ref): Likewise.
84 (build_invokevirtual): Likewise.
86 2011-07-06 Richard Guenther <rguenther@suse.de>
88 * decl.c (java_init_decl_processing):
89 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
91 2011-06-21 Andrew MacLeod <amacleod@redhat.com>
93 * builtins.c: Add sync_ or SYNC__ to builtin names.
94 * expr.c: Add sync_ or SYNC__ to builtin names.
96 2011-06-07 Richard Guenther <rguenther@suse.de>
98 * decl.c (java_init_decl_processing): Call build_common_nodes,
99 build_common_nodes_2 at the beginning. Remove then duplicate
102 2011-06-07 Richard Guenther <rguenther@suse.de>
104 * decl.c (java_init_decl_processing): Properly initialize
107 2011-05-30 Joern Rennecke <joern.rennecke@embecosm.com>
110 * expr.c: Include "tm.h" .
112 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
114 * decl.c (poplevel): Don't access TREE_TYPE of BLOCKs.
115 * expr.c (build_jni_stub): Likewise.
117 2011-05-24 Joseph Myers <joseph@codesourcery.com>
119 * Make-lang.in ($(XGCJ)$(exeext)): Use libcommon-target.a instead
122 2011-05-20 Joseph Myers <joseph@codesourcery.com>
124 * Make-lang.in ($(XGCJ)$(exeext)): Don't explicitly use intl.o and
126 (JCFDUMP_OBJS): Remove errors.o, version.o and intl.o.
127 (JVGENMAIN_OBJS): Remove errors.o and intl.o.
128 (java/jcf-dump.o, java/jvgenmain.o): Depend in $(DIAGNOSTIC_H).
129 * jcf-dump.c: Include diagnostic.h.
130 (main): Initialize diagnostics.
131 * jvgenmain.c: Include diagnostic.h.
132 (main): Initialize diagnostics.
134 2011-05-11 Nathan Froyd <froydnj@codesourcery.com>
136 * java-tree.h (TYPE_ARGUMENT_SIGNATURE): Use TYPE_MINVAL.
138 2011-05-07 Eric Botcazou <ebotcazou@adacore.com>
140 * java-tree.h (global_bindings_p): Adjust prototype.
141 * decl.c (global_bindings_p): Return bool.
143 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
145 * expr.c (expand_java_switch): Call build_case_label.
146 (expand_java_add_case): Likewise.
148 2011-04-29 Richard Guenther <rguenther@suse.de>
151 * constants.c (build_constants_constructor): Use ptr_type_node for
154 2011-04-20 Jim Meyering <meyering@redhat.com>
156 * jcf-parse.c (java_parse_file): Remove useless if-before-free.
158 2011-04-18 Jim Meyering <meyering@redhat.com>
160 * jcf-parse.c: Fix typo in comment.
162 2011-04-14 Nathan Froyd <froydnj@codesourcery.com>
164 * decl.c (poplevel): Use BLOCK_CHAIN and block_chainon.
166 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
168 * java-tree.h (union lang_tree_node): Check for TS_COMMON before
171 2011-04-11 Martin Jambor <mjambor@suse.cz>
173 * decl.c (java_mark_decl_local): Call cgraph_get_node instead of
174 cgraph_node and handle returned NULL.
176 2011-03-25 Kai Tietz <ktietz@redhat.com>
178 * jcf-parse.c (java_read_sourcefilenames): Use filename_cmp
180 (set_source_filename): Likewise.
181 * win32-host.c (jcf_open_exact_case): Likewise.
183 2011-03-21 Kai Tietz <ktietz@redhat.com>
186 * lang.c (java_attribute_table): Adjust table.
188 2011-02-13 Joseph Myers <joseph@codesourcery.com>
190 * jvspec.c (jvgenmain_spec): Remove %{a*}.
192 2011-01-21 Kai Tietz <kai.tietz@onevision.com>
195 * decl.c (java_init_decl_processing): Remove
196 va_list_type_node related type initializations.
198 2011-01-11 Kai Tietz <kai.tietz@onevision.com>
201 * decl.c (java_init_decl_processing): Initialize
202 long_integer_type_node.
204 2011-01-07 Kai Tietz <kai.tietz@onevision.com>
207 * decl.c (java_init_decl_processing): Initialize unsigned_type_node.
209 2011-01-07 Kai Tietz <kai.tietz@onevision.com>
211 * decl.c (java_init_decl_processing): Setup va_list_type_node.
213 2011-01-03 Jakub Jelinek <jakub@redhat.com>
215 * jcf-dump.c (version): Update copyright notice dates.
217 2010-12-15 Dave Korn <dave.korn.cygwin@gmail.com>
219 * decl.c (java_init_decl_processing): Initialise integer_three_node.
220 * lang.c (put_decl_node): Handle nested function decls.
222 2010-12-07 Joseph Myers <joseph@codesourcery.com>
224 * jcf-parse.c: Don't include assert.h.
225 (java_parse_file): Use gcc_assert.
227 2010-12-03 Joseph Myers <joseph@codesourcery.com>
229 * lang.opt (static-libgcj): New option.
231 2010-12-01 Joseph Myers <joseph@codesourcery.com>
233 * jcf-parse.c: Don't include toplev.h.
234 * Make-lang.in (java/jcf-parse.o): Don't depend on toplev.h.
236 2010-11-30 Joseph Myers <joseph@codesourcery.com>
238 * boehm.c: Don't include toplev.h.
239 * Make-lang.in (java/boehm.o): Don't depend on toplev.h.
241 2010-11-30 Joseph Myers <joseph@codesourcery.com>
243 * expr.c, lang.c, mangle.c, mangle_name.c, typeck.c,
244 verify-glue.c: Don't include toplev.h.
245 * Make-lang.in: Dependencies for above files changed to remove
248 2010-11-29 Joseph Myers <joseph@codesourcery.com>
250 * boehm.c: Include "config.h" instead of <config.h>.
251 * builtins.c: Don't include <stdarg.h>.
252 * class.c: Don't include "stdio.h".
253 (O_BINARY): Don't define here.
254 * jcf-depend.c: Don't include <assert.h>.
255 (jcf_dependency_set_dep_file, jcf_dependency_init,
256 jcf_dependency_write): Use gcc_assert.
257 * jcf-io.c (O_BINARY): Don't define here.
258 * jcf-path.c: Don't include "tm.h".
259 (jcf_path_init): Use getenv instead of GET_ENVIRONMENT.
260 * resource.c: Don't include "stdio.h".
261 (O_BINARY): Don't define here.
262 * verify-impl.c: Don't include <stdio.h>.
264 2010-11-17 Joseph Myers <joseph@codesourcery.com>
266 * jcf-parse.c (java_parse_file): Take no arguments.
267 * java-tree.h (java_parse_file): Update prototype.
269 2010-11-09 Joern Rennecke <amylaar@spamcop.net>
270 Andrew Haley <aph@redhat.com>
273 * config/pdp11/t-pdp11 (java/constants.o-warn): Remove.
275 2010-11-12 Joseph Myers <joseph@codesourcery.com>
277 * Make-lang.in (jvspec.o, java/lang.o): Use $(OPTS_H).
278 * lang.c (java_handle_option): Take location_t parameter.
280 2010-11-10 Joseph Myers <joseph@codesourcery.com>
282 * expr.c (expand_java_field_op): Use %' in diagnostic.
283 * jcf-parse.c (java_parse_file): Use %' in diagnostics.
284 * jvspec.c (lang_specific_driver): Use %' in diagnostic.
285 * lang.c (java_post_options): Use %' in diagnostics.
287 2010-11-06 Joern Rennecke <amylaar@spamcop.net>
290 * class.c: Include target.h.
291 (make_local_function_alias):
292 Use targetm.asm_out.generate_internal_label.
293 * expr.c (lookup_label, generate_name): Likewise.
295 2010-11-03 Joern Rennecke <joern.rennecke@embecosm.com>
298 * jfc-parse.c (target.h): Include.
299 (handle_constant): Use targetm.words_big_endian and
300 targetm.float_words_big_endian.
301 (get_constant): Use targetm.float_words_big_endian.
303 2010-10-13 Richard Henderson <rth@redhat.com>
305 * lang.c (java_eh_personality): Update call to
306 build_personality_function.
308 2010-10-12 Joseph Myers <joseph@codesourcery.com>
310 * Make-lang.in (java/lang.o): Use $(OPTIONS_H) instead of
313 2010-10-11 Nathan Froyd <froydnj@codesourcery.com>
315 * decl.c (java_init_decl_processing): Use build_function_type_list
316 instead of build_function_type.
317 * jcf-parse.c (java_emit_static_constructor): Likewise.
318 * builtins.c (initialize_builtins): Likewise.
320 2010-10-08 Joseph Myers <joseph@codesourcery.com>
322 * lang.c (java_init_options_struct): New. Split out from
324 (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
326 2010-10-04 Andi Kleen <ak@linux.intel.com>
328 * Make-lang.in (xgcj, jc1, jcf-dump, jvgenmain):
331 2010-09-29 Joseph Myers <joseph@codesourcery.com>
333 * lang.opt: Don't use VarExists.
335 2010-09-29 Joseph Myers <joseph@codesourcery.com>
337 * java-tree.h (flag_filelist_file, flag_assert, flag_jni,
338 flag_force_classes_archive_check, flag_redundant, flag_newer,
339 flag_use_divide_subroutine, flag_use_atomic_builtins,
340 flag_use_boehm_gc, flag_hash_synchronization,
341 flag_check_references, flag_optimize_sci, flag_indirect_classes,
342 flag_indirect_dispatch, flag_store_check,
343 flag_reduced_reflection): Remove.
344 * jcf-dump.c (flag_newer): Remove.
345 * jcf.h (quiet_flag): Remove.
346 * parse.h (quiet_flag): Remove.
348 2010-09-28 Richard Henderson <rth@redhat.com>
350 * lang.c: Include "target.h".
351 (java_eh_personality): Use targetm.except_unwind_info.
352 * Make-lang.in (lang.o): Update deps.
354 2010-09-27 Andrew Haley <aph@redhat.com>
357 * jvgenmain.c (main): Fix arg processing.
359 2010-09-22 Joseph Myers <joseph@codesourcery.com>
361 * jvspec.c (lang_specific_driver): Handle OPT__help instead of
363 * lang.opt (-CLASSPATH, -all-warnings, -bootclasspath, -classpath,
364 -dependencies, -encoding, -extdirs, -include-directory,
365 -include-directory=, -output-class-directory,
366 -output-class-directory=, -resource, -resource=,
367 -user-dependencies): New.
369 2010-09-16 Richard Guenther <rguenther@suse.de>
371 * jcf-parse.c (current_file_list): Remove.
372 (java_parse_file): Use build_translation_unit_decl. Adjust.
374 2010-09-03 Joseph Myers <joseph@codesourcery.com>
378 2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
381 * jvgenmain.c (main): Check "-D XXX=YYY".
383 2010-09-02 Joseph Myers <joseph@codesourcery.com>
385 * jvspec.c (jvgenmain_spec): Don't handle -fnew-verifier.
387 2010-09-02 Joseph Myers <joseph@codesourcery.com>
389 * lang.opt (CLASSPATH, bootclasspath, classpath, encoding,
390 fCLASSPATH=): Mark as Java options and as aliases.
391 * jvspec.c (jvgenmain_spec): Don't handle -fCLASSPATH*.
392 (lang_specific_driver): Don't handle options marked as aliases.
393 * lang.c (java_handle_option): Don't handle OPT_fCLASSPATH_.
395 2010-08-22 Joseph Myers <joseph@codesourcery.com>
397 * Make-lang.in (jvspec.o): Update dependencies.
398 * jvspec.c: Include opts.h.
400 (find_spec_file): Do not add leading -specs=.
401 (lang_specific_driver): Use cl_decoded_option structures.
402 * lang.opt (C, CLASSPATH, D, bootclasspath, classpath, encoding,
403 extdirs, fmain=, s-bc-abi): New options.
405 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
407 * class.c: Use FOR_EACH_VEC_ELT.
409 * jcf-parse.c: Likewise.
410 * resource.c: Likewise.
412 2010-08-16 Joseph Myers <joseph@codesourcery.com>
414 * lang.opt (MD_, MMD_, version): Mark RejectDriver.
416 2010-08-05 David Daney <ddaney@caviumnetworks.com>
418 * class.c (build_utf8_ref): Fix code formatting from previous commit.
420 2010-08-05 David Daney <ddaney@caviumnetworks.com>
422 * class.c (build_utf8_ref): Make decl DECL_USER_ALIGN.
424 2010-07-27 Joseph Myers <joseph@codesourcery.com>
426 * lang.c (java_handle_option): Update prototype and return value
429 2010-07-27 Joseph Myers <joseph@codesourcery.com>
431 * lang.c (java_option_lang_mask): New.
432 (java_init_options): Update prototype.
433 (LANG_HOOKS_OPTION_LANG_MASK): Define.
435 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
437 * java-tree.h: Carefully replace TREE_CHAIN with DECL_CHAIN.
442 * jcf-parse.c: Likewise.
443 * typeck.c: Likewise.
444 * verify-glue.c: Likewise.
446 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
448 * boehm.c: Include diagnostic-core.h in every file that includes
451 * constants.c: Likewise.
453 * except.c: Likewise.
455 * jcf-parse.c: Likewise.
456 * mangle.c: Likewise.
457 * mangle_name.c: Likewise.
458 * resource.c: Likewise.
459 * typeck.c: Likewise.
460 * verify-glue.c: Likewise.
462 2010-07-05 Nathan Froyd <froydnj@codesourcery.com>
465 * class.c (make_class_data): Cast result of VEC_length calls to int.
467 2010-07-05 Nathan Froyd <froydnj@codesourcery.com>
469 * constants.c (build_constants_constructor): Use build_constructor
470 instead of build_constructor_from_list.
471 * class.c (make_method_value): Likewise.
472 (get_dispatch_table): Likewise.
473 (make_class_data): Likewise.
474 (emit_indirect_register_classes): Likewise.
475 (emit_symbol_table): Likewise.
476 (add_assertion_table_entry): Likewise.
477 (emit_assertion_table): Likewise.
478 (make_field_value): Use build_constructor_single instead of
479 build_constructor_from_list.
481 2010-06-28 Nathan Froyd <froydnj@codesourcery.com>
483 * java-tree.h (struct lang_type) [catch_classes]: Change type to a
485 * except.c (prepare_eh_table_type): Call CONSTRUCTOR_APPEND_ELT
486 instead of tree_cons.
487 * class.c (make_class): Add dummy entry to TYPE_CATCH_CLASSES.
488 (emit_catch_table): Adjust for new type of TYPE_CATCH_CLASSES.
490 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
492 * lang.c: Do not include except.h
493 * except.c: Likewise.
494 (doing_eh): New, moved from except.c (in gcc/) but removed the
496 (maybe_start_try): Update doing_eh call.
497 * Make-lang.in: Update dependencies.
499 2010-06-23 Anatoly Sokolov <aesok@post.ru>
501 * decl.c (java_init_decl_processing): Use double_int_to_tree instead
502 of build_int_cst_wide.
503 * boehm.c (set_bit): Remove.
504 (mark_reference_fields): Use double_int type for 'mask' argument.
505 Use double_int_setbit instead of set_bit.
506 (get_boehm_type_descriptor): Use double_int_setbit instead of
507 set_bit. Use double_int_to_tree instead of build_int_cst_wide.
509 2010-06-10 Gerald Pfeifer <gerald@pfeifer.com>
511 * gcj.texi: Move to GFDL version 1.3. Fix copyright years.
513 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
515 * jcf-reader.c (jcf_parse_constant_pool): Use typed GC allocation.
517 * jcf-parse.c (java_parse_file): Likewise.
518 (process_zip_dir): Likewise.
520 * java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): Likewise.
521 (MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
523 * expr.c (add_type_assertion): Likewise.
525 * decl.c (make_binding_level): Likewise.
526 (java_dup_lang_specific_decl): Likewise.
528 * constants.c (set_constant_entry): Likewise.
529 (cpool_for_class): Likewise.
531 * class.c (add_method_1): Likewise.
532 (java_treetreehash_new): Likewise.
534 * java-tree.h (struct lang_type): Add variable_size GTY option.
535 (struct lang_decl): Likewise.
537 * jch.h (struct cpool_entry): Likewise.
539 * java-tree.h (java_treetreehash_create): Remove parameter ggc.
541 * except.c (prepare_eh_table_type): Update
542 java_treetreehash_create call.
544 * class.c (add_method_1): Update java_treetreehash_create call.
545 (java_treetreehash_create): Remove parameter gc. Use
548 2010-06-04 Joseph Myers <joseph@codesourcery.com>
550 * jvspec.c (lang_specific_driver): Use GCC-specific formats in
553 2010-05-30 Steven Bosscher <steven@gcc.gnu.org>
555 * except.c: Include tm.h.
557 2010-05-28 Joseph Myers <joseph@codesourcery.com>
559 * jvspec.c (lang_specific_driver): Use fatal_error instead of
560 fatal. Use warning instead of error for warnings.
562 2010-05-28 Nathan Froyd <froydnj@codesourcery.com>
564 * expr.c (get_symbol_table_index): Add spaces in expression.
566 2010-05-28 Nathan Froyd <froydnj@codesourcery.com>
568 * java-tree.h (method_entry): Declare. Declare VECs containing it.
569 (struct lang_type): Change type of otable_methods, atable_methods, and
570 itable_methods to VECs. Fix comment for atable_methods.
571 (emit_symbol_table): Take a VEC instead of a tree.
572 (get_symbol_table_index): Take a VEC * instead of a tree *.
573 * class.c (add_table_and_syms): Take a VEC instead of a tree.
574 (emit_symbol_table): Update for changed parameter type.
575 * expr.c (get_symbol_table_index): Likewise.
577 2010-05-27 Steven Bosscher <steven@gcc.gnu.org>
579 * buildings.c: Pretend to be a backend file by undefining
580 IN_GCC_FRONTEND (still need rtl.h here).
582 2010-05-26 Nathan Froyd <froydnj@codesourcery.com>
584 * java-tree.h (struct lang_decl_func): Change type of throws_list
586 * jcf-parse.c (HANDLE_EXCEPTIONS_ATTRIBUTE): Adjust for changed type
587 of DECL_FUNCTION_THROWS.
588 * class.c (make_method_value): Likewise.
590 2010-05-26 Nathan Froyd <froydnj@codesourcery.com>
592 * class.c (utf8_decl_list): Delete.
593 (build_utf8_ref): Remove references to it.
594 * java-tree.h (all_class_list): Delete.
595 (predef_filenames): Delete.
596 (enum java_tree_index) [JTI ALL_CLASS_LIST,JTI_PREDEF_FILENAMES]:
598 * jcf-parse.c (parse_roots): Decrease size to 2.
599 (current_file_list): Convert to a VEC.
600 (all_class_list): Declare.
601 (jcf_parse): Adjust for new type of all_class_list.
602 (java_layout_seen_class_methods): Likewise.
603 (predefined_filenames): Declare.
604 (add_predefined_file): Use it.
605 (predefined_filename_p): Likewise.
606 (java_parse_file): Adjust for new type of current_file_list. *
608 2010-05-25 Jakub Jelinek <jakub@redhat.com>
610 * lang.c (java_classify_record): Return RECORD_IS_INTERFACE
614 * java-tree.h (pending_static_fields): New extern declaration.
615 (java_write_globals): New prototype.
616 * lang.c (LANG_HOOKS_WRITE_GLOBALS): Define.
617 * decl.c (java_mark_class_local): When clearing DECL_EXTERNAL
618 of a static field push it into pending_static_fields vector.
619 * class.c (pending_static_fields): New variable.
620 (add_field): If static field is not DECL_EXTERNAL, push it into
621 pending_static_fields vector.
622 (java_write_globals): New function.
624 2010-05-24 Nathan Froyd <froydnj@codesourcery.com>
626 * expr.c (quick_stack): Change type to a VEC. Update comment.
627 (tree_list_free_list): Delete.
628 (flush_quick_stack): Update for quick_stack type change.
629 (push_value): Likewise.
630 (pop_value): Likewise.
632 2010-05-23 Steven Bosscher <steven@gcc.gnu.org>
634 * java-gimplify.c: Do not include tm.h, toplev.h.
635 * typeck.c: Do not include tm.h.
636 * mangle_name.c: Do not include tm.h.
637 * jcf-dump.c: Do not include tm.h, ggc.h.
638 * class.c: Do not include rtl.h, tm_p.h, target.h, except.h, cgraph.h.
639 * decl.c: Do not include tm.h, rtl.h, function.h, expr.h, except.h,
641 * jcf-parse.c: Do not include tm.h and tm_p.h.
642 * resource.c: Do not include tm.h, rtl.h, flags.h, obstack.h,
643 target.h, and expr.h.
644 * except.c: Do not include tm.h, rtl.h, function.h.
645 * builtins.c: Do not include convert.h. Explain why RTL headers
646 have to be included here.
647 * verify-glue.c: Do not include tm.h.
648 * jcf-depend.c: Do not include tm.h.
649 * jcf-reader.c: Include ggc.h.
650 * jcf-io.c: Do not include tm.h, toplev.h.
651 * expr.c: Do not include tm.h, rtl.h, expr.h, except.h, tm_p.h,
653 * lang.c: Do not include rtl.h, expr.h.
654 * Make-lang.in: Update dependencies.
656 2010-05-23 Steven Bosscher <steven@gcc.gnu.org>
658 * jcf-parse.c: Include bitmap.h.
659 * Make-lang.in: Update dependencies.
661 2010-05-20 Jakub Jelinek <jakub@redhat.com>
664 * decl.c (start_java_method): Set DECL_ARTIFICIAL on the 'this'
667 2010-05-19 Anatoly Sokolov <aesok@post.ru>
669 * jcf-parse.c (get_constant): Use double_int_to_tree instead of
670 build_int_cst_wide_type.
672 2010-05-18 Nathan Froyd <froydnj@codesourcery.com>
674 * expr.c (pop_arguments): Fix use of undeclared variable.
676 2010-05-18 Nathan Froyd <froydnj@codesourcery.com>
678 * expr.c (expand_java_multianewarray): Use build_call_vec instead of
680 (pop_arguments): Return a VEC instead of a tree. Take a method type
681 rather than a list of argument types.
682 (rewrite_rule): Change signature. of rewrite_arglist member.
683 (rewrite_arglist_getcaller): Update signature.
684 (rewrite_arglist_getclass): Likewise.
685 (maybe_rewrite_invocation): Update for rewrite_arglist change.
686 (build_known_method_ref): Take a VEC instead of a tree.
687 (invoke_build_dtable): Likewise.
688 (expand_invoke): Update calls to pop_arguments. Use build_call_vec
689 instead of build_call_list.
690 (build_jni_stub): Use build_call_vec instead of build_call_list.
691 * java-tree.h (maybe_rewrite_invocation): Update declaration.
692 (build_known_method_ref): Likewise.
693 (invoke_build_dtable): Likewise.
695 2010-05-14 Nathan Froyd <froydnj@codesourcery.com>
698 * java-tree.h (START_RECORD_CONSTRUCTOR): Change first argument to a
699 vector. Move call to build_constructor...
700 (FINISH_RECORD_CONSTRUCTOR): ...here. Add necessary arguments. Clear
701 TREE_CONSTANT on the constructor.
702 (PUSH_SUPER_VALUE): Change first argument to a vector.
703 (PUSH_FIELD_VALUE): Likewise.
704 * resource.c (compile_resource_data): Update calls to above macros.
705 * constants.c (build_constants_constructor): Likewise.
706 * class.c (build_utf8_ref): Likewise.
707 (make_field_value): Likewise.
708 (make_method_value): Likewise.
709 (add_table_and_syms): New function.
710 (make_class_data): Call it. Update calls to above macros.
711 (build_symbol_table_entry): New function.
712 (build_symbol_entry): Call it. Update calls to above macros.
713 (emit_symbol_table): Likewise.
714 (make_catch_class_record): Update calls to above macros.
715 (build_assertion_table_entry): New function.
716 (add_assertion_table_entry): Call it.
717 (emit_assertion_table): Likewise.
719 2010-05-06 Manuel López-Ibáñez <manu@gcc.gnu.org>
722 * lang.c (java_handle_option): Add argument kind.
724 2010-04-18 Eric Botcazou <ebotcazou@adacore.com>
726 * decl.c (java_init_decl_processing): Remove argument in call to
729 2010-04-07 Jakub Jelinek <jakub@redhat.com>
731 * exception.cc (_Jv_Throw): Avoid set but not used warning.
732 * include/java-assert.h (JvAssertMessage, JvAssert): Use argument in
733 sizeof to avoid set but not used warnings.
735 2010-01-20 Joern Rennecke <amylaar@spamcop.net>
737 * lang.c (java_post_options): Constify variable "dot".
739 * jcf-parse.c (set_source_filename): Constify variable "dot".
740 (load_class): Constify variable "separator".
741 Use get_identifier_with_length.
743 * jvspec.c (lang_specific_driver): Constify two variables named "p".
745 2010-01-09 Jakub Jelinek <jakub@redhat.com>
747 * jcf-dump.c (version): Update copyright notice dates.
749 2009-11-28 Jakub Jelinek <jakub@redhat.com>
751 * jvspec.c (lang_specific_driver): Remove unused
752 saw_verbose_flag variable.
753 * jcf-dump.c (main): Remove unused general_purpose_bits
755 * builtins.c (initialize_builtins): Remove unused float_ftype_float
757 * expr.c (java_stack_pop): Remove unused val variable.
758 (build_jni_stub): Remove unused res_type variable.
759 * verify-impl.c (check_field_constant): Remove unused len variable.
761 2009-10-20 Joel Dice <dicej@mailsnare.net>
764 * mangle_name.c (append_unicode_mangled_name): Fix mangling
765 of names with multiple underscores and "U".
766 (unicode_mangling_length): Likewise.
768 2009-10-03 Simon Baldwin <simonb@google.com>
770 * config-lang.in (lang_dirs): Remove zlib.
772 2009-09-28 Richard Henderson <rth@redhat.com>
774 * builtins.c (initialize_builtins): Update call to
775 build_common_builtin_nodes.
776 * lang.c (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New.
778 2009-09-14 Richard Henderson <rth@redhat.com>
780 * builtins.c (initialize_builtins): Update call to
781 build_common_builtin_nodes.
782 * decl.c (java_init_decl_processing): Don't call
783 default_init_unwind_resume_libfunc.
784 * except.c: Include tree-iterator.h.
785 (build_exception_object_var): New.
786 (build_exception_object_ref): Use it.
787 (expand_end_java_handler): Initialize it from __builtin_eh_pointer.
788 Attach all CATCH_EXPRs to a single TRY_CATCH_EXPR.
789 * java-tree.h (DECL_FUNCTION_EXC_OBJ): New.
791 2009-09-13 Richard Guenther <rguenther@suse.de>
792 Rafael Avila de Espindola <espindola@google.com>
794 * decl.c (do_nothing): Remove.
795 (java_init_decl_processing): Do not set lang_eh_runtime_type.
796 * Make-lang.in (lang.o): Add $(EXCEPT_H) dependency.
797 * lang.c (java_eh_personality): New.
798 (java_eh_personality_decl): Likewise.
799 (LANG_HOOKS_EH_PERSONALITY): Define.
801 2009-09-03 Diego Novillo <dnovillo@google.com>
803 * lang.c (lang_hooks): Remove const qualifier.
805 2009-09-01 Jakub Jelinek <jakub@redhat.com>
807 * boehm.c (mark_reference_fields): Compute % in HOST_WIDE_INT
810 2009-09-01 Richard Guenther <rguenther@suse.de>
812 * lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Remove.
813 * java-tree.h (java_mark_addressable): Likewise.
814 * typeck.c (java_mark_addressable): Likewise.
816 2009-08-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
818 * Make-lang.in (java.install-pdf): Install gcj.pdf in
819 $(pdfdir)/gcc, alongside the other manuals.
821 2009-08-12 Andrew Haley <aph@redhat.com>
823 * builtins.c (compareAndSwapInt_builtin): Use
824 flag_use_atomic_builtins.
825 (compareAndSwapLong_builtin): Likewise.
826 (compareAndSwapObject_builtin): Likewise.
827 * jvspec.c: Add flag_use_atomic_builtins.
828 * gcj.texi: Likewise.
829 * java-tree.h: Likewise.
830 * lang.opt: Likewise.
832 2009-08-11 Dodji Seketeli <dodji@redhat.com>
835 * lang.c (put_decl_node): Outputs different level of information
836 depending on the verbosity level.
838 2009-07-31 Andrew Haley <aph@redhat.com>
841 * decl.c (java_replace_references): Set EXPR_LOCATION on all
842 generated expressions.
843 (binding_level.loc): new field.
844 (clear_binding_level): Initialize loc.
845 (set_input_location): New function.
846 (pushlevel): Set new binding_level.loc.
847 (poplevel): Set EXPR_LOCATION on the new BIND_EXPR_BODY.
848 (start_java_method): Set DECL_SOURCE_LOCATION of this new method.
849 (java_add_stmt): Set the EXPR_LOCATION on all subtrees of new_stmt.
851 2009-07-17 Richard Guenther <rguenther@suse.de>
854 * java-gimplify.c (java_genericize): Do not gimplify here.
855 But replace all local references.
856 (java_gimplify_expr): Do not replace local references here.
857 (java_gimplify_modify_expr): Likewise.
858 * jcf-parse.c (java_parse_file): Do not finalize the CU or
859 optimize the cgraph here.
860 * decl.c (java_replace_reference): Make static.
861 (java_replace_references): New function.
862 (end_java_method): Clear base_decl_map.
863 * java-tree.h (java_replace_references): Declare.
864 (java_replace_reference): Remove.
866 2009-07-14 Taras Glek <tglek@mozilla.com>
867 Rafael Espindola <espindola@google.com>
869 * Make-lang.in (java.install-plugin): New target for
870 installing plugin headers.
872 2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
874 * class.c: Replace %J by an explicit location. Update all calls.
876 2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
878 * jcf-parse.c: Replace %H by an explicit location. Update all calls.
880 2009-06-29 Andrew Haley <aph@redhat.com>
883 * java-tree.h (cxx_keyword_p): New declaration.
884 * mangle_name.c (utf8_cmp): Move here from mangle.c.
885 (cxx_keywords): Likewise.
886 (cxx_keyword_p): Likewise.
887 (MANGLE_CXX_KEYWORDS): New macro.
888 (append_gpp_mangled_name): Use MANGLE_CXX_KEYWORDS.
889 (append_gpp_mangled_name): Likewise.
890 * mangle.c: Move code to mangle_name.c.
891 (mangle_member_name): Don't call cxx_keyword_p.
893 2009-06-12 Aldy Hernandez <aldyh@redhat.com>
895 * java-gimplify.c (java_gimplify_block): New argument to
897 * expr.c (force_evaluation_order): Same.
898 * typeck.c: Add location to build_decl or PUSH_FIELD calls.
907 * java-tree.h (PUSH_FIELD): Add location field.
909 2009-06-09 Ian Lance Taylor <iant@google.com>
911 * verify.h: Remove extern "C".
913 2009-06-07 Ian Lance Taylor <iant@google.com>
915 * jcf-parse.c (handle_constant): Change local variable 'kind' to
918 2009-06-01 Ian Lance Taylor <iant@google.com>
920 * jcf-io.c (find_class): Use CONST_CAST.
922 2009-05-27 Ian Lance Taylor <iant@google.com>
924 * Make-lang.in ($(XGCJ)$(exeext)): Change $(COMPILER) to
926 (jc1$(exeext), jcf-dump$(exeext), jvgenmain$(exeext)): Likewise.
928 2009-05-26 Ian Lance Taylor <iant@google.com>
930 * Make-lang.in (jvspec.o): Use $(COMPILER).
931 ($(XGCJ)$(exeext), jc1$(exeext), jcf-dump$(exeext)): Likewise.
932 (jvgenmain$(exeext), java/jcf-io.o, java/jcf-path.o): Likewise.
934 2009-05-12 Alexandre Oliva <aoliva@redhat.com>
936 * Make-lang.in (GCJ): Renamed to...
939 2009-04-27 Ian Lance Taylor <iant@google.com>
941 * builtins.c (java_builtins): Add casts to enum type.
942 * verify-impl.c (check_class_constant): Add cast to enum type.
943 (check_constant, check_wide_constant): Likewise.
945 2009-04-27 Richard Guenther <rguenther@suse.de>
948 * constants.c (build_constants_constructor): Retain the old
949 pointer type as valid TYPE_POINTER_TO after patching the
950 type of the constant pool decl.
952 2009-04-24 Ian Lance Taylor <iant@google.com>
954 * jcf-parse.c (handle_constant): Add cast to enum type.
956 2009-04-21 Taras Glek <tglek@mozilla.com>
958 * builtins.c: Update GTY annotations to new syntax
960 * java-tree.h: Likewise
964 2009-04-21 Joseph Myers <joseph@codesourcery.com>
966 * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
969 2009-04-18 Ian Lance Taylor <iant@google.com>
971 * verify-impl.c (verify_instructions_0): Add cast to enum type.
973 2009-04-09 Paolo Bonzini <bonzini@gnu.org>
975 * builtins.c (compareAndSwapLong_builtin,
976 compareAndSwapInt_builtin, compareAndSwapObject_builtin,
977 VMSupportsCS8_builtin): Do not look at sync_compare_and_swap_cc.
979 2009-03-31 Richard Guenther <rguenther@suse.de>
981 * java-gimplify.c (java_gimplify_expr): Do not manually gimplify
982 the first operand of binary and comaprison expressions.
984 2009-03-30 Joseph Myers <joseph@codesourcery.com>
986 PR rtl-optimization/323
987 * lang.c (java_post_options): Set flag_excess_precision_cmdline.
988 Give an error for -fexcess-precision=standard for processors where
989 the option is significant.
991 2009-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
993 * lang.opt: Unify help text for -Wdeprecated.
995 2009-02-03 Jakub Jelinek <jakub@redhat.com>
997 * jcf-dump.c (version): Update copyright notice dates.
999 2009-01-16 Richard Guenther <rguenther@suse.de>
1001 PR tree-optimization/38835
1003 * builtins.c (build_addr_sum): Use POINTER_PLUS_EXPR.
1005 2008-12-05 Sebastian Pop <sebastian.pop@amd.com>
1008 * Make-lang.in (jc1): Add BACKENDLIBS, remove GMPLIBS.
1010 2008-11-04 Andrew Haley <aph@redhat.com>
1013 * jcf-parse.c (java_emit_static_constructor): Don't call
1014 cgraph_build_static_cdtor. Rewrite.
1016 2008-10-24 Jakub Jelinek <jakub@redhat.com>
1018 * Make-lang.in (check-java-subtargets): New target.
1020 2008-10-16 David Edelsohn <edelsohn@gnu.org>
1023 * Make-lang.in (class.o): Depend on $(TM_P_H).
1025 * class.c: Include tm_p.h.
1026 * expr.c: Include tm_p.h.
1028 2008-10-14 Andrew Haley <aph@redhat.com>
1030 * constants.c (build_constant_data_ref): Make sure we only build
1031 one copy of the decl for the constant pool.
1033 2008-09-22 Andrew Haley <aph@redhat.com>
1035 * expr.c (rules): Add new rule for
1036 gnu.java.lang.VMCPStringBuilder.toString.
1037 (rewrite_rule.new_classname): New field.
1038 (maybe_rewrite_invocation): Use new_classname field instead of
1039 DECL_CONTEXT (*method_p).
1040 Allow rewrite_arglist to be NULL.
1042 2008-09-17 Andrew Pinski <andrew_pinski@playstation.sony.com>
1044 * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define.
1045 (java_get_callee_fndecl): Kill.
1047 2008-09-17 Jan Hubicka <jh@suse.cz>
1050 * class.c (add_method_1): Do not initialize DECL_INLINE.
1051 (make_local_function_alias): Likewise.
1052 * expr.c (rewrite_arglist_getcaller): Set DECL_UNINLINABLE.
1053 * lang.c (java_decl_ok_for_sibcall): Use DECL_UNINLINABLE.
1055 2008-09-09 Richard Guenther <rguenther@suse.de>
1057 * decl.c (build_result_decl): Remove no longer applicable
1060 2008-09-05 David Daney <ddaney@avtrex.com>
1062 * gcj.texi (-freduced-reflection): Clarify option's restrictions.
1064 2008-08-21 David Daney <ddaney@avtrex.com>
1066 * class.c (make_class_data): Don't add field_index when
1067 flag_reduced_reflection set.
1069 2008-08-12 Ulrich Weigand <uweigand@de.ibm.com>
1071 * typeck.c (convert): Do not check for TARGET_FLOAT_FORMAT.
1073 2008-08-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1076 * lang.c (java_handle_option): Replace set_Wunused with
1079 2008-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1081 * gcj.texi: Update copyright years. Do not list GPL as
1084 2008-07-29 Jakub Jelinek <jakub@redhat.com>
1086 * class.c (build_utf8_ref): Set DECL_SIZE and DECL_SIZE_UNIT
1089 * class.c (build_utf8_ref): Pad initializer string to utf8const_type's
1092 2008-07-29 Jan Hubicka <jh@suse.cz>
1094 * lang.c (java_post_options): Remove handling of flag_no_inline.
1096 2008-07-28 Richard Guenther <rguenther@suse.de>
1098 Merge from gimple-tuples-branch.
1100 2008-07-18 Richard Guenther <rguenther@suse.de>
1102 * expr.c: Include tree-iterator.h.
1103 * Make-lang.in (expr.o): Add tree-iterator.h dependency.
1105 2008-07-18 Aldy Hernandez <aldyh@redhat.com>
1107 * java-gimplify.c: Include gimple.h instead of tree-gimple.h.
1110 2008-07-14 Aldy Hernandez <aldyh@redhat.com>
1112 * java-gimplify.c (java_gimplify_expr): Same.
1113 (java_gimplify_modify_expr): Same.
1114 * java-tree.h: Rename GENERIC_NEXT to TREE_CHAIN.
1116 2008-05-02 Diego Novillo <dnovillo@google.com>
1118 * expr.c (build_java_throw_out_of_bounds_exception): Fix
1119 mixed declarations and code.
1121 2008-05-02 Doug Kwan <dougkwan@google.com>
1123 * expr.c (build_java_throw_out_of_bounds_exception ): Wrap call to
1124 _Jv_ThrowBadArrayIndex with a COMPOUND_EXPR to return 0.
1126 2008-02-19 Diego Novillo <dnovillo@google.com>
1128 http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00804.html
1130 * java-gimplify.c (java_gimplify_self_mod_expr): Change
1131 gimple_seq arguments to gimple_seq *. Update all users.
1133 2007-11-26 Aldy Hernandez <aldyh@redhat.com>
1135 * java-gimplify.c (java_gimplify_expr): Make pre_p and post_p
1137 (java_gimplify_self_mod_expr): Same.
1138 * java-tree.h (java_gimplify_expr): Make pre_p and post_p
1141 2008-07-24 Jan Hubicka <jh@suse.cz>
1143 * java/decl.c: Include cgraph.h
1144 (end_java_method): Remove non-unit-at-a-time code.
1145 (java_mark_decl_local): Likewise; sanity check that we don't touch
1148 2008-07-15 Jan Hubicka <jh@suse.cz>
1150 * lang.c (java_init_options): Enable unit-at-a-time by default.
1152 2008-07-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1154 * Make-lang.in (jvspec.o): Fix dependencies.
1156 2008-07-06 Tom Tromey <tromey@redhat.com>
1158 * Make-lang.in (java/parse.o-warn): Remove.
1159 (java/jcf-io.o-warn): Remove.
1161 2008-07-05 Tom Tromey <tromey@redhat.com>
1163 * jcf-io.c: Don't include fnmatch.h. Don't use JCF_USE_SCANDIR.
1164 (compare_path): Remove.
1165 (java_or_class_file): Likewise.
1166 (memoized_dirlist_entry): Likewise.
1167 (memoized_dirlist_hash): Likewise.
1168 (memoized_dirlist_lookup_eq): Likewise.
1169 (memoized_dirlists): Likewise.
1170 (caching_stat): Likewise.
1171 (find_class): Use stat.
1172 * jcf.h (JCF_USE_SCANDIR): Remove.
1174 2008-06-30 Joshua Sumali <jsumali@redhat.com>
1176 * Make-lang.in (JAVA_MANFILES): Add doc/aot-compile.1 and
1177 doc/rebuild-gcj-db.1
1178 (java.uninstall): Likewise.
1179 (java.maintainer-clean): Likewise.
1180 (aot-compile.pod): New rule.
1181 (rebuild-gcj-db.pod): New rule.
1182 (java.install-man): Install doc/aot-compile.1 and doc/rebuild-gcj-db.1
1183 * gcj.texi: Add new sections for aot-compile and rebuild-gcj-db.
1185 2008-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1187 * Make-lang.in (java/jcf-io.o-warn): New.
1189 2008-06-24 Tom Tromey <tromey@redhat.com>
1191 * jcf-path.c (jcf_path_init): Don't name variable 'try'.
1192 * expr.c (add_type_assertion): Rename argument.
1193 (build_java_arrayaccess): Don't name variable 'throw'.
1194 (ARRAY_NEW_MULTI): Don't name variable 'class'.
1195 * jcf-io.c (find_class): Don't name variable 'class'.
1196 * mangle.c (compression_table_add): Don't name variable 'new'.
1197 * constants.c (cpool_for_class): Rename argument.
1198 (alloc_constant_fieldref): Likewise.
1199 * jcf-parse.c (handle_innerclass_attribute): Don't name variable
1201 (read_class): Likewise.
1202 (parse_zip_file_entries): Likewise.
1203 (process_zip_dir): Likewise.
1204 * decl.c (java_mark_class_local): Rename argument.
1205 * class.c (GEN_TABLE): Use type_name, not typename.
1206 (gen_indirect_dispatch_tables): Likewise.
1207 (add_field): Rename argument.
1208 (is_compiled_class): Likewise.
1209 (safe_layout_class): Likewise.
1210 (emit_assertion_table): Likewise.
1211 * typeck.c (has_method): Rename argument.
1213 2008-06-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1215 * class.c (ident_subst, mangled_classname, unmangle_classname,
1216 gen_indirect_dispatch_tables, add_method_1,
1217 build_fieldref_cache_entry, make_local_function_alias,
1218 layout_class, java_treetreehash_find, java_treetreehash_new,
1219 split_qualified_name): Fix for -Wc++-compat.
1220 * constants.c (set_constant_entry, cpool_for_class): Likewise.
1221 * decl.c (make_binding_level, java_dup_lang_specific_decl,
1222 start_java_method): Likewise.
1223 * except.c (prepare_eh_table_type): Likewise.
1224 * expr.c (type_assertion_hash, note_instructions): Likewise.
1225 * java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC,
1226 MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
1227 * jcf-io.c (jcf_filbuf_from_stdio, opendir_in_zip, find_class):
1229 * jcf-parse.c (reverse, java_read_sourcefilenames,
1230 annotation_grow, rewrite_reflection_indexes, java_parse_file,
1231 process_zip_dir): Likewise.
1232 * jcf-path.c (add_entry, add_path, jcf_path_init,
1233 jcf_path_extdirs_arg): Likewise.
1234 * jcf-reader.c (jcf_parse_constant_pool): Likewise.
1235 * jvgenmain.c (do_mangle_classname): Likewise.
1236 * lang.c (put_decl_string): Likewise.
1237 * verify-impl.c (make_state_copy, make_state, add_new_state):
1240 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1242 * gcj.texi: Expand TABs, remove whitespace from blank lines.
1244 2008-06-14 Tom Tromey <tromey@redhat.com>
1247 * class.c (build_class_ref): Initialize this_classdollar when
1250 2008-05-23 Andrew Haley <aph@redhat.com>
1252 * jcf-parse.c (give_name_to_class): Call find_sourcefile to find full
1253 pathname of source file.
1255 2008-05-12 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1257 * jcf-dump.c (print_constant): Use
1258 HOST_LONG_LONG_FORMAT.
1260 2008-05-07 Kenneth Zadeck <zadeck@naturalbridge.com>
1262 * decl.c (java_init_decl_processing): Change DECL_IS_PURE to
1265 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
1267 * class.c (build_utf8_ref): Don't set TREE_INVARIANT.
1268 (build_classdollar_field): Don't set TREE_INVARIANT.
1269 (get_dispatch_table): Don't set TREE_INVARIANT.
1270 (make_class_data): Don't set TREE_INVARIANT.
1271 (build_symbol_entry): Don't set TREE_INVARIANT.
1272 (emit_symbol_table): Don't set TREE_INVARIANT.
1273 * constants.c (build_constant_data_ref): Don't set TREE_INVARIANT.
1274 (build_ref_from_constant_pool): Don't set TREE_INVARIANT.
1275 * resource.c (compile_resource_data): Don't set TREE_INVARIANT.
1276 * expr.c (cache_cpool_data_ref): Don't set TREE_INVARIANT.
1278 2008-04-03 Tom Tromey <tromey@redhat.com>
1280 * Make-lang.in (java_OBJS): New variable.
1282 2008-04-03 Paolo Bonzini <bonzini@gnu.org>
1284 * java-tree.h (insert_block): Kill.
1285 * decl.c (insert_block): Kill.
1287 2008-04-01 Joseph Myers <joseph@codesourcery.com>
1289 * gcj.texi: Include gpl_v3.texi instead of gpl.texi
1290 * Make-lang.in (TEXI_JAVA_FILES): Include gpl_v3.texi instead of
1293 2008-03-27 Tom Tromey <tromey@redhat.com>
1295 * Make-lang.in: Revert automatic dependency patch.
1297 2008-03-25 Tom Tromey <tromey@redhat.com>
1299 * Make-lang.in: Removed most explicit .o targets.
1300 (java/jvspec.o): Reduce to variable setting. Moved to java/.
1301 ($(GCJ)$(exeext)): Update.
1302 (JAVA_OBJS): New variable.
1303 (JCFDUMP_OBJS): Reformat.
1304 (java_OBJS): New variable.
1305 (java/jvspec.o-warn): Update.
1306 (java/parse.o-warn): Remove.
1307 (JAVA_TREE_H): Remove.
1308 (java/jcf-io.o): Reduce to variable setting.
1309 (ALL_CPPFLAGS): Likewise.
1311 2008-03-12 Paolo Bonzini <bonzini@gnu.org>
1313 * mangle.c (java_mangle_decl): Remove dead check.
1315 2008-03-11 Paolo Bonzini <bonzini@gnu.org>
1317 * jcf-parse.c (java_parse_file): Assert binding levels are
1319 * lang.c (LANG_HOOKS_CLEAR_BINDING_STACK, java_clear_binding_stack):
1322 2008-03-02 Jakub Jelinek <jakub@redhat.com>
1324 * jcf-dump.c (version): Update copyright notice dates.
1326 2008-02-29 Tom Tromey <tromey@redhat.com>
1328 * expr.c (expand_byte_code): Set DECL_FUNCTION_LAST_LINE on
1330 * java-tree.h (struct lang_decl_func): Remove obsolete comment.
1332 2008-02-26 Tom Tromey <tromey@redhat.com>
1334 * lang.c (java_post_options): Remove conditional.
1335 * expr.c (expand_byte_code): Remove old location code.
1336 * jcf-parse.c (set_source_filename): Remove old location code.
1337 (give_name_to_class): Likewise.
1338 (jcf_parse): Likewise.
1339 (duplicate_class_warning): Likewise.
1340 (parse_class_file): Likewise.
1341 (java_parse_file): Likewise.
1342 * decl.c (finish_method): Remove old location code.
1343 * class.c (push_class): Remove old location code.
1345 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1348 * Make-lang.in (jc1): Add $(GMPLIBS).
1350 2008-01-23 David Daney <ddaney@avtrex.com>
1352 * class.c (hide) Rename to...
1353 (java_hide_decl) ... this throughout, and make public.
1354 * resource.c (Jr_count): Remove.
1355 (compile_resource_data): Call java_mangle_resource_name to generate
1356 decl name. Make resource decl public and hidden.
1357 * mangle.c (java_mangle_resource_name): New function.
1358 * java-tree.h (java_hide_decl, java_mangle_resource_name): Declare
1361 2008-01-04 Andrew Haley <aph@redhat.com>
1364 * jcf-parse.c (parse_zip_file_entries): Move decl to compile on
1367 2008-01-03 Andrew Haley <aph@redhat.com>
1370 * jcf-parse.c (parse_zip_file_entries): Unset TYPE_ALIAS_SET if
1371 we're about to re-layout the type.
1373 2007-12-20 Alexandre Oliva <aoliva@redhat.com>
1375 * lang.c (java_classify_record): Don't return
1376 RECORD_IS_INTERFACE for now.
1378 2007-12-18 Andrew Haley <aph@redhat.com>
1381 * jcf-parse.c (java_parse_file): Remove call to
1382 java_mark_class_local.
1383 (parse_class_file): Reinstate call to java_mark_class_local here.
1384 * decl.c (java_mark_cni_decl_local): If the ASSEMBLER_NAME is
1385 already set, call java_mangle_decl() and make_decl_rtl() to
1386 rewrite its name as a hidden alias.
1388 2007-12-15 Alexandre Oliva <aoliva@redhat.com>
1391 * lang.c (java_classify_record): New.
1392 (LANG_HOOKS_CLASSIFY_RECORD): Override.
1394 2007-11-26 Andreas Krebbel <krebbel1@de.ibm.com>
1397 * decl.c (finish_method): Pass 'false' for the new
1398 allocate_struct_function parameter.
1400 2007-11-26 Alexandre Oliva <aoliva@redhat.com>
1402 * expr.c (build_jni_stub): Use the computed jni func type for
1405 2007-11-26 Alexandre Oliva <aoliva@redhat.com>
1407 * class.c (JAVA_TREEHASHHASH_H): Use TYPE_UID.
1409 2007-11-26 Alexandre Oliva <aoliva@redhat.com>
1411 * expr.c (type_assertion_hash): Hash type uids rather than
1414 2007-11-17 David Daney <ddaney@avtrex.com>
1415 Andrew Haley <aph@redhat.com>
1417 * constants.c (build_constants_constructor): Use POINTER_SIZE
1418 insead of BITS_PER_WORD in big-endian work around.
1420 2007-11-07 Tom Tromey <tromey@redhat.com>
1423 * gcj.texi (Input Options): Add missing noun.
1425 2007-11-02 Tom Tromey <tromey@redhat.com>
1428 * jcf-parse.c (java_parse_file): Ignore ZIPEMPTYMAGIC files.
1429 * zipfile.h (ZIPEMPTYMAGIC): New define.
1431 2007-11-01 Tom Tromey <tromey@redhat.com>
1433 * Make-lang.in (java/jcf-dump.o): Depend on zipfile.h.
1434 (java/jcf-parse.o): Depend on jcf-reader.c, zipfile.h, and jcf.h.
1435 (java/jcf-io.o): Depend on zipfile.h.
1437 2007-10-17 Richard Guenther <rguenther@suse.de>
1439 * Make-lang.in (java/builtins.o): Add $(OPTABS_H) and $(EXPR_H)
1442 2007-10-03 Andrew Haley <aph@redhat.com>
1445 * class.c (mangled_classname): Detect and replace illegal
1446 characters in assembly language symbols.
1447 (gen_indirect_dispatch_tables): Call mangled_classname() on
1450 2007-09-27 Jakub Jelinek <jakub@redhat.com>
1452 * lang.c (java_print_error_function): Add third argument.
1454 2007-09-15 Tom Tromey <tromey@redhat.com>
1456 * java-tree.h (struct lang_decl_func) <function_decl_body>:
1458 <init_final>: Likewise.
1459 * lang.c (java_dump_tree): Update.
1460 * java-tree.h (DECL_FUNCTION_BODY): Remove.
1462 2007-09-11 Jan Hubicka <jh@suse.cz>
1464 * decl.c (java_expand_body): Kill.
1465 (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
1467 2007-09-06 Tom Tromey <tromey@redhat.com>
1469 * jcf-parse.c (parse_class_file): Re-enter the current file.
1471 2007-09-07 Roman Zippel <zippel@linux-m68k.org>
1473 * boehm.c (mark_reference_fields): Move misaligned pointer check
1474 after JREFERENCE_TYPE_P test
1476 2007-09-06 Roman Zippel <zippel@linux-m68k.org>
1478 * boehm.c (mark_reference_fields): Don't use bitmap as gc_descr
1479 if pointer is misaligned.
1481 2007-09-06 Tom Tromey <tromey@redhat.com>
1483 * lang.c (java_post_options): Update.
1484 * jcf-parse.c (set_source_filename): Update.
1485 (give_name_to_class): Update.
1486 (jcf_parse): Update.
1487 (duplicate_class_warning): Update.
1488 (parse_class_file): Update.
1489 (java_parse_file): Update.
1490 * expr.c (expand_byte_code): Update.
1492 2007-09-05 Sandra Loosemore <sandra@codesourcery.com>
1494 * decl.c (finish_method): Use set_cfun.
1496 2007-09-04 Andrew Haley <aph@redhat.com>
1498 * decl.c (java_init_decl_processing): Call "__cxa_end_cleanup"
1499 when using the ARM EABI.
1501 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com>
1503 * Make-lang.in (jvspec.o): Remove SHLIB_MULTILIB.
1505 2007-09-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1507 * jcf-parse.c (read_class, java_parse_file): Supply a TYPE for
1509 * jcf.h (JCF_FINISH): Likewise.
1511 2007-08-28 Tom Tromey <tromey@redhat.com>
1513 * Make-lang.in (java.tags): Don't tag '*.y' files.
1515 2007-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1517 * lang.c (java_decl_ok_for_sibcall): Likewise.
1519 2007-08-21 Paul Brook <paul@codesourcery.com>
1520 Nathan Sidwell <nathan@codesourcery.com>
1521 Mark Mitchell <mark@codesourcery.com>
1522 Joseph Myers <joseph@codesourcery.com>
1524 * jcf-dump.c (version): Use pkgversion_string. Update copyright
1527 2007-08-20 Richard Guenther <rguenther@suse.de>
1529 * lang.c (java_tree_inlining_walk_subtrees): Remove.
1530 (LANG_HOOKS_TREE_INLINING_WALK_SUBTREES): Remove.
1532 2007-08-17 Tom Tromey <tromey@redhat.com>
1534 * typeck.c (find_method_in_interfaces): Update.
1535 * jcf-parse.c (load_class): Update.
1536 * java-gimplify.c (java_gimplify_component_ref): Removed.
1537 (java_gimplify_modify_expr): Update. Removed pre_p and post_p
1539 (java_gimplify_expr): Update.
1540 * decl.c (java_init_decl_processing): Update.
1541 * class.c (set_constant_value): Update.
1542 (make_class_data): Update.
1543 (finish_class): Update.
1544 (build_static_field_ref): Update.
1545 (is_compiled_class): Update.
1546 (maybe_layout_super_class): Update.
1547 (layout_class): Update.
1548 (layout_class_method): Update.
1549 * java-tree.h (CAN_COMPLETE_NORMALLY): Removed.
1550 (lang_decl_var) <am, final_iud, cif>: Removed fields.
1551 (lang_decl_func) <init_calls_this>: Removed field.
1552 (lang_type) <dot_class, verify_method>: Removed fields.
1553 (FIELD_NESTED_ACCESS): Removed.
1554 (FIELD_NESTED_ACCESS_P): Removed.
1555 (DECL_FIELD_FINAL_IUD): Removed.
1556 (DECL_LOCAL_FINAL_IUD): Removed
1557 (LOCAL_FINAL_P): Removed.
1558 (FINAL_VARIABLE_P): Removed.
1559 (CLASS_FINAL_VARIABLE_P): Removed.
1560 (DECL_BIT_INDEX): Removed.
1561 (DECL_INIT_CALLS_THIS): Removed.
1562 (FIELD_LOCAL_ALIAS): Removed.
1563 (FIELD_LOCAL_ALIAS_USED): Removed.
1564 (FIELD_THISN): Removed.
1565 (DECL_FUNCTION_INIT_TEST_CLASS): Removed.
1566 (LOCAL_CLASS_INITIALIZATION_FLAG): Removed.
1567 (LOCAL_CLASS_INITIALIZATION_FLAG_P): Removed.
1568 (TYPE_DOT_CLASS): Removed.
1569 (TYPE_VERIFY_METHOD): Removed.
1570 (ID_CLASSDOLLAR_P): Removed.
1571 (enum java_tree_index) <JTI_CLASSDOLLAR_IDENTIFIER_NODE>:
1573 (classdollar_identifier_node): Removed.
1574 (TYPE_UNKNOWN): Removed.
1575 (CLASS_FROM_SOURCE_P): Removed.
1576 * expr.c (build_jni_stub): Update.
1577 (force_evaluation_order): Update.
1578 (build_java_empty_stmt): Update.
1579 (build_class_init): Update.
1580 (java_stack_swap): Update.
1581 (build_jni_stub): Update.
1583 2007-08-17 Tom Tromey <tromey@redhat.com>
1585 * java-tree.h (LABEL_TYPE_STATE): Removed.
1586 (load_type_state): Removed.
1587 (LABEL_PC): Removed.
1588 (LABEL_VERIFIED): Removed.
1589 (type_states): Declare.
1590 * expr.c (type_states): New global.
1591 (load_type_state): Now static. Use type_states. Changed
1593 (lookup_label): Don't set LABEL_PC.
1594 (expand_byte_code): Don't use LABEL_VERIFIED.
1595 (note_instructions): Initialize type_states.
1596 * verify-glue.c (vfy_note_stack_depth): Rewrote.
1597 (vfy_note_stack_type): Use type_states.
1598 (vfy_note_local_type): Likewise.
1600 2007-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1602 * jcf-parse.c (read_class, java_parse_file): Use CONST_CAST.
1603 * jcf.h (JCF_FINISH): Likewise.
1605 2007-07-31 Nick Clifton <nickc@redhat.com>
1607 * java-gimplify.c: Change copyright header to refer to version 3
1608 of the GNU General Public License and to point readers at the
1609 COPYING3 file and the FSF's license web page.
1610 * typeck.c, lang-specs.h, mangle_name.c, jcf-dump.c, class.c,
1611 decl.c, config-lang.in, jcf-parse.c, constants.c, Make-lang.in,
1612 resource.c, except.c, builtins.c, jvspec.c, java-tree.def,
1613 javaop.def, jcf-path.c, verify-glue.c, jcf-depend.c, lang.opt,
1614 jcf-reader.c, mangle.c, zextract.c, jcf-io.c, jcf.h, zipfile.h,
1615 verify.h, java-except.h, win32-host.c, expr.c, jvgenmain.c,
1616 parse.h, lang.c, java-tree.h, javaop.h, boehm.c: Likewise.
1618 2007-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1620 * jcf-io.c (find_class): Fix -Wcast-qual warnings.
1622 2007-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1624 * lang.c (java_get_callee_fndecl): Constify.
1626 2007-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1628 * mangle.c (set_type_package_list): Constify.
1629 * verify-glue.c (vfy_make_string): Delete.
1630 * verify.h (vfy_make_string): Likewise.
1632 2007-07-26 Tom Tromey <tromey@redhat.com>
1634 * java-tree.h (push_labeled_block, pop_labeled_block): Remove.
1635 (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
1636 EXIT_BLOCK_LABELED_BLOCK): Likewise.
1637 * lang.c (java_tree_inlining_walk_subtrees): Update.
1638 (java_dump_tree): Likewise.
1639 * java-tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, TRY_EXPR):
1641 * decl.c (push_labeled_block, pop_labeled_block): Remove.
1642 * java-gimplify.c (java_gimplify_labeled_block_expr,
1643 java_gimplify_exit_block_expr, java_gimplify_try_expr): Remove.
1644 (java_gimplify_expr): Update.
1646 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1648 * class.c (java_treetreehash_hash, java_treetreehash_compare):
1650 * expr.c (type_assertion_eq): Likewise.
1651 * jcf-io.c (compare_path): Likewise.
1652 * jcf-parse.c (cmpstringp): Likewise.
1653 * verify-impl.c (get_one_type, compute_argument_types,
1654 compute_return_type): Likewise.
1656 2007-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1660 * class.c (hide): Wrap in HAVE_GAS_HIDDEN.
1662 2007-07-12 Richard Guenther <rguenther@suse.de>
1664 * expr.c (expand_java_return): RETURN_EXPR has void type.
1665 (build_jni_stub): Likewise. Use a comparison against zero
1666 for null-pointer test in COND_EXPR.
1667 (build_field_ref): Build POINTER_PLUS_EXPR with correct
1668 type. Convert result instead.
1669 (build_invokevirtual): Likewise.
1671 2007-07-09 Geoffrey Keating <geoffk@apple.com>
1674 * lang.c (java_init): Remove setting of force_align_functions_log.
1675 * class.c (add_method_1): Set DECL_ALIGN of non-static method
1676 to cope with ptrmemfunc_vbit_in_pfn.
1678 2007-07-03 David Daney <ddaney@avtrex.com>
1680 * java/Make-lang.in (doc/gcj.info): Add $(gcc_docdir) to
1682 (doc/gcj.dvi): Same.
1683 (doc/gcj.pdf): Same.
1684 (java/index.html): Same.
1686 2007-06-15 Andrew Pinski <andrew_pinski@playstation.sony.com>
1688 * class.c (make_class_data): Build the index in sizetype.
1689 Use POINTER_PLUS_EXPR instead of PLUS_EXPR when
1690 adding to a pointer type.
1691 (build_symbol_entry): Likewise.
1692 * expr.c (build_java_arrayaccess): Likewise.
1693 (build_field_ref): Likewise.
1694 (build_known_method_ref): Likewise.
1695 (build_invokevirtual): Likewise.
1696 * except.c (build_exception_object_ref): Do a
1697 NEGATIVE and then a POINTER_PLUS_EXPR instead
1700 2007-06-11 Rafael Ávila de Espíndola <espindola@google.com>
1702 * typeck.c (java_signed_type): Remove.
1703 * lang.c (LANG_HOOKS_SIGNED_TYPE): Remove.
1704 * java-tree.h (java_signed_type): Remove.
1706 2007-05-18 Geoffrey Keating <geoffk@apple.com>
1708 * jcf-dump.c (HANDLE_MAGIC): Use 'unsigned long' for %lx.
1709 (print_constant): Likewise.
1711 2007-05-14 Rafael Ávila de Espíndola <espindola@google.com>
1713 * expr.c (build_java_binop): Use unsigned_type_for instead of
1715 * java-tree.h (java_unsigned_type): Remove.
1716 * lang.c (LANG_HOOKS_UNSIGNED_TYPE): Remove.
1717 * typeck.c (java_unsigned_type): Remove.
1719 2007-04-21 Andrew Pinski <andrew_pinski@playstation.sony.com>
1721 * java-tree.h (lang_tree_node): Use GENERIC_NEXT
1722 instead of checking GIMPLE_STMT_P in chain_next.
1724 2007-04-06 Colin Walters <walters@redhat.com>
1726 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=161701
1727 * jcf-io.c (open_class): Copy 'filename'.
1729 2007-04-03 Andrew Haley <aph@redhat.com>
1731 * jvgenmain.c (main): Change main to use class$, not class$$.
1732 (do_mangle_classname): Likewise.
1733 * class.c (hide): New function.
1734 (add_field): Hide everything that shouldn't be visible outside a
1736 (build_static_class_ref): Likewise.
1737 (build_classdollar_field): Likewise.
1738 (make_class_data): Likewise.
1739 (layout_class_method): Likewise.
1740 * expr.c (special_method_p): New function.
1742 * class.c (push_class): Don't bogusly guess the source filename.
1743 * jcf-parse.c (give_name_to_class): Don't set input_location from
1744 DECL_ARTIFICIAL decls.
1746 2007-03-30 Rafael Ávila de Espíndola <espindola@google.com>
1748 * typeck.c (java_signed_or_unsigned_type): Removed.
1749 (java_signed_type): use get_signed_or_unsigned_type instead of
1750 java_signed_or_unsigned_type.
1751 (java_unsigned_type): Ditto.
1752 * lang.c (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Removed.
1753 * java-tree.h (java_signed_or_unsigned_type): Removed.
1755 2007-03-26 Tom Tromey <tromey@redhat.com>
1757 * Make-lang.in (JAVA_MANFILES): Removed grmiregistry.1.
1758 (java.maintainer-clean): Likewise.
1759 (java.install-man): Likewise.
1760 (.INTERMEDIATE): Removed grmiregistry.pod.
1761 (grmiregistry.pod): Removed.
1762 * gcj.texi (Invoking gcjh): Removed.
1763 (Invoking gjnih): Likewise.
1764 (Invoking grmiregistry): Likewise.
1765 (direntry): Updated.
1767 (which-gcj): Removed.
1769 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1771 * Make-lang.in: Add install-pdf target as copied from
1772 automake v1.10 rules.
1774 2007-02-27 Brooks Moses <brooks.moses@codesourcery.com>
1776 * gcj.texi: Standardize title page.
1778 2007-02-18 Kazu Hirata <kazu@codesourcery.com>
1780 * class.c: Fix a comment typo.
1782 2007-02-15 Sandra Loosemore <sandra@codesourcery.com>
1783 Brooks Moses <brooks.moses@codesourcery.com>
1784 Lee Millward <lee.millward@codesourcery.com>
1786 * java-tree.h (BUILD_MONITOR_ENTER): Use build_call_nary instead
1788 (BUILD_MONITOR_EXIT): Likewise.
1790 * java-gimplify.c (java_gimplify_component_ref): Use build_call_expr.
1791 (java_gimplify_modify_expr): Likewise.
1793 * class.c (cache_this_class_ref): Use build_call_expr.
1794 (build_static_field_ref): Likewise.
1795 (emit_indirect_register_classes): Likewise.
1796 (emit_register_classes): Likewise.
1798 * resource.c (write_resource_constructor): Use build_call_expr.
1800 * builtins.c (builtin_creator_function): Change interpretation of
1801 the second parameter to be the whole CALL_EXPR instead of the arglist.
1802 (max_builtin): Tweak parameter list. Use new CALL_EXPR accessors.
1803 (min_builtin): Likewise.
1804 (abs_builtin): Likewise.
1805 (java_build_function_call_expr): Likewise.
1806 (convert_real): Likewise.
1807 (UNMARSHAL3): Likewise.
1808 (UNMARSHAL4): Likewise.
1809 (UNMARSHAL5): Likewise.
1810 (build_arglist_for_builtin): Delete. Fix callers to use
1811 build_call_expr instead.
1812 (putObject_builtin): Tweak parameter list. Use new CALL_EXPR
1814 (compareAndSwapInt_builtin): Likewise.
1815 (compareAndSwapLong_builtin): Likewise.
1816 (compareAndSwapObject_builtin): Likewise.
1817 (putVolatile_builtin): Likewise.
1818 (getVolatile_builtin): Likewise.
1819 (VMSupportsCS8_builtin): Likewise.
1820 (check_for_builtin): Pass entire CALL_EXPR to builtin expander
1823 * expr.c (build_java_athrow): Use build_call_nary instead of build3.
1824 (build_java_throw_out_of_bounds_exception): Likewise.
1825 (java_check_reference): Likewise.
1826 (build_java_arraystore_check): Likewise.
1827 (build_newarray): Likewise.
1828 (build_anewarray): Likewise.
1829 (expand_java_multinewarray): Use build_call_list instead of build3.
1830 (build_java_monitor): Use build_call_nary instead of build3.
1831 (java_create_object): Likewise.
1832 (expand_java_NEW): Likewise.
1833 (build_instanceof): Likewise.
1834 (expand_java_CHECKCAST): Likewise.
1835 (build_java_soft_divmod): Likewise.
1836 (build_java_binop): Likewise.
1837 (build_field_ref): Likewise.
1838 (build_class_init): Likewise.
1839 (rewrite_arglist_getcaller): Use build_call_expr.
1840 (build_invokeinterface): Use build_call_nary instead of build3.
1841 (expand_invoke): Use build_call_list instead of build3.
1842 (build_jni_stub): Use build_call_nary, build_call_list, or
1843 build_call_expr instead of build3.
1844 (expand_java_field_op): Use build_call_expr instead of build3.
1845 (force_evaluation_order): Use new CALL_EXPR accessors.
1847 * lang.c (java_get_callee_fndecl): Use new CALL_EXPR accessors.
1849 2007-02-15 David Daney <ddaney@avtrex.com>
1851 * Make-lang.in (JAVA_MANFILES): Add doc/gc-analyze.1.
1852 (java.maintainer-clean):Add gc-analyze.1.
1853 (.INTERMEDIATE): Add gc-analyze.pod.
1854 (gc-analyze.pod): New rule.
1855 (java.install-man): Install gc-analyze.1
1856 * gcj.texi: Add new section for the gc-analyze program.
1858 2007-02-07 Andrew Haley <aph@redhat.com>
1860 * class.c (uncache_this_class_ref): New.
1861 * expr.c (build_jni_stub): Initialize the class.
1862 (expand_byte_code): Call uncache_this_class_ref after generating
1865 2007-02-06 Tom Tromey <tromey@redhat.com>
1868 * jvspec.c (lang_specific_driver): Check for the '-' in '-I'.
1870 2007-02-03 Kazu Hirata <kazu@codesourcery.com>
1872 * java-tree.h, javaop.def, jcf-parse.c: Fix comment typos.
1874 2007-02-02 Andrew Haley <aph@redhat.com>
1876 * expr.c (expand_byte_code): Call cache_this_class_ref() and
1877 cache_cpool_data_ref().
1878 Set TYPE_CPOOL_DATA_REF.
1879 (cache_cpool_data_ref): New function.
1880 * constants.c (build_ref_from_constant_pool): Remove special-case
1881 code for flag_indirect_classes.
1882 (build_constant_data_ref): Move special-case code for
1883 flag_indirect_classes here from build_ref_from_constant_pool.
1884 * decl.c (finish_method): Move class initialization from here to
1885 cache_this_class_ref.
1886 * class.c (cache_this_class_ref): New function.
1887 (build_class_ref): Use this_classdollar for the ouput class.
1889 2007-02-02 David Daney <ddaney@avtrex.com>
1891 * class.c (is_compiled_class): Move check to avoid reloading
1893 (layout_class_method): Don't calculate DECL_EXTERNAL if it is
1896 2007-02-01 Andrew Haley <aph@redhat.com>
1899 * jcf-parse.c (jcf_parse): Clear the field_offsets bitmap.
1901 2007-01-31 Kazu Hirata <kazu@codesourcery.com>
1903 * class.c, jcf-parse.c: Fix comment typos.
1905 2007-01-30 Tom Tromey <tromey@redhat.com>
1907 * gcj.texi (Strings): Fix documentation for JvNewString.
1909 2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1911 * gcj.texi (Invoking gcjh, Invoking gjnih, Arrays): Fix some
1914 2007-01-30 Ben Elliston <bje@au.ibm.com>
1916 * jvspec.c (lang_specific_driver): Remove unused classpath_args.
1918 2007-01-29 Tom Tromey <tromey@redhat.com>
1921 * jvspec.c (lang_specific_driver): Handle separate -I argument.
1922 * lang.opt (-I): Add 'Separate'.
1924 2007-01-29 Andrew Haley <aph@redhat.com>
1926 * class.c (add_method_1): Mark fndecl as external unless we are
1927 compiling it into this object file.
1929 2007-01-24 Andrew Haley <aph@redhat.com>
1931 * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): current_class is a
1932 type node, not a decl, so use TYPE_SYNTHETIC not CLASS_SYNTHETIC.
1934 2007-01-22 Andrew Haley <aph@redhat.com>
1936 * builtins.c (VMSupportsCS8_builtin): New function.
1938 2007-01-23 Andrew Pinski <pinskia@gmail.com>
1941 * jcf-io.c (opendir_in_zip): Close the file
1942 and free zipf before returning after an error.
1944 2007-01-16 Tom Tromey <tromey@redhat.com>
1946 * java-tree.def: Added copyright header.
1948 2007-01-15 Tom Tromey <tromey@redhat.com>
1950 * lang.c (dump_compound_expr) <EXPR_WITH_FILE_LOCATION>: Removed
1952 * java-gimplify.c (java_gimplify_expr) <EXPR_WITH_FILE_LOCATION>:
1954 * java-tree.h (EXPR_WFL_EMIT_LINE_NOTE): Removed.
1955 (EXPR_WFL_NODE): Likewise.
1956 (EXPR_WFL_LINECOL): Likewise.
1957 (EXPR_WFL_FILENAME): Likewise.
1958 (EXPR_WFL_LINENO): Likewise.
1959 (build_expr_wfl, expr_add_location): Don't declare.
1960 (build_unknown_wfl): Removed.
1961 (EXPR_WFL_FILENAME_NODE): Removed.
1962 (EXPR_WFL_COLNO): Removed.
1963 (EXPR_WFL_SET_LINECOL): Removed.
1964 (DECL_FUNCTION_WFL): Removed.
1965 (DECL_FIELD_FINAL_WFL): Removed.
1966 (struct lang_decl_func) <wfl>: Removed field.
1967 <called_constructor>: Likewise.
1968 <inner_access>: Likewise.
1969 (struct lang_decl_var) <wfl>: Removed field.
1970 (DECL_CONSTRUCTOR_CALLS): Removed.
1971 (DECL_FUNCTION_ACCESS_DECL): Likewise.
1972 (DECL_FUNCTION_INNER_ACCESS): Likewise.
1973 (DECL_SPECIFIC_COUNT): Likewise.
1974 * java-tree.def (EXPR_WITH_FILE_LOCATION): Removed.
1975 * expr.c (build_expr_wfl): Removed.
1976 (expr_add_location): Likewise.
1978 2007-01-12 Tom Tromey <tromey@redhat.com>
1980 * jcf-dump.c (main): Updated call to find_class.
1981 * lang.c (java_init): Removed dead code.
1982 * jcf-parse.c (read_class): Don't use java_source field. Removed
1984 (parse_zip_file_entries): Don't use java_source field.
1985 (process_zip_dir): Likewise.
1986 (jcf_parse): Removed dead code.
1987 (java_parse_file): Likewise.
1988 (read_class): Updated call to find_class.
1989 * jcf-io.c (find_class): Don't use java_source field. Removed
1990 'source_ok' argument, .java logic.
1991 * jcf.h (JCF) <java_source>: Removed field.
1992 (JCF_ZERO): Updated. (find_class): Updated.
1993 * decl.c: Removed dead code.
1994 * class.c: Removed dead code.
1996 2007-01-11 Tom Tromey <tromey@redhat.com>
1998 * typeck.c (convert): Don't use flag_emit_class_files.
1999 * lang.c (java_post_options): Don't use flag_emit_class_files.
2000 (java_handle_option): Don't use flag_extraneous_semicolon or
2002 * jcf-parse.c (HANDLE_CONSTANTVALUE): Don't use
2003 flag_emit_class_files.
2004 (load_class): Likewise.
2005 * java-tree.h (flag_emit_class_files): Don't declare.
2006 (STATIC_CLASS_INIT_OPT_P): Don't use flag_emit_class_files.
2007 (flag_extraneous_semicolon): Don't declare.
2008 (flag_not_overriding): Likewise.
2009 (flag_static_local_jdk1_1): Likewise.
2010 (flag_redundant): Likewise.
2011 * expr.c (build_newarray): Don't use flag_emit_class_files.
2012 * class.c (DEFAULT_ENABLE_ASSERT): Don't use
2013 flag_emit_class_files.
2014 (build_class_ref): Likewise.
2015 * builtins.c (check_for_builtin): Don't use
2016 flag_emit_class_files.
2018 2007-01-10 Tom Tromey <tromey@redhat.com>
2020 * lang.c (java_can_use_bit_fields_p): Removed.
2021 (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): Removed.
2023 2007-01-09 Andrew Haley <aph@redhat.com>
2025 * expr.c (build_java_arrayaccess): Rewrite to generate array
2026 access in canonical form.
2027 (expand_java_arraystore): Use build_fold_addr_expr() on address of
2030 2007-01-03 Andrew Haley <aph@redhat.com>
2033 * expr.c (expand_java_field_op): If we're initializing a field's
2034 declaring interface we should not also initialize the class
2035 context in which it was referenced.
2037 2007-01-02 Tom Tromey <tromey@redhat.com>
2039 * java-tree.h (compiling_from_source, current_encoding,
2040 JTI_FINIT_IDENTIFIER_NODE, JTI_INSTINIT_IDENTIFIER_NODE,
2041 JTI_LENGTH_IDENTIFIER_NODE, JTI_SUPER_IDENTIFIER_NODE,
2042 JTI_CONTINUE_IDENTIFIER_NODE, JTI_ACCESS0_IDENTIFIER_NODE,
2043 JTI_WFL_OPERATOR): Removed
2044 (finit_identifier_node, instinit_identifier_node,
2045 length_identifier_node, super_identifier_node,
2046 continue_identifier_node, access0_identifier_node, wfl_operator):
2048 (cyclic_inheritance_report,
2049 DECL_FUNCTION_STATIC_METHOD_INVOCATION_COMPOUND,
2050 DECL_FUNCTION_NAP, DECL_FUNCTION_SYNTHETIC_CTOR,
2051 DECL_FIXED_CONSTRUCTOR_P): Removed.
2052 (struct lang_decl_func) <smic, nap, synthetic_ctor, fixed_ctor>:
2054 (TYPE_FINIT_STMT_LIST, TYPE_CLINIT_STMT_LIST, TYPE_II_STMT_LIST,
2055 TYPE_IMPORT_LIST, TYPE_IMPORT_DEMAND_LIST): Removed.
2056 (struct lang_type) <finit_stmt_list, clinit_stmt_list, ii_block,
2057 import_list, import_demand_list>: Removed.
2058 (java_layout_seen_class_methods, init_jcf_parse, init_src_parse,
2059 cxx_keyword_p): Removed.
2060 (DECL_FINIT_P, DECL_INSTINIT_P, ID_FINIT_P, ID_INSTINIT_P,
2061 TYPE_UNUSED, TYPE_UNDERFLOW, TYPE_UNEXPECTED,
2062 CLASS_ACCESS0_GENERATED_P, CLASS_HAS_FINIT_P,
2063 IS_A_SINGLE_IMPORT_CLASSFILE_NAME_P, IS_A_CLASSFILE_NAME,
2064 IS_AN_IMPORT_ON_DEMAND_P, COMPOUND_ASSIGN_P, SWITCH_HAS_DEFAULT,
2065 PRIMARY_P, MODIFY_EXPR_FROM_INITIALIZATION_P,
2066 CLASS_METHOD_CHECKED_P, FOR_LOOP_P, ANONYMOUS_CLASS_P,
2067 LOCAL_CLASS_P, ARG_FINAL_P, SUPPRESS_UNREACHABLE_ERROR,
2068 RESOLVE_PACKAGE_NAME_P, RESOLVE_TYPE_NAME_P, IS_BREAK_STMT_P,
2069 IS_CRAFTED_STRING_BUFFER_P, IS_INIT_CHECKED, CALL_USING_SUPER,
2070 NESTED_FIELD_ACCESS_IDENTIFIER_P, TOPLEVEL_CLASS_DECL_P,
2071 PURE_INNER_CLASS_TYPE_P, TOPLEVEL_CLASS_TYPE_P,
2072 CALL_CONSTRUCTOR_P, CALL_EXPLICIT_CONSTRUCTOR_P,
2073 CALL_THIS_CONSTRUCTOR_P, CALL_SUPER_CONSTRUCTOR_P,
2074 FINALLY_EXPR_LABEL, FINALLY_EXPR_BLOCK, BLOCK_IS_IMPLICIT,
2075 BLOCK_EMPTY_P, IS_UNCHECKED_EXCEPTION_P, java_error_count,
2076 java_parse_abort_on_error, extract_field_decl): Removed.
2078 * lang.c: (compiling_from_source, current_encoding): Removed.
2079 (java_handle_option): Ignore -fencoding.
2080 * parse.h: Don't include lex.h.
2081 (java_error_count, int_fits_type_p, stabilize_reference, RULE,
2082 RECOVERED, DRECOVERED, RECOVER, DRECOVER, YYERROR_NOW,
2083 YYNOT_TWICE, CLASS_MODIFIERS, FIELD_MODIFIERS, METHOD_MODIFIERS,
2084 INTERFACE_MODIFIERS, INTERFACE_INNER_MODIFIERS,
2085 INTERFACE_METHOD_MODIFIERS, INTERFACE_FIELD_MODIFIERS,
2086 MODIFIER_WFL, THIS_MODIFIER_ONLY, parse_error_context,
2087 ABSTRACT_CHECK, JCONSTRUCTOR_CHECK, exit_java_complete_class,
2088 CLASS_OR_INTERFACE, GET_REAL_TYPE, GET_TYPE_NAME,
2089 OBSOLETE_MODIFIER_WARNING, OBSOLETE_MODIFIER_WARNING2,
2090 BUILD_PTR_FROM_NAME, INCOMPLETE_TYPE_P,
2091 JAVA_MAYBE_GENERATE_DEBUG_INFO, JBSC_TYPE_P, JSTRING_P,
2092 JNULLP_TYPE_P, JDECL_P, TYPE_INTERFACE_P, TYPE_CLASS_P,
2093 IDENTIFIER_INNER_CLASS_OUTER_FIELD_ACCESS,
2094 MANGLE_OUTER_LOCAL_VARIABLE_NAME,
2095 MANGLE_ALIAS_INITIALIZER_PARAMETER_NAME_ID,
2096 MANGLE_ALIAS_INITIALIZER_PARAMETER_NAME_STRING,
2097 SKIP_THIS_AND_ARTIFICIAL_PARMS, MARK_FINAL_PARMS,
2098 UNMARK_FINAL_PARMS, CRAFTED_PARAM_LIST_FIXUP,
2099 AIPL_FUNCTION_CREATION, AIPL_FUNCTION_DECLARATION,
2100 AIPL_FUNCTION_CTOR_INVOCATION, AIPL_FUNCTION_FINIT_INVOCATION,
2101 ERROR_CANT_CONVERT_TO_BOOLEAN, ERROR_CANT_CONVERT_TO_NUMERIC,
2102 ERROR_CAST_NEEDED_TO_INTEGRAL, ERROR_VARIABLE_NOT_INITIALIZED,
2103 LOOP_EXPR_BODY_MAIN_BLOCK, LOOP_EXPR_BODY_UPDATE_BLOCK,
2104 LOOP_EXPR_BODY_CONDITION_EXPR, LOOP_EXPR_BODY_LABELED_BODY,
2105 LOOP_EXPR_BODY_BODY_EXPR, PUSH_LABELED_BLOCK, POP_LABELED_BLOCK,
2106 PUSH_LOOP, POP_LOOP, PUSH_EXCEPTIONS, POP_EXCEPTIONS,
2107 IN_TRY_BLOCK_P, EXCEPTIONS_P, ANONYMOUS_ARRAY_BASE_TYPE,
2108 ANONYMOUS_ARRAY_DIMS_SIG, ANONYMOUS_ARRAY_INITIALIZER,
2109 INVOKE_STATIC, INVOKE_NONVIRTUAL, INVOKE_SUPER, INVOKE_INTERFACE,
2110 INVOKE_VIRTUAL, jdep_code, struct _jdep, JDEP_DECL, JDEP_DECL_WFL,
2111 JDEP_KIND, JDEP_WFL, JDEP_MISC, JDEP_ENCLOSING, JDEP_CLASS,
2112 JDEP_APPLY_PATCH, JDEP_GET_PATCH, JDEP_CHAIN, JDEP_TO_RESOLVE,
2113 JDEP_RESOLVED_DECL, JDEP_RESOLVED, JDEP_RESOLVED_P, struct
2114 jdeplist_s, jdeplists, CLASSD_FIRST, CLASSD_LAST, CLASSD_CHAIN,
2115 JDEP_INSERT, SET_TYPE_FOR_RESOLUTION, WFL_STRIP_BRACKET,
2116 STRING_STRIP_BRACKETS, PROMOTE_RECORD_IF_COMPLETE,
2117 BLOCK_CHAIN_DECL, GET_CURRENT_BLOCK, EXPR_WFL_GET_LINECOL,
2118 EXPR_WFL_QUALIFICATION, QUAL_WFL, QUAL_RESOLUTION, QUAL_DECL_TYPE,
2119 GET_SKIP_TYPE, COMPLETE_CHECK_OP, COMPLETE_CHECK_OP_0,
2120 COMPLETE_CHECK_OP_1, COMPLETE_CHECK_OP_2, BUILD_APPEND,
2121 BUILD_STRING_BUFFER, BUILD_THROW, SET_WFL_OPERATOR,
2122 PATCH_METHOD_RETURN_ERROR, CHECK_METHODS, CLEAR_DEPRECATED,
2123 CHECK_DEPRECATED_NO_RESET, CHECK_DEPRECATED, REGISTER_IMPORT,
2124 CURRENT_OSB, struct parser_ctxt, GET_CPC_LIST, CPC_INNER_P,
2125 GET_CPC, GET_CPC_UN, GET_CPC_UN_MODE, GET_CPC_DECL_NODE,
2126 GET_ENCLOSING_CPC, GET_NEXT_ENCLOSING_CPC,
2127 GET_ENCLOSING_CPC_CONTEXT, INNER_ENCLOSING_SCOPE_CHECK, PUSH_CPC,
2128 PUSH_ERROR, POP_CPC, DEBUG_CPC, CPC_INITIALIZER_LIST,
2129 CPC_STATIC_INITIALIZER_LIST, CPC_INSTANCE_INITIALIZER_LIST,
2130 CPC_INITIALIZER_STMT, CPC_STATIC_INITIALIZER_STMT,
2131 CPC_INSTANCE_INITIALIZER_STMT, SET_CPC_INITIALIZER_STMT,
2132 SET_CPC_STATIC_INITIALIZER_STMT,
2133 SET_CPC_INSTANCE_INITIALIZER_STMT, JAVA_NOT_RADIX10_FLAG,
2134 java_complete_class, java_check_circular_reference,
2135 java_fix_constructors, java_layout_classes, java_reorder_fields,
2136 java_method_add_stmt, java_get_line_col, reset_report,
2137 java_init_lex, yyparse, java_parse, yyerror, java_expand_classes,
2138 java_finish_classes, ctxp, ctxp_for_generation,
2139 ctxp_for_generation_last): Removed.
2140 * expr.c (force_evaluation_order): Don't mention NEW_CLASS_EXPR.
2141 * mangle.c (utf8_cmp): New function.
2142 (cxx_keywords): New global.
2143 (cxx_keyword_p): New function.
2144 * jvspec.c (JAVA_START_CHAR): Removed obsolete comment.
2145 * java-tree.def (UNARY_PLUS_EXPR, NEW_ARRAY_EXPR,
2146 NEW_ANONYMOUS_ARRAY_EXPR, NEW_CLASS_EXPR, THIS_EXPR,
2147 CASE_EXPR, DEFAULT_EXPR, JAVA_CATCH_EXPR, SYNCHRONIZED_EXPR,
2148 THROW_EXPR, CONDITIONAL_EXPR, INSTANCEOF_EXPR, NEW_ARRAY_INIT,
2149 CLASS_LITERAL, JAVA_EXC_OBJ_EXPR): Removed.
2150 * Make-lang.in (java.srcextra): Do nothing.
2151 (parse.c, keyword.h, gt-java-parse.h): Removed targets.
2152 (JAVA_OBJS): Don't mention deleted files.
2153 (java.mostlyclean): Likewise.
2154 (java.clean): Likewise.
2155 (JAVA_LEX_C): Removed.
2156 (buffer.o, check-init.o, parse.o): Remove unused targets.
2157 (typeck.o): Updated.
2158 * jcf-parse.c (read_class): Comment out unused code.
2159 (java_layout_seen_class_methods): New function.
2160 (parse_source_file_1, parse_source_file_2, parse_source_file_3):
2162 (java_parse_file): Comment out unused code. Don't use 'ctxp'.
2163 (init_jcf_parse): Removed.
2164 * config-lang.in (gtfiles): Remove deleted files.
2165 * decl.c (java_init_decl_processing): Don't initialize
2166 finit_identifier_node, instinit_identifier_node,
2167 length_identifier_node, super_identifier_node,
2168 continue_identifier_node, access0_identifier_node. Don't call
2170 * class.c (cyclic_inheritance_report): New global.
2171 (add_method_1): Don't use
2172 DECL_FUNCTION_STATIC_METHOD_INVOCATION_COMPOUND.
2173 (maybe_layout_super_class): Comment out code.
2174 (safe_layout_class): New function.
2175 * java-gimplify.c (java_gimplify_expr): Removed CASE_EXPR,
2176 DEFAULT_EXPR, NEW_ARRAY_INIT, JAVA_CATCH_EXPR, JAVA_EXC_OBJ_EXPR,
2177 UNARY_PLUS_EXPR, NEW_ARRAY_EXPR, NEW_ANONYMOUS_ARRAY_EXPR,
2178 NEW_CLASS_EXPR, SYNCHRONIZED_EXPR, CONDITIONAL_EXPR,
2179 INSTANCEOF_EXPR, CLASS_LITERAL, THIS_EXPR.
2180 (java_gimplify_case_expr): Removed.
2181 (java_gimplify_default_expr): Likewise.
2182 (java_gimplify_new_array_init): Likewise.
2184 * keyword.gperf, keyword.h: Removed.
2185 * chartables.h: Removed.
2186 * check-init.c: Removed.
2187 * buffer.c, buffer.h: Removed.
2188 * convert.h: Removed.
2189 * gen-table.pl: Removed.
2190 * lex.c, lex.h: Removed.
2192 2007-01-02 Andrew Haley <aph@redhat.com>
2194 * expr.c (expand_java_arraystore): Make sure we perform a bounds
2195 check at runtime before we perform a type check.
2197 2006-12-19 Andrew Haley <aph@redhat.com>
2199 * decl.c: Bump minor BC ABI version.
2201 2006-12-13 Gary Benson <gbenson@redhat.com>
2203 * jcf-depend.c (jcf_dependency_add_file): Mark filename unused.
2205 2006-12-12 Tom Tromey <tromey@redhat.com>
2207 * lang-specs.h: Pass -M options to jc1.
2208 * jcf-depend.c (jcf_dependency_add_file): Don't emit
2211 2006-12-07 Mohan Embar <gnustuff@thisiscool.com>
2213 * jcf-path.c (jcf_path_compute): Use platform PATH_SEPARATOR.
2215 2006-12-06 Mohan Embar <gnustuff@thisiscool.com>
2217 * lang-specs.h: Pass '%U'-based options as separate arguments.
2219 2006-12-05 Tom Tromey <tromey@redhat.com>
2222 * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Mark fields and
2224 * class.c (add_field): Handle ACC_SYNTHETIC.
2225 (add_method_1): Likewise. Handle bridge and varargs.
2226 (get_access_flags_from_decl): Handle synthetic, bridge, varargs,
2228 (set_class_decl_access_flags): Handle synthetic and annotation.
2229 * java-tree.h (METHOD_BRIDGE): New macro.
2230 (METHOD_VARARGS): Likewise.
2231 (TYPE_SYNTHETIC): Likewise.
2232 (TYPE_ANNOTATION): Likewise.
2233 (lang_type): New fields 'synthetic' and 'annotation'.
2234 (lang_decl_func): New fields 'varargs' and 'bridge'.
2236 2006-12-04 Andrew Haley <aph@redhat.com>
2238 * jcf-parse.c (rewrite_reflection_indexes): Don't do anything if
2241 2006-11-29 Gary Benson <gbenson@redhat.com>
2243 * expr.c (rewrite_arglist_getcaller): Reorder.
2245 2006-11-29 Andrew Haley <aph@redhat.com>
2247 * expr.c (rewrite_arglist_getcaller): Remove DECL_INLINE.
2248 * lang.c (java_decl_ok_for_sibcall): Check for DECL_INLINE.
2250 2006-11-23 Andrew Haley <aph@redhat.com>
2252 * expr.c (rewrite_arglist_getcaller): New.
2253 (rewrite_arglist_getclass): Fix indentation.
2254 (rules): Add gnu.classpath.VMStackWalker.getCallingClass() and
2255 gnu.classpath.VMStackWalker.getCallingClassLoader().
2256 * builtins.c (initialize_builtins): Remove duplicate def'n of
2258 Add __builtin_return_address.
2260 2006-11-22 Andrew Haley <aph@redhat.com>
2262 * jcf-reader.c (get_attribute): Mark attr_type unused.
2264 * builtins.c (compareAndSwapObject_builtin): Fix declaration.
2266 2007-01-08 Richard Guenther <rguenther@suse.de>
2268 * lex.c (do_java_lex): Use build_int_cst_wide_type.
2269 * jcf-parse.c (get_constant): Likewise.
2271 2006-11-12 Jan Hubicka <jh@suse.cz>
2273 * resource.c (compile_resource_data): Update for new varpool names.
2274 * java/class.c (build_utf8_ref): Likewise.
2276 2006-11-12 David Daney <ddaney@avtrex.com>
2279 * typeck.c (build_java_array_type): Increase buffer sizes.
2281 2006-11-11 Richard Guenther <rguenther@suse.de>
2283 * check-init.c (check_init): Remove handling of FIX_CEIL_EXPR,
2284 FIX_FLOOR_EXPR and FIX_ROUND_EXPR.
2286 2006-11-06 Andrew Haley <aph@redhat.com>
2288 * java-tree.h (CONSTANT_LazyFlag): New.
2289 * constants.c (build_constants_constructor): Mask CONSTANT_LazyFlag.
2290 * jcf-parse.c (handle_innerclass_attribute): Write attribute to
2292 (handle_constant): Return 0 for dummy cpool entries.
2293 Handle constants of kind Class.
2294 Handle constants of kind NameAndType.
2295 (handle_enclosingmethod_attribute): New.
2296 (handle_signature_attribute): New.
2297 (HANDLE_ENCLOSINGMETHOD_ATTRIBUTE): New.
2298 (HANDLE_SIGNATURE_ATTRIBUTE): New.
2299 (handle_constant): Use unmangle_classname()rather than calling
2300 identifier_subst() directly.
2302 2006-11-02 Andrew Haley <aph@redhat.com>
2304 * java-tree.h (FIELD_ENUM): New.
2305 (lang_decl_var.field_enum): New.
2306 (lang_type.enum_class): New.
2308 * class.c (set_class_decl_access_flags): Handle enum types.
2309 (add_field): Handle enum fields.
2310 (get_access_flags_from_decl): Likewise.
2312 * class.c (make_class_data): Put reflection_data into rodata.
2314 2006-11-01 Andrew Haley <aph@redhat.com>
2316 * jcf-parse.c (field_offsets, bit_obstack): New variables.
2317 (jcf_parse): Write end marker to annotation_data.
2318 (java_parse_file): Create field_offsets bitmap. Destroy it.
2319 (annotation_grow, annotation_rewrite_byte)
2320 (annotation_rewrite_short, annotation_rewrite_int)
2321 (annotation_read_short, annotation_write_byte)
2322 (annotation_write_short, annotation_write_int)
2323 (handle_long_constant, handle_constant, handle_element_value)
2324 (handle_annotation, handle_annotations)
2325 (handle_annotation_attribute, rewrite_reflection_indexes)
2326 (handle_member_annotations, handle_parameter_annotations)
2327 (handle_default_annotation): New functions.
2328 (HANDLE_RUNTIMEVISIBLEANNOTATIONS_ATTRIBUTE)
2329 (HANDLE_RUNTIMEINVISIBLEANNOTATIONS_ATTRIBUTE)
2330 (HANDLE_RUNTIMEVISIBLEPARAMETERANNOTATIONS_ATTRIBUTE)
2331 (HANDLE_RUNTIMEINVISIBLEPARAMETERANNOTATIONS_ATTRIBUTE)
2332 (HANDLE_ANNOTATIONDEFAULT_ATTRIBUTE): New definitions.
2333 * java-tree.h (enum jv_attr_type, enum jv_attr_kind): New.
2334 (TYPE_REFLECTION_DATA): New.
2335 (TYPE_REFLECTION_DATASIZE): New.
2336 * jcf.h (enum cpool_tag): Convert a bunch of #define constants to
2338 * jcf-reader.c (get_attribute): Pass field/method index and
2339 attribute type to get_attribute().
2340 * constants.c (find_class_or_string_constant): Make nonstatic.
2341 (cpool_for_class): Likewise.
2342 (build_constants_constructor): Separate string and scalar types.
2343 * class.c (make_class_data): Generate field_indexes permutation.
2344 Pass it to rewrite_reflection_indexes().
2345 (make_class_data): Generate constructor for reflection_data field.
2347 2006-10-20 Tom Tromey <tromey@redhat.com>
2349 * gcj.texi (Top): Don't mention jv-scan.
2350 (Invoking gcj): Likewise.
2351 (Invoking gcjh): Likewise.
2352 (Invoking gjnih): Likewise.
2353 (Invoking gij): Likewise.
2354 (Invoking gcj-dbtool): Likewise.
2355 (Invoking jv-scan): Removed.
2356 * parse-scan.y: Removed.
2357 * jv-scan.c: Removed.
2358 * config-lang.in (stagestuff): Don't mention jv-scan.
2359 * Make-lang.in (java): Removed jv-scan.
2360 (JAVA_TARGET_INDEPENDENT_BIN_TOOLS): Likewise.
2361 (JVSCAN_OBJS): Removed.
2362 (jv-scan$(exeext)): Likewise.
2363 (JAVA_MANFILES): Removed jv-scan.1.
2364 (java.uninstall): Don't mention jv-scan.
2365 (java.mostlyclean): Likewise.
2366 (java.maintainer-clean): Likewise.
2367 (.INTERMEDIATE): Likewise.
2368 (java/jv-scan.o): Removed.
2369 (jv-scan.pod): Likewise.
2370 (java.srcextra): Don't mention parse-scan.c.
2371 (java.mostlyclean): Likewise.
2372 (java/parse-scan.c): Removed.
2373 (java/parse-scan.o-warn): Removed.
2374 (java/parse-scan.o): Removed.
2376 2006-10-20 Tom Tromey <tromey@redhat.com>
2378 * lang.c (java_handle_option): Don't use
2379 jcf_write_base_directory.
2380 * jcf.h (jcf_write_base_directory): Removed.
2381 * parse.y (java_expand_classes): Don't call write_classfile.
2382 * config-lang.in (gtfiles): Removed jcf-write.c.
2383 * Make-lang.in (JAVA_OBJS): Removed jcf-write.o.
2384 (java/jcf-write.o): Removed.
2385 * jcf-parse.c (parse_class_file): Don't call write_classfile.
2386 * java-tree.h (write_classfile): Removed declaration.
2387 * jcf-write.c: Removed.
2389 2006-10-20 Tom Tromey <tromey@redhat.com>
2391 * Make-lang.in (java): Removed gjnih, gcjh.
2392 (JAVA_TARGET_INDEPENDENT_BIN_TOOLS): Likewise.
2393 (GCJH_OBJS): Removed.
2394 (GJNIH_OBJS): Likewise.
2395 (gjnih$(exeext)): Likewise.
2396 (gcjh$(exeext)): Likewise.
2397 (JAVA_MANFILES): Removed gcjh.1, gjnih.1.
2398 (java.install-common): Don't special case gcjh.
2399 (java.uninstall): Don't mention gcjh, gjnih.
2400 (java.mostlyclean): Likewise.
2401 (java.maintainer-clean): Likewise.
2402 (.INTERMEDIATE): Likewise.
2403 (gcjh.pod): Removed.
2404 (gjnih.pod): Likewise.
2405 (GCJH_TARGET_INSTALL_NAME): Removed.
2406 (java/gjavah-jni.o): Removed.
2407 (java/gjavah.o): Likewise.
2408 * config-lang.in (stagestuff): Removed gjnih, gcjh.
2409 * gjavah.c: Removed.
2411 2006-10-17 Tom Tromey <tromey@redhat.com>
2413 * jcf-dump.c (print_element_value): Expect a utf8 constant in the
2416 2006-10-17 Tom Tromey <tromey@redhat.com>
2418 * jvgenmain.c (main): Handle -findirect-dispatch.
2419 * jvspec.c (jvgenmain_spec): Pass -findirect-dispatch to
2422 2006-10-06 Andrew Haley <aph@redhat.com>
2424 * builtins.c (compareAndSwapInt_builtin): Check that we really do
2425 have a compare_and_swap builtin.
2426 (compareAndSwapLong_builtin): Likewise.
2427 (compareAndSwapObject_builtin): Likewise.
2429 2006-10-04 Andrew Haley <aph@redhat.com>
2431 * builtins.c (java_builtins): Add compareAndSwapInt,
2432 compareAndSwapLong, compareAndSwapObject, putOrderedInt,
2433 putOrderedLong, putOrderedObject, putIntVolatile, putLongVolatile,
2434 putObjectVolatile, getObjectVolatile, getIntVolatile,
2435 getLongVolatile, getLong.
2436 (UNMARSHAL3): New macro.
2437 (UNMARSHAL4): Likewise.
2438 (UNMARSHAL5): Likewise.
2439 (build_arglist_for_builtin): New function.
2440 (build_addr_sum, build_check_this): New functions.
2441 (putObject_builtin. compareAndSwapInt_builtin,
2442 compareAndSwapLong_builtin, compareAndSwapObject_builtin,
2443 putVolatile_builtin, getVolatile_builtin): New builtins.
2445 2006-06-08 Andrew Haley <aph@redhat.com>
2447 * expr.c (build_field_ref): Pass NULL_TREE as SPECIAL arg to
2448 get_symbol_table_index().
2449 (maybe_rewrite_invocation): Set SPECIAL if we need to access a
2451 (build_known_method_ref): New arg: special. Pass it to
2452 get_symbol_table_index.
2453 (get_symbol_table_index): Put SPECIAL in the TREE_PURPOSE field of
2455 (build_invokevirtual): New arg: special. Pass it to
2456 get_symbol_table_index.
2457 (expand_invoke): New variable: special.
2458 Pass it to maybe_rewrite_invocation().
2459 Pass it to build_known_method_ref().
2460 * class.c (build_symbol_entry): Add new arg: special. Use it to
2461 build the symbol table conbstructor.
2462 (emit_symbol_table): Extract SPECIAL from the method list and pass
2463 it to build_symbol_entry().
2464 * parse.y (patch_invoke): Call maybe_rewrite_invocation() and set
2465 special accordingly.
2467 2006-09-08 Andrew Haley <aph@redhat.com>
2469 * class.c (layout_class_method): Use build_java_signature, not
2470 build_java_argument_signature. Use lookup_java_method, not
2471 lookup_argument_method.
2473 2006-08-16 Jakub Jelinek <jakub@redhat.com>
2474 Bryce McKinlay <bryce@mckinlay.net.nz>
2476 * jvspec.c (lang_specific_driver): Add -s-bc-abi when needed.
2478 2006-07-18 Tom Tromey <tromey@redhat.com>
2480 * lang.opt: Added missing -W options.
2482 2006-07-12 Tom Tromey <tromey@redhat.com>
2485 * lang-specs.h: Pass '%U'-based options as separate arguments.
2486 Use -faux-classpath.
2487 * lang.c (java_handle_option): Handle OPT_faux_classpath.
2488 * lang.opt (faux-classpath): New option.
2490 2006-07-07 Tom Tromey <tromey@redhat.com>
2492 * class.c (make_class_data): Set value for reflection_data field.
2493 * decl.c (java_init_decl_processing): Add reflection_data field.
2495 2006-07-07 Tom Tromey <tromey@redhat.com>
2497 * jcf-dump.c (HANDLE_ENCLOSINGMETHOD_ATTRIBUTE): Declare locals
2499 (HANDLE_SIGNATURE_ATTRIBUTE): Likewise.
2501 2006-07-07 Andrew Haley <aph@redhat.com>
2503 * jcf-parse.c (set_source_filename): Don't check for
2504 CLASS_FROM_CURRENTLY_COMPILED_P.
2507 2006-07-07 Andrew Haley <aph@redhat.com>
2509 * java-tree.h (java_read_sourcefilenames): Declare.
2510 * lang.c (java_handle_option): Call java_read_sourcefilenames().
2511 * lang.opt (fsource-filename): New opt.
2512 * lang-specs.h: Add -fsource-filename.
2513 * jcf-parse.c (num_files, filenames): New variables.
2514 (reverse, cmpstringp, java_read_sourcefilenames,
2515 find_sourcefile): New.
2516 (set_source_filename): Call find_sourcefile to find the real name
2519 2006-06-27 Tom Tromey <tromey@redhat.com>
2521 * jcf-reader.c (get_attribute): Handle EnclosingMethod,
2522 Signature, LocalVariableTypeTable, annotation attributes.
2523 * jcf-dump.c (HANDLE_ENCLOSINGMETHOD_ATTRIBUTE): New macro.
2524 (HANDLE_SIGNATURE_ATTRIBUTE): Likewise.
2525 (HANDLE_START_FIELD): Mention 'descriptor', not 'signature'.
2526 (HANDLE_METHOD): Likewise.
2527 (HANDLE_LOCALVARIABLETYPETABLE_ATTRIBUTE): New macro.
2528 (print_annotation): New function.
2529 (print_element_value): Likewise.
2531 (HANDLE_RUNTIMEVISIBLEANNOTATIONS_ATTRIBUTE): New macro.
2532 (HANDLE_RUNTIMEINVISIBLEANNOTATIONS_ATTRIBUTE): Likewise.
2533 (print_parameter_annotations): New function.
2534 (HANDLE_RUNTIMEVISIBLEPARAMETERANNOTATIONS_ATTRIBUTE): New macro.
2535 (HANDLE_RUNTIMEINVISIBLEPARAMETERANNOTATIONS_ATTRIBUTE):
2537 (HANDLE_ANNOTATIONDEFAULT_ATTRIBUTE): Likewise.
2538 (print_annotations): New function.
2540 2006-06-23 Tom Tromey <tromey@redhat.com>
2542 * lang-specs.h: Default -fsource and -ftarget to 1.5. If
2543 emitting class files, always use 1.5.
2544 * gcj.texi (Input Options): Document -fsource.
2545 (Code Generation): Document -ftarget.
2547 2006-06-21 Tom Tromey <tromey@redhat.com>
2550 * expr.c (expand_java_field_op): Initialize field's declaring
2553 2006-06-20 Tom Tromey <tromey@redhat.com>
2555 * expr.c (push_value): Always flush quick stack.
2557 2006-06-19 Tom Tromey <tromey@redhat.com>
2559 * expr.c (push_value): Also flush quick stack if value is a
2562 2006-06-19 Tom Tromey <tromey@redhat.com>
2564 * expr.c (push_value): Flush quick stack if value has side
2567 2006-06-13 Tom Tromey <tromey@redhat.com>
2569 * class.c (is_compiled_class): Explicitly check for current
2572 2006-06-09 Tom Tromey <tromey@redhat.com>
2574 * gjavah.c (decompile_method): Don't decompile a static field
2577 2006-06-06 Tom Tromey <tromey@redhat.com>
2579 * lang-specs.h <jc1>: Add .jar file to command line if
2580 -fsaw-java-file. Also, remove -ffilelist-file in this case.
2582 2006-06-05 Tom Tromey <tromey@redhat.com>
2584 * jcf-dump.c (print_access_flags): Handle varargs, bridge,
2585 synthetic, enum, annotation.
2586 * jcf.h (ACC_BRIDGE): New macro.
2587 (ACC_VARARGS): Likewise.
2588 (ACC_SYNTHETIC): Likewise.
2589 (ACC_ENUM): Likewise.
2590 (ACC_ANNOTATION): Likewise.
2592 2006-06-04 Tom Tromey <tromey@redhat.com>
2594 * lang.opt (-fsaw-java-file, -fsource, -ftarget): New options.
2595 * jvspec.c (jvgenmain_spec): Remove -fsaw-java-file, -fsource,
2597 (lang_specific_driver): Removed dead code. Add -fsaw-java-file
2598 when needed. Handle classpath-setting.
2599 * Make-lang.in ($(GCJ)$(exeext)): Link in jcf-path.o.
2600 * lang-specs.h: Rewrote.
2602 2006-06-04 Tom Tromey <tromey@redhat.com>
2604 * jcf-io.c (find_class): Set source_ok to 0.
2605 * jcf-parse.c (jcf_parse): Disable gnu.gcj.gcj-compiled warning.
2606 (parse_class_file): Don't call java_mark_class_local.
2607 (java_parse_file): Skip .java files. Call java_mark_class_local
2608 before lowering any code.
2609 (parse_zip_file_entries): Don't call duplicate_class_warning
2611 (process_zip_dir): ... call it here.
2612 * class.c (add_field): Don't mark field external if it is being
2613 compiled into this object.
2614 (make_class_data): Handle situation where class_dtable_decl is
2615 created before Class is compiled.
2616 (is_compiled_class): Don't assume files in zip are compiled into
2618 (layout_class_method): Don't mark method external if it is being
2619 compiled into this object.
2621 2006-06-04 Tom Tromey <tromey@redhat.com>
2623 * jcf-path.c (jcf_path_compute): New function.
2624 * jcf.h (jcf_path_compute): Declare.
2626 2006-10-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2628 * decl.c: Include langhooks.h.
2629 (builtin_function): Remove.
2630 (java_init_decl_processing): Replace calls to builtin_function
2631 with add_builtin_function.
2632 * Make-lang.in (jc1$(exeext)): Depend on and link with attribs.o.
2633 (java/decl.o): Depend on langhooks.h.
2634 * java-tree.h (builtin_function): Remove.
2636 2006-10-10 Brooks Moses <bmoses@stanford.edu>
2638 * Make-lang.in: Added "java.pdf", "gcj.pdf" target support.
2640 2006-09-12 Tom Tromey <tromey@redhat.com>
2642 * expr.c (push_value): Always flush quick stack.
2644 2006-09-12 Tom Tromey <tromey@redhat.com>
2647 * jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note
2648 the push of the called method's return result.
2650 2006-09-12 Tom Tromey <tromey@redhat.com>
2652 * jvspec.c (lang_specific_driver): Read spec file even if
2655 2006-09-12 Tom Tromey <tromey@redhat.com>
2658 * expr.c (expand_java_field_op): Initialize field's declaring
2659 interface if necessary.
2661 2006-09-12 Tom Tromey <tromey@redhat.com>
2664 * expr.c (expand_java_field_op): No error for assignments not in
2665 class initializer or constructor.
2667 2006-08-22 Andrew Haley <aph@redhat.com>
2669 * decl.c (java_add_stmt): Give the statement list a type.
2671 2006-08-16 Jakub Jelinek <jakub@redhat.com>
2672 Bryce McKinlay <bryce@mckinlay.net.nz>
2674 * jvspec.c (lang_specific_driver): Add -s-bc-abi when needed.
2676 2006-08-10 Simon Martin <simartin@users.sourceforge.net>
2679 * parse.y (build_incdec): Emit an error instead of an ICE if '++'
2680 or '--' is used with a constant operand.
2681 (java_complete_lhs): When processing a '++' or '--' expression,
2682 don't call java_complete_tree but java_complete_lhs, so that a
2683 static final variable operand is never replaced by its value. This
2684 avoids an ICE later on.
2685 (patch_unaryop): Fixed typo in comment.
2687 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2689 * Make-lang.in: Use $(HEADER_H) instead of header.h in dependencies.
2691 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
2693 * builtins.c (check_for_builtin): If a builtin could result in a
2694 direct call being generated, don't use it if flag_indirect_dispatch
2697 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
2699 * gcj.texi (Invocation): Corrections for Invocation API example.
2701 2006-07-04 Andrew Haley <aph@redhat.com>
2703 * class.c (build_fieldref_cache_entry): Set DECL_IGNORED_P on the
2706 2006-06-21 Andrew Haley <aph@redhat.com>
2708 * java-tree.h (update_aliases): Remove
2709 * expr.c (expand_iinc): Remove call to update_aliases().
2710 (STORE_INTERNAL): Likewise.
2711 * decl.c (update_aliases, initialize_local_variable)
2712 (maybe_pushlevels): Set DECL_VALUE_EXPR for debugging decls.
2714 2006-06-19 Andrew Haley <aph@redhat.com>
2718 * expr.c (java_modify_addr_for_volatile): New function.
2719 (expand_java_field_op): Handle volatile fields.
2720 * java-gimplify.c (java_gimplify_component_ref): Call
2721 java_modify_addr_for_volatile to give the field_ref the correct
2723 (java_gimplify_modify_expr): Likewise.
2724 * java-tree.h (java_modify_addr_for_volatile): New decl.
2726 2006-06-17 Karl Berry <karl@gnu.org>
2728 * gcj.texi (@dircategory): Use "Software development" instead
2729 of "Programming", following the Free Software Directory.
2731 2006-06-16 Andrew Haley <aph@redhat.com>
2733 * class.c (make_class_data): When using flag_indirect_classes,
2734 don't initialize the vtable of Class instances.
2736 2006-06-09 Andrew Haley <aph@redhat.com>
2740 * builtins.c (initialize_builtins): Add __sync_synchronize().
2741 * class.c (add_field): Mark volatile fields.
2742 * java-gimplify.c (java_gimplify_expr): Call new functions to
2743 handle self-modifying exprs and COMPONENT_REFs.
2744 (java_gimplify_component_ref): New.
2745 (java_gimplify_modify_expr): Add handling for volatiles.
2747 2006-06-08 Tom Tromey <tromey@redhat.com>
2749 * gcj.texi (libgcj Runtime Properties): Document
2750 gnu.gcj.user.realname.
2752 2006-06-08 Andrew Haley <aph@redhat.com>
2754 * expr.c (build_field_ref): Pass NULL_TREE as SPECIAL arg to
2755 get_symbol_table_index().
2756 (maybe_rewrite_invocation): Set SPECIAL if we need to access a
2758 (build_known_method_ref): New arg: special. Pass it to
2759 get_symbol_table_index.
2760 (get_symbol_table_index): Put SPECIAL in the TREE_PURPOSE field of
2762 (build_invokevirtual): New arg: special. Pass it to
2763 get_symbol_table_index.
2764 (expand_invoke): New variable: special.
2765 Pass it to maybe_rewrite_invocation().
2766 Pass it to build_known_method_ref().
2767 * class.c (build_symbol_entry): Add new arg: special. Use it to
2768 build the symbol table conbstructor.
2769 (emit_symbol_table): Extract SPECIAL from the method list and pass
2770 it to build_symbol_entry().
2771 * parse.y (patch_invoke): Call maybe_rewrite_invocation() and set
2772 special accordingly.
2774 2006-06-06 David Daney <ddaney@avtrex.com>
2776 * gcj.texi (libgcj Runtime Properties): Document
2777 gnu.gcj.runtime.NameFinder.show_raw and
2778 gnu.gcj.runtime.NameFinder.remove_unknown.
2780 2006-06-06 Tom Tromey <tromey@redhat.com>
2782 * jcf-dump.c (print_access_flags): Handle varargs, bridge,
2783 synthetic, enum, annotation.
2784 * jcf.h (ACC_BRIDGE): New macro.
2785 (ACC_VARARGS): Likewise.
2786 (ACC_SYNTHETIC): Likewise.
2787 (ACC_ENUM): Likewise.
2788 (ACC_ANNOTATION): Likewise.
2790 2006-06-06 Mike Stump <mrs@apple.com>
2792 * Make-lang.in: Rename to htmldir to build_htmldir to avoid
2793 installing during build.
2795 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2797 * gcj.texi (Extensions): Document the new gcj-dbtool-based
2798 classname-to-library resolution mechanism.
2799 Declare the old gnu.gcj.runtime.VMClassLoader.library_control
2800 mechanism deprecated.
2801 (libgcj Runtime Properties): Document
2802 gnu.gcj.runtime.VMClassLoader.library_control's new default.
2804 2006-05-29 Jakub Jelinek <jakub@redhat.com>
2806 * javaop.h (int16, int32, int64): Define to exactly 16 (resp. 32, 64)
2808 (jword): Define to uint64 on 64-bit arches.
2809 * jcf-dump.c (print_constant): Cast JPOOL_UINT to long.
2811 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
2813 * class.c, except.c, expr.c, java-gimplify.c: Fix comment
2816 2006-05-26 Tom Tromey <tromey@redhat.com>
2818 * expr.c (java_push_constant_from_pool): Handle 'ldc class'.
2819 * verify-glue.c (vfy_class_type): New function.
2820 * verify-impl.c (check_constant): Allow 'ldc class'.
2821 * verify.h (vfy_class_type): Declare.
2823 2006-05-25 Andrew Haley <aph@redhat.com>
2826 * decl.c (maybe_pushlevels): When variable ranges are non-nested
2827 update all lifetimes, not just the first one.
2829 2006-05-24 Tom Tromey <tromey@redhat.com>
2831 * java-tree.h: Fixed flag documentation.
2833 2006-05-24 Tom Tromey <tromey@redhat.com>
2836 * jcf.h (ACC_INVISIBLE): Changed value.
2838 2006-05-24 Andrew Haley <aph@redhat.com>
2841 * decl.c (java_add_stmt): Use a STATEMENT_LIST rather than a
2844 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2846 * lang.opt (femit-class-file): Remove VarExists.
2848 2006-05-16 Tom Tromey <tromey@redhat.com>
2850 * verify-impl.c (verify_instructions_0) <op_return>: Special case
2853 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2856 * Make-lang.in ($(GCJ)$(exeext)): Replace gcc.o with
2859 2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
2861 * Make-lang.in (java/decl.o): Add dependency on $(TARGET_H).
2862 (java/expr.o): Replace target.h with $(TARGET_H).
2863 (java/parse.o): Likewise.
2865 2006-05-10 Andrew Haley <aph@redhat.com>
2867 * class.c (emit_indirect_register_classes): Fix comment.
2869 2006-05-04 Tom Tromey <tromey@redhat.com>
2871 * java-tree.h (uses_jv_markobj_p): Declare.
2872 * class.c (uses_jv_markobj_p): Removed.
2873 * boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): New define.
2874 (get_boehm_type_descriptor): Use it.
2875 (uses_jv_markobj_p): Moved from class.c. Return bool.
2877 2006-05-04 Tom Tromey <tromey@redhat.com>
2879 * java-tree.def (THIS_EXPR): Now a tcc_expression.
2881 2006-05-04 Andrew Haley <aph@redhat.com>
2883 * class.c (make_field_value): Always build_address_of fdecl if
2884 there is an initializer.
2886 2006-05-03 Andrew Haley <aph@redhat.com>
2889 * expr.c (maybe_rewrite_invocation): New function.
2890 (rewrite_arglist_getclass): Likewise.
2892 (expand_invoke): Call maybe_rewrite_invocation.
2893 * parse.y (patch_invoke): Likewise.
2894 * java-tree.h: (maybe_rewrite_invocation): New function.
2896 2006-04-21 Andrew Haley <aph@redhat.com>
2898 * lang.c (java_init): Handle flag_indirect_classes.
2899 * jvgenmain.c: Use "class$$" instead of "class$".
2900 * mangle.c (java_mangle_decl): Accept RECORD_TYPEs sw well as
2902 (mangle_class_field): Special case "class$$" as well as "class$".
2903 * constants.c (build_ref_from_constant_pool): If
2904 flag_indirect_classes, generate a ref into the heap.
2905 * decl.c (constants_field_decl_node,
2906 constants_data_field_decl_node): New.
2907 * class.c (build_static_class_ref): New.
2908 (build_classdollar_field): Factor out from build_class_ref().
2909 (make_field_value): Handle static fields in heap.
2910 (make_class_data): Make sure we get a static ref to class.
2911 Make class initializer const if flag_indirect_classes.
2912 (register_class): Build a class_ref for initialization if
2913 flag_indirect_classes.
2914 (emit_indirect_register_classes): New.
2916 2006-04-08 Kazu Hirata <kazu@codesourcery.com>
2918 * expr.c, gjavah.c: Fix comment typos.
2920 2006-04-03 Andrew Haley <aph@redhat.com>
2923 * expr.c (build_field_ref): Don't check the field offset if
2926 2006-03-30 Andrew Haley <aph@redhat.com>
2929 * lang.c (java_attribute_table): New.
2930 (LANG_HOOKS_ATTRIBUTE_TABLE): Define.
2931 * expr.c (build_field_ref): Add a null pointer check for all
2932 fields of offset > 4k. Don't do so for accesses via the this
2933 pointer, which we know can never be null.
2934 * class.c (build_java_method_type): Mark arg 1 of all nonstatic
2937 2006-03-30 Carlos O'Donell <carlos@codesourcery.com>
2939 * Make-lang.in: Rename docdir to gcc_docdir.
2941 2006-03-30 Tom Tromey <tromey@redhat.com>
2944 * parse.y (java_reorder_fields): Reset superclass field's size as
2947 2006-03-28 Tom Tromey <tromey@redhat.com>
2950 * parse.y (find_most_specific_methods_list): Added 'class'
2952 (lookup_method_invoke): Updated.
2954 2006-03-15 Tom Tromey <tromey@redhat.com>
2956 * jcf-write.c (generate_bytecode_insns): Use qualifying type for
2957 non-static method calls.
2959 2006-03-15 David Daney <ddaney@avtrex.com>
2961 * java-tree.h : Moved comment for TYPE_DOT_CLASS adjacent to its
2964 2006-03-15 David Daney <ddaney@avtrex.com>
2966 * lang.opt (-freduced-reflection): New option.
2967 * lang.c (java_post_options): Generate an error if
2968 -freduced-reflection used with -fjni or -findirect-dispatch.
2969 * java-tree.h (flag_reduced_reflection): Declare new variable.
2970 * boehm.c (get_boehm_type_descriptor): Indicate all pointers
2971 if bitmap overflows and flag_reduced_reflection set.
2972 * class.c (uses_jv_markobj_p): New function.
2973 (make_class_data): Moved generation of vtable to before
2974 reflection data, generate less reflection data if
2975 flag_reduced_reflection set.
2976 * gcj.texi: Document -freduced-reflection.
2978 2006-03-15 Tom Tromey <tromey@redhat.com>
2981 * class.c (get_interface_method_index): Don't put <clinit> into
2984 2006-03-15 Tom Tromey <tromey@redhat.com>
2986 * parse.y (analyze_clinit_body): Ignore empty statements.
2988 2006-03-08 David Daney <ddaney@avtrex.com>
2990 * gcj.texi: Document -static-libgcj option.
2992 2006-02-20 Andrew Haley <aph@redhat.com>
2994 * jcf-parse.c (parse_class_file): Set input_location from
2997 2006-02-15 Andrew Haley <aph@redhat.com>
2999 * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here.
3000 (make_class_data): pushdecl_top_level TYPE_OTABLE_SYMS_DECL,
3001 TYPE_ATABLE_SYMS_DECL, TYPE_ITABLE_SYMS_DECL here.
3003 2006-02-09 Andrew Haley <aph@redhat.com>
3006 * expr.c (expand_invoke): Allow methods in arrays to be resolved
3007 in their superclass.
3009 * typeck.c (build_java_array_type): Generate TYPE_STUB_DECLs for
3012 2006-02-08 Tom Tromey <tromey@redhat.com>
3015 * check-init.c (check_init): Handle VIEW_CONVERT_EXPR.
3016 * builtins.c (convert_real): New function.
3017 (java_builtins): Handle Float.intBitsToFloat,
3018 Float.floatToRawIntBits, Double.longBitsToDouble,
3019 Double.doubleToRawLongBits.
3021 2006-02-07 Andrew Haley <aph@redhat.com>
3023 * expr.c (expand_invoke): (BC mode.) If we find a method in a
3024 class other than the one in which we expected to find it, ignore
3028 * constants.c (build_constants_constructor): move initializer into
3029 first halfword on a 64-bit big-endian machine.
3031 2006-02-04 Tom Tromey <tromey@redhat.com>
3034 * builtins.c (max_builtin): Skip floating point 'max'.
3035 (min_builtin): Skip floating point 'min'.
3036 (check_for_builtin): Never return NULL_TREE.
3038 2006-02-04 Tom Tromey <tromey@redhat.com>
3041 * expr.c (push_type): Avoid side effect in gcc_assert.
3043 2006-02-04 Roger Sayle <roger@eyesopen.com>
3045 * decl.c (java_init_decl_processing): Create char_type_node as a
3046 regular INTEGER_TYPE node.
3047 (push_promoted_type): Preserve TYPE_STRING_FLAG on types.
3048 * typeck.c (convert): No longer check for CHAR_TYPEs but instead
3049 test for char_type_node and promoted_char_type_node as special
3050 instances of INTEGER_TYPE tree codes.
3051 (promote_type,build_java_signature): Likewise.
3052 * jcf-write.c (adjust_typed_op): Likewise.
3053 * mangle.c (mangle_type): Likewise.
3054 * parse.y (do_unary_numeric_promotion): No longer handle CHAR_TYPE.
3055 * parse.h (JINTEGRAL_TYPE_P): Likewise.
3057 2006-02-04 Andreas Tobler <a.tobler@schweiz.ch>
3059 * expr.c (java_stack_swap): Revert gcc_assert patch.
3061 2006-02-03 Ben Elliston <bje@au.ibm.com>
3063 * java-gimplify.c: Use gcc_assert and gcc_unreachable throughout.
3064 * typeck.c: Likewise.
3065 * verify-impl.c: Likewise.
3066 * class.c: Likewise.
3068 * jcf-parse.c: Likewise.
3069 * constants.c: Likewise.
3070 * check-init.c: Likewise.
3071 * jcf-write.c: Likewise.
3072 * verify-glue.c: Likewise.
3073 * mangle.c: Likewise.
3076 * boehm.c: Likewise.
3078 2006-02-01 Jan Hubicka <jh@suse.cz>
3080 * decl.c (end_java_method): Kill hack disabling unit-at-a-time.
3081 * lang.c (java_init_options): Set no_unit_at_a_time_default.
3083 2006-01-30 Andrew Haley <aph@redhat.com>
3086 * parse.y: (source_start_java_method): Mark DECL_ARTIFICIAL("this").
3088 2006-01-21 Joseph S. Myers <joseph@codesourcery.com>
3090 * jv-scan.c (version), jcf-dump.c (version), gjavah.c (version):
3091 Update copyright notice dates.
3093 2006-01-16 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3095 * jvspec.c (lang_specific_spec_functions): Remove.
3097 2006-01-06 Tom Tromey <tromey@redhat.com>
3099 * gcj.texi (Arrays): Added more documentation for
3101 (Primitive types): Correct information about primitive classes.
3102 (Reference types): New node.
3105 2005-12-16 Alexandre Oliva <aoliva@redhat.com>
3107 * jcf-parse.c (set_source_filename): Set the decl source location
3108 even when returning early.
3110 2005-12-15 Tom Tromey <tromey@redhat.com>
3111 Andrew Haley <aph@redhat.com>
3114 * parse.y (resolve_expression_name): Don't generate accessor
3115 methods for constant fields.
3117 2005-12-13 Andrew Haley <aph@redhat.com>
3121 * class.c (maybe_layout_super_class): Update current_class before
3122 calling do_resolve_class.
3124 2005-12-12 H.J. Lu <hongjiu.lu@intel.com>
3127 * jcf-write.c (write_classfile): Use PID in temporary class
3128 file. Save/restore errno when reporting error.
3130 2005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
3133 * mangle.c (mangle_method_decl): Mangle Java methods by prepending 'J'
3134 to bare_function_type and including the return type
3135 * builtins.c (initialize_builtins) : Change builtin mangled name
3136 constants to conform to new mangling scheme
3138 2005-12-08 Andrew Haley <aph@redhat.com>
3141 * java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE.
3142 (soft_abstractmethod_node): New.
3143 * expr.c (build_field_ref): Add in-line check for missing field.
3144 * decl.c (java_init_decl_processing): Add soft_nosuchfield_node.
3146 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3148 * Make-lang.in (java.all.build, java.install-normal): Remove.
3150 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3152 * Make-lang.in: Remove all dependencies on s-gtype, except for
3155 2005-12-07 Richard Sandiford <richard@codesourcery.com>
3157 * class.c (build_utf8_ref, emit_register_classes): Use
3158 switch_to_section and get_section.
3160 2005-12-06 Tom Tromey <tromey@redhat.com>
3163 * parse.y (patch_new_array_init): Revert previous patch.
3164 (lookup_method_invoke): Use size-less array type when creating an
3165 anonymous constructor.
3167 2005-12-05 Tom Tromey <tromey@redhat.com>
3169 * parse.y (patch_new_array_init): Don't set length on array.
3171 2005-12-02 Richard Guenther <rguenther@suse.de>
3173 * java-gimplify.c (java_gimplify_labeled_block_expr): Use
3174 buildN instead of build.
3175 * class.c (finish_class): Likewise.
3176 * expr.c (java_create_object): Likewise.
3178 2005-11-28 Tom Tromey <tromey@redhat.com>
3181 * expr.c (build_jni_stub): Unwrap the return value.
3182 * java-tree.h (soft_unwrapjni_node): New define.
3183 (enum java_tree_index): Added JTI_SOFT_UNWRAPJNI_NODE.
3184 * decl.c (java_init_decl_processing): Initialize
3185 soft_unwrapjni_node.
3187 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
3189 * gcj.texi (gij options): Add -Xss documentation.
3191 2005-11-08 Wil Mahan <wmahan@gmail.com>
3194 * zextract.c (read_zip_archive): Fix out of memory error when
3195 reading jar files with zip-style comments.
3197 2005-11-07 Terry Laurenzo <tlaurenzo@gmail.com>
3199 * gjavah.c (HANDLE_CODE_ATTRIBUTE): Only define for ELF Object
3201 * gjavah.c (decompile_method): Add ATTRIBUTE_UNUSED
3203 2005-10-12 Nathan Sidwell <nathan@codesourcery.com>
3204 Wil Mahan <wmahan@gmail.com>
3207 * class.c (make_class): Create empty binfo here.
3208 (set_super_info): Only create binfo if we have superclasses.
3210 2005-10-03 Ranjit Mathew <rmathew@gcc.gnu.org>
3213 * parse.y (method_header): Make the result of the rule a NULL_TREE
3214 when a parsing error occurs.
3216 2005-09-29 Tom Tromey <tromey@redhat.com>
3219 * jcf-io.c (memoized_dirlist_hash): New function.
3220 (caching_stat): Use it.
3222 2005-09-21 Ranjit Mathew <rmathew@gcc.gnu.org>
3225 * class.c (inherits_from_p): Try to lay out super class
3226 if it is not already laid out.
3227 (maybe_layout_super_class): Handle the case where SUPER_CLASS
3230 2005-09-18 James A. Morrison <phython@gcc.gnu.org>
3232 * builtins.c (max_builtin, min_builtin, abs_builtin,
3233 java_build_function_call_expr): Use fold_buildN.
3234 * class.c (layout_class_method): Likewise.
3235 * expr.c (java_truthvalue_conversion, build_java_jsr,
3236 build_java_arrayaccess, expand_java_arrayload, expand_iinc,
3237 build_java_binop, build_field_ref, expand_compare,
3238 build_known_method_ref, build_invokevirtual,
3239 process_jvm_instruction): Likewise.
3240 * parse.y (patch_binop, patch_exit_expr): Likewise.
3241 * typeck.c (convert_ieee_real_to_integer): Likewise.
3242 (convert): Don't call fold after convert_ieee_real_to_integer.
3244 2005-09-14 Bryce McKinlay <mckinlay@redhat.com>
3247 * parse.y (maybe_create_class_interface_decl): Set TYPE_PACKAGE for
3248 the newly created type. Set import lists here, not in create_class.
3249 (jdep_resolve_class): Set current_class.
3250 (do_resolve_class): Use current_class's TYPE_PACKAGE to determine
3251 the current package context, not ctxp->package.
3252 (cicp_cache): Removed.
3253 (class_in_current_package): Simplify implementation using TYPE_PACKAGE.
3254 * jcf-parse.c (give_name_to_class): Set TYPE_PACKAGE.
3255 * java-tree.h (TYPE_PACKAGE): New macro.
3256 (struct lang_type): New member 'package'.
3258 2005-09-09 Andrew Haley <aph@redhat.com>
3261 * expr.c (pop_type_0): If the expected type is object or ptr
3262 (i.e. void*), return the type of the object we just popped from
3265 2005-09-06 Andrew Pinski <pinskia@physics.uc.edu>
3267 * java-gimplify.c (java_gimplify_block): NULL out the old BLOCK's
3268 BLOCK_EXPR_BODY before returning the new BIND_EXPR.
3270 2005-09-06 Kazu Hirata <kazu@codesourcery.com>
3272 * check-init.c, decl.c, expr.c, gcj.texi, java-tree.h,
3273 jcf-parse.c, jcf.h, parse.h, parse.y, typeck.c: Fix comment
3274 typos. Follow spelling conventions.
3276 2005-09-05 Ranjit Mathew <rmathew@hotmail.com>
3279 * typeck.c (lookup_do): Look up interfaces for the original class,
3281 * parse.y (java_check_regular_methods): Fix diagnostic message for
3282 more restrictive overriding of a method from an interface.
3284 2005-08-16 Tom Tromey <tromey@redhat.com>
3286 * class.c (make_class_data): Always emit JV_STATE_PRELOADING for
3287 class' initial state.
3289 2005-08-16 Ranjit Mathew <rmathew@hotmail.com>
3292 * lex.c (do_java_lex): Define MAX_TOKEN_LEN. Avoid overflowing
3293 `literal_token' for large numeric input tokens.
3295 2005-08-16 Ranjit Mathew <rmathew@hotmail.com>
3298 * parse.y (nested_field_access_p): Rename to nested_member_access_p
3299 and expand to handle method accesses across nested classes.
3300 (build_outer_method_access_method): Rename to
3301 build_nested_method_access_method. Minor adjustments to comments.
3302 (resolve_expression_name): Use the newly-renamed
3303 nested_member_access_p method.
3304 (resolve_qualified_expression_name): Likewise.
3305 (patch_method_invocation): Also consider static methods for access
3306 method generation. Minor adjustments to comments.
3307 (maybe_use_access_method): Use the more general
3308 nested_memeber_access_p to determine access across nested class
3309 boundaries. Allow THIS_ARG to be NULL (for static methods).
3311 2005-08-15 Tom Tromey <tromey@redhat.com>
3314 * expr.c (build_field_ref): Don't generate otable reference when
3315 DECL_FIELD_OFFSET is 0.
3316 * class.c (maybe_layout_super_class): Pass outer class to
3319 2005-08-15 Tom Tromey <tromey@redhat.com>
3321 * java-tree.h (LABEL_IN_SUBR): Removed.
3322 (LABEL_IN_SUBR): Likewise.
3323 (LABEL_IS_SUBR_START): Likewise.
3324 (LABEL_SUBR_START): Likewise.
3325 (LABEL_SUBR_CONTEXT): Likewise.
3326 (LABEL_CHANGED): Likewise.
3327 (LABEL_RETURN_LABEL): Likewise.
3328 (LABEL_RETURN_TYPE_STATE): Likewise.
3329 (LABEL_RETURN_LABELS): Likewise.
3330 (RETURN_MAP_ADJUSTED): Likewise.
3331 (LABEL_PENDING_CHAIN): Likewise.
3333 2005-08-15 Tom Tromey <tromey@redhat.com>
3335 * Make-lang.in (JAVA_OBJS): Removed verify.o
3336 (java/verify.o): Removed.
3337 * verify.c: Removed.
3338 * lang.c (flag_new_verifier): Removed.
3339 (java_post_options): Updated.
3340 * java-tree.h (flag_new_verifier): Removed.
3341 (verify_jvm_instructions): Removed.
3342 * expr.c (pop_type_0): Assume flag_new_verifier is true.
3343 (build_java_check_indexed_type): Likewise.
3344 (expand_java_arraystore): Likewise.
3345 (expand_java_arrayload): Likewise.
3346 (pop_arguments): Likewise.
3347 (expand_byte_code): Likewise.
3348 (process_jvm_instruction): Likewise.
3350 2005-08-10 Andrew Haley <aph@redhat.com>
3352 * java-gimplify.c (java_gimplify_modify_expr): Fix any pointer
3353 type mismatches to make legal GIMPLE.
3355 2005-08-10 Robin Green <greenrd@greenrd.org>
3358 * parse.y (maybe_use_access_method): Generalize check from
3359 java.lang.Object to any superclass of current_class
3361 2005-08-08 Nathan Sidwell <nathan@codesourcery.com>
3363 * class.c (build_class_ref): Wrap the primary class type in a
3365 * parse.y (java_complete_lhs) <COMPONENT_REF case>: Extract the
3366 primary class type from the NOP_EXPR in which it was placed.
3368 2005-07-28 Diego Novillo <dnovillo@redhat.com>
3370 * expr.c (expand_load_internal): Fix missing parens in
3373 2005-07-28 Andrew Haley <aph@redhat.com>
3375 * expr.c (expand_load_internal): Convert to destination type.
3377 2005-07-22 Manfred Hollstein <mh@suse.com>
3379 * verify-impl.c (check_class_constant): Fix uninitialised warnings.
3380 (check_constant): Likewise.
3381 (check_wide_constant): Likewise.
3383 2005-07-20 Giovanni Bajo <giovannibajo@libero.it>
3385 Make CONSTRUCTOR use VEC to store initializers.
3386 * check-init.c (check_init): Update to cope with VEC in
3388 * class.c (make_field_value, make_method_value, get_dispatch_table,
3389 make_class_data, emit_symbol_table, emit_catch_table,
3390 emit_assertion_table): Use build_constructor_from_list instead of
3392 * constants.c (build_constants_constructor): Likewise.
3393 * java-gimplify.c (java_gimplify_new_array_init): Update to cope with
3394 VEC in CONSTRUCTOR_ELTS.
3395 * java-tree.h (START_RECORD_CONSTRUCTOR, PUSH_SUPER_VALUE,
3396 PUSH_FIELD_VALUE, FINISH_RECORD_CONSTRUCTOR): Create a VEC instead
3398 * jcf-write.c (generate_bytecode_insns): Update to cope with VEC in
3400 * parse.y (build_new_array_init): Use build_constructor_from_list
3401 instead of build_constructor.
3402 (patch_new_array_init): Update to cope with VEC in
3404 (array_constructor_check_entry): Likewise.
3406 2005-07-12 Tom Tromey <tromey@redhat.com>
3408 * jvspec.c (lang_specific_driver): Put filelist_filename first on
3411 2005-07-12 Tom Tromey <tromey@redhat.com>
3414 * parse-scan.y (interface_member_declaration): Added
3417 2005-07-08 Daniel Berlin <dberlin@dberlin.org>
3419 * java-tree.h (LABEL_RETURN_LABELS): Use decl_non_common.
3420 (LABEL_PENDING_CHAIN): Ditto.
3422 (DECL_BIT_INDEX): Ditto.
3424 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
3427 * parse.y (inner_class_accessible): New function. Logic moved from
3428 check_inner_class_access.
3429 (check_inner_class_access): Use inner_class_accessible.
3430 (resolve_inner_class): Simplify arguments. Create circularity hash
3431 here. Keep looking for classes if we found one that was inaccessible.
3432 Return the inaccessible class only if there is no other match.
3433 (do_resolve_class): Update for new resolve_inner_class arguments.
3434 Don't create circularity_hash here.
3436 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
3439 * parse.y (add_exception_to_throws): New function.
3440 (purge_unchecked_exceptions): Removed.
3441 (get_constructor_super): Renamed from verify_constructor_super. Now
3442 returns the super constructor after verification.
3443 (java_complete_expand_method): Don't use purge_unchecked_exceptions
3444 or save/restore the exception list.
3445 (check_thrown_exceptions): Add uncaught exceptions in anonymous
3446 class initializers and constructors to the throws clause of the method.
3448 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
3451 * parse.y (interface_member_declaration): Allow empty statements in
3452 interface declarations.
3454 2005-07-05 Paolo Bonzini <bonzini@gnu.org>
3456 * Makefile.in (parse.o): Adjust dependencies.
3457 * parse.y: Include tree-dump.h.
3459 2005-07-02 Joseph S. Myers <joseph@codesourcery.com>
3461 * class.c, decl.c, expr.c: Use '+' flag instead of %J. Use 'q'
3464 2005-07-01 Andrew Pinski <pinskia@physics.uc.edu>
3466 * parse.y (issue_warning_error_from_context): Call
3467 pp_output_formatted_text to be able to get the buffer.
3469 2005-06-30 Andrew Pinski <pinskia@physics.uc.edu>
3471 * parse.y (issue_warning_error_from_context): Update for the
3472 renaming of pp_format_text to pp_format.
3474 2005-06-28 Paul Brook <paul@codesourcery.com>
3476 * decl.c (java_init_decl_processing): Call
3477 default_init_unwind_resume_libfunc.
3479 2005-06-27 Tom Tromey <tromey@redhat.com>
3481 PR java/21540, PR java/13788:
3482 * parse.y (java_complete_lhs) <CASE_EXPR>: Use
3483 fold_constant_for_init.
3484 (patch_binop): Added 'folding' argument. Updated all callers.
3485 (patch_unaryop) <NOP_EXPR>: New case.
3486 (fold_constant_for_init) <NOP_EXPR>: Likewise.
3487 (fold_constant_for_init) <COND_EXPR>: Fix sense of test.
3489 2005-06-25 Jan Hubicka <jh@suse.cz>