- 16 Nov, 1998 1 commit
-
-
From-SVN: r23671
Jeff Law committed
-
- 15 Nov, 1998 12 commits
-
-
* function.c (purge_addressof_1): Unshare rtl created by store_bit_field. From-SVN: r23670
J"orn Rennecke committed -
regmove.c (regmove_optimize): Don't do anything but optimize_reg_copy[123] when flag_regmove is not set. * regmove.c (regmove_optimize): Don't do anything but optimize_reg_copy[123] when flag_regmove is not set. From-SVN: r23669
J"orn Rennecke committed -
* decl.c (struct cp_function): Add named_label_uses. (push_cp_function_context): Save it. (pop_cp_function_context): Restore it. (define_label): Also complain about jumping into the scope of non-POD objects that don't have constructors. * tree.c (pod_type_p): New fn. Fixes g++.other/init9.C * pt.c (instantiate_class_template): Clear TYPE_BEING_DEFINED sooner. * rtti.c (synthesize_tinfo_fn): Call import_export_decl here. (get_tinfo_fn): Not here. * repo.c (repo_get_id): Abort if we get called for an incomplete type. Fixes g++.pt/instantiate4.C From-SVN: r23667
Jason Merrill committed -
* g++.old-deja/g++.eh/throw2.C: New test. CV-qualifiers are not properly discarded. From-SVN: r23666
Alexandre Oliva committed -
* jvgenmain.c: Need to #include "gansidecl.h" (to get PROTO). * jcf-write.c (perform_relocations): Move check out one loop. From-SVN: r23665
Per Bothner committed -
8 * jvgenmain.c: Need to #include "gansidecl.h" (to get PROTO). * jcf-write.c (perform_relocations): Move check out one loop. From-SVN: r23664
Per Bothner committed -
From-SVN: r23663
Anthony Green committed -
* Make-lang.in: Fix reference to srcdir. * jv-scan.c: Add missing xmalloc prototype. * jvgenmain.c: Ditto. From-SVN: r23662
Anthony Green committed -
� * 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 9 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
-