- 16 Nov, 1998 6 commits
-
-
* rs6000.c (output_mi_thunk): Improve test for local branch. * rs6000.c (output_mi_thunk): Correct test for aggregate values. From-SVN: r23676
David Edelsohn committed -
* reload1.c (reload_reg_free_before_p): Delete. Changed all callers to use reload_reg_free_for_value_p instead. (reload_reg_free_for_value_p): Handle more reload types. A RELOAD_FOR_INPUT doesn't conflict with its RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS. Add special case for OUT == const0_rtx. Added ignore_address_reloads argument. Changed all callers. From-SVN: r23675
J"orn Rennecke committed -
* cp-tree.h (DECL_TEMPLATE_INSTANTIATED): New macro. * decl.c (duplicate_decls): Remove special-case code to deal with template friends, and just do the obvious thing. * pt.c (register_specialization): Tweak for clarity, and also to clear DECL_INITIAL for an instantiation before it is merged with a specialization. (check_explicit_specialization): Fix indentation. (tsubst_friend_function): Handle both definitions in friend declaration and outside friend declarations. (tsubst_decl): Don't clear DECL_INITIAL for an instantiation. (regenerate_decl_from_template): Tweak accordingly. (instantiate_decl): Likewise. From-SVN: r23674
Mark Mitchell committed -
* decl.c (cplus_expand_expr_stmt): Promote warning about naked member function reference to error. * cvt.c (ocp_convert): Complain about converting an overloaded function to void. * init.c (build_offset_ref): Just return a lone static member function. * decl.c (cp_finish_decl): Only complain about real CONSTRUCTORs, not internal ones. * typeck.c (build_binary_op_nodefault): Improve error handling. * decl.c (grokfndecl): Complain about making 'main' a template. * typeck.c (string_conv_p): Don't convert from wchar_t[] to char*. * call.c (build_method_call): Handle a BIT_NOT_EXPR around a TYPE_DECL in a template. * typeck2.c (my_friendly_abort): Add URL in the other case, too. From-SVN: r23673
Jason Merrill committed -
toplev.c (compile_file): Don't pedwarn about undefined static functions just because we passed -Wunused. * toplev.c (compile_file): Don't pedwarn about undefined static functions just because we passed -Wunused. From-SVN: r23672
Jason Merrill committed -
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 4 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
-