- 15 Nov, 1998 4 commits
-
-
� * decl.c (error_mark_node), java-tree.h: New global. * parse.y: Use empty_stmt_node instead of size_zero_node. (build_if_else_statement): If missing else, use empty_stmt_node. * parse.y (not_initialized_as_it_should_p): Removed, with its callers. (java_complete_expand_method): Complain if return is missing. (java_check_regular_methods): Comment out incorrect error check. (not_accessible_p): Fix incorrect handling of protected methods. (patch_method_invocation): Pass correct context to not_accessible_p. (find_applicable_accessible_methods_list): Likewise. (qualify_ambiguous_name): If ARRAY_REF, it's an expression name. (java_complete_tree): For CASE_EXPR and DEFAULT_EXPR, set TREE_TYPE (to void_type_node); otherwise expand_expr crashes. (patch_if_else_statement): Fix setting of CAN_COMPLETE_NORMALLY. * jcf-write.c (CHECK_OP, CHECK_PUT): Add some error checking. (push_int_const): Remove reundant NOTE_PUSH. (generate_bytecode_insns - case STRING_CST): Do NOTE_PUSH. (- case SWITCH_EXPR): Fix code generation bug. (- case PREDECREMENT_EXPR etc): Remove redundant NOTE_PUSH. (generate_classfile): More robust for abstract methods. From-SVN: r23661
Per Bothner committed -
* Makefile.in: jv-scan and jvgenmain all require libiberty. * Make-lang.in: Ditto. * jv-scan.c: Remove xmalloc and xstrdup definitions. * jvgenmain: Ditto. From-SVN: r23660
Anthony Green committed -
8 * jcf-parse.c (HANDLE_EXCEPTIONS_ATTRIBUTE): New macro. * jcf-io.c (find_class): Simpler/cleaner structure fixes a bug. From-SVN: r23659
Per Bothner committed -
From-SVN: r23658
Jeff Law committed
-
- 14 Nov, 1998 5 commits
-
-
Allow uses of interface types to verify. This is not really type-safe, but it matches what Sun does, and is OK as long as there are appropriate run-time checks. * verify.c (merge_types): If merging two interface types, just set the result to java.lang.Object. * expr.c (pop_type): Any interface is matches by java.lang.Object. From-SVN: r23657
Per Bothner committed -
� Allow uses of interface types to verify. This is not really type-safe, but it matches what Sun does, and is OK as long as there are appropriate run-time checks. * verify.c (merge_types): If merging two interface types, just set the result to java.lang.Object. * expr.c (pop_type): Any interface is matches by java.lang.Object. From-SVN: r23656
Per Bothner committed -
alpha.md (addsi3, subsi3): Revise 5 Nov change to store DImode value in paradoxical SImode result... * alpha.md (addsi3, subsi3): Revise 5 Nov change to store DImode value in paradoxical SImode result, rather than truncating midpoint. From-SVN: r23655
Richard Henderson committed -
From-SVN: r23654
Jeff Law committed -
From-SVN: r23653
Richard Henderson committed
-
- 13 Nov, 1998 13 commits
-
-
* alpha.c (reg_not_elim_operand): New. * alpha.h (PREDICATE_CODES): Add it. * alpha.md (s48addq, s48subq patterns): Use it as the predicate for the multiplicand. From-SVN: r23650
Richard Henderson committed -
From-SVN: r23647
Jason Merrill committed -
From-SVN: r23646
Jason Merrill committed -
* rs6000.md (movsf): Remove explicit secondary-reload-like functionality. Only truncate SFmode store if in FPR. (movsf splitters): Combine const_double splitters. (movsf_hardfloat): Add GPR support. From-SVN: r23645
David Edelsohn committed -
* configure.in: Check for calloc. * calloc.c: New file. * xmalloc.c (xcalloc): New function. From-SVN: r23642
Kaveh R. Ghazi committed -
From-SVN: r23641
Kaveh R. Ghazi committed -
* gjavah.c (main): Handle --output-class-directory argument. * jvspec.c (lang_specific_driver): Translate `-d' into -foutput-class-dir. * jcf.h (jcf_write_base_directory): Declare. * lang.c (lang_decode_option): Recognize -foutput-class-dir. * lang-options.h: Mention -foutput-class-dir. * jcf-write.c (jcf_write_base_directory): New global. (make_class_file_name): Put generated .class file into `-d' directory, or into source directory if -d not given. Function now static. (write_classfile): Free class file name. Handle case where class file name is NULL. (DIR_SEPARATOR): New macro. Include <sys/stat.h> From-SVN: r23640
Tom Tromey committed -
except.c (expand_throw): Make sure first argument to __cp_push_exception is of type `void*' to avoid... * except.c (expand_throw): Make sure first argument to __cp_push_exception is of type `void*' to avoid spurious error messages. From-SVN: r23639
Mark Mitchell committed -
* splet.h (SUBTARGET_OVERRIDE_OPTIONS): New to deprecate * t-splet (MULTILIB_OPTIONS): Likewise. From-SVN: r23636
Stan Cox committed -
From-SVN: r23635
Tom Tromey committed -
From-SVN: r23634
Stan Cox committed -
* cplus-dem.c (demangle_prefix): Use the last __ in the mangled name when looking for the signature. This allows template names to begin with __. From-SVN: r23627
Andrew MacLeod committed -
From-SVN: r23626
Jeff Law committed
-
- 12 Nov, 1998 10 commits
-
-
From-SVN: r23622
Geoffrey Noer committed -
� Extensive changes. See ChangeLog. From-SVN: r23621
Per Bothner committed -
8 Extensive changes. See ChangeLog. From-SVN: r23620
Per Bothner committed -
From-SVN: r23619
Per Bothner committed -
0 Extensive changes. See ChangeLog. From-SVN: r23618
Per Bothner committed -
h * class.c: Remove some unused variables. * constants.c (find_string_constant): New function. (count_constant_pool_bytes): Fix to correctly handle wide constants. * decl.c (complete_start_java_method): Don't _Jv_InitClass if flag_emit_class_files. From-SVN: r23617
Per Bothner committed -
� * class.c: Remove some unused variables. * constants.c (find_string_constant): New function. (count_constant_pool_bytes): Fix to correctly handle wide constants. * decl.c (complete_start_java_method): Don't _Jv_InitClass if flag_emit_class_files. From-SVN: r23616
Per Bothner committed -
* jcf-io.c (find_class): Added explanatory comment. * jcf-path.c (add_entry): Look for `.zip' at end of filename. Add trailing slash to `.zip' entries. From-SVN: r23615
Tom Tromey committed -
* jvspec.c (lang_specific_driver): Correctly handle case where GC_NAME not defined. From-SVN: r23614
Tom Tromey committed -
From-SVN: r23613
Jeff Law committed
-
- 11 Nov, 1998 8 commits
-
-
* jvspec.c (GC_NAME): New define. (lang_specific_driver): Use GC_NAME. Add GC_NAME to command line if required. * Make-lang.in (jvspec.o): Define WITH_GC_<name>. From-SVN: r23612
Tom Tromey committed -
* Makefile.in (JAVAGC): New macro. * configure: Rebuilt. * configure.in: Recognize --enable-java-gc argument. Subst `JAVAGC' variable. From-SVN: r23611
Tom Tromey committed -
* reload1.c (reload): Handle equivalences set up in multiple places. * local-alloc.c (reg_equiv_init_insns): New variable. (no_equiv): New function. (update_equiv_regs): Handle equivalences set up in multiple places. Don't ignore an insn just because its destination is likely to be spilled. From-SVN: r23610
J"orn Rennecke committed -
� * jcf-dump.c (TABLE_SWITCH): Fix typos. From-SVN: r23609
Per Bothner committed -
From-SVN: r23608
Bruce Korb committed -
From-SVN: r23607
Tom Tromey committed -
* except.c (expand_eh_return): Readd force_operand call lost in Sept 15 change. From-SVN: r23606
Jim Wilson committed -
* pt.c (try_one_overload): Take orig_targs again. Only check for mismatches against them; we don't care what a previous call found. (resolve_overloaded_unification): Adjust. * search.c (lookup_field): Don't return anything for a non-type field from a dependent type. * decl.c (grokdeclarator): Resolve SCOPE_REFs of the current class in an array declarator. (start_decl): Push into the class before looking for the field. From-SVN: r23605
Jason Merrill committed
-