1. 19 Jan, 2000 13 commits
  2. 18 Jan, 2000 17 commits
    • alpha-protos.h: PROTO -> PARAMS. · f6da8bc3
              * alpha-protos.h: PROTO -> PARAMS.
              * alpha.c: Likewise.
              * elf.h: Likewise.
              * h8300.c: Likewise.
              * i386-protos.h: Likewise.
              * i386.c: Likewise.
              * m32r-protos.h: Likewise.
              * m32r.c: Likewise.
              * mips.c: Likewise.
              * mips.md: Likewise.
              * gmon-sol2.c: Likewise.
              * sparc.c: Likewise.
      
      From-SVN: r31495
      Kaveh R. Ghazi committed
    • ns32k-protos.h: New file. · fabf04b6
              * ns32k-protos.h: New file.
      
              * ns32k.c: Fix compile time warnings.
      
              * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
              warnings.
      
              * ns32k.md: Likewise.
      
      From-SVN: r31494
      Kaveh R. Ghazi committed
    • vax-protos.h: New file. · 2fd58acb
              * vax-protos.h: New file.
      
              * vax.c: Fix compile time warnings.
      
              * vax.h: Move prototypes to vax-protos.h.  Fix compile time
              warnings.
      
              * vax.md: Likewise.
      
              * vaxv.md: Likewise.
      
      From-SVN: r31493
      Kaveh R. Ghazi committed
    • romp-protos.h: New file. · 13d516d9
              * romp-protos.h: New file.
      
              * romp.c: Fix compile time warnings.
      
              * romp.h: Move prototypes to romp-protos.h.  Fix compile time
              warnings.
      
              * romp.md: Likewise.
      
      From-SVN: r31492
      Kaveh R. Ghazi committed
    • we32k-protos.h: New file. · 253f1045
              * we32k-protos.h: New file.
      
              * we32k.c: Fix compile time warnings.
      
              * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
              warnings.
      
      From-SVN: r31491
      Kaveh R. Ghazi committed
    • calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED. · 962f1324
              * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
      
              * except.c (eh_regs): Likewise.
      
              * final.c (output_operand): Likewise.
      
              * fold-const.c (target_isinf, target_isnan): Likewise.
      
      From-SVN: r31490
      Kaveh R. Ghazi committed
    • i386.h (BIGGEST_ALIGNMENT): Set to 128. · 17f24ff0
      	* i386.h (BIGGEST_ALIGNMENT): Set to 128.
      	(BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
      
      From-SVN: r31489
      Jan Hubicka committed
    • i386.md (memstr): Do not use rep stosb for counts divisible by 4 when optimize_size. · e2e52e1b
      	* i386.md (memstr): Do not use rep stosb for counts divisible by 4
      	when optimize_size.
      	(clrstrsi): Rewrite.
      	(strsethi, strsetqi): New expanders.
      	(strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
      	(cmpstrsi): Emit compare insn before cmpstrsi_1
      	(cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
      	(strlensi_1): Likewise.
      	(cmpstrsi_1): Likewise; do not output compare.
      	(strlen expander): Do not unroll when optimizing for size.
      	(*subsi3_carry): Rename to subsi3_carry
      	(addqi3_cc): New pattern.
      	* i386.h (processor_costs): Add move_ratio field.
      	(MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
      	* i386.c (*_cost): Set move_ratio.
      	(x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
      	(x86_expand_strlensi_1): Rewrite the main loop.
      
      From-SVN: r31488
      Jan Hubicka committed
    • name-finder.cc (lookup): Check for dladdr function. · b9f243c2
      2000-01-18  Andrew Haley  <aph@cygnus.com>
      
      	* name-finder.cc (lookup): Check for dladdr function.
      	acconfig.h (HAVE_DLADDR): Add.
      	configure.in: Check for HAVE_DLADDR
      	configure: Rebuilt.
      	include/config.h.in:  Rebuilt.
      
      From-SVN: r31487
      Andrew Haley committed
    • prims.cc (_Jv_RunMain): Set the name of this executable. · 04476544
      2000-01-17  Andrew Haley  <aph@cygnus.com>
      
      	* prims.cc (_Jv_RunMain): Set the name of this executable.
      
      From-SVN: r31486
      Andrew Haley committed
    • cp-tree.h (get_tinfo_fn_dynamic): Remove prototype. · e5f614d7
      	* cp-tree.h (get_tinfo_fn_dynamic): Remove prototype.
      	(build_x_typeid): Likewise.
      	(get_tinfo_fn): Likewise.
      	(get_tinfo_fn_unused): Rename to ...
      	(get_tinfo_decl): ... here.
      	* rtti.c (build_headof): Replace logic error with assertion.
      	(get_tinfo_fn_dynamic): Rename to ...
      	(get_tinfo_decl_dynamic): ... here. Make static. Use
      	complete_type_or_else.
      	(build_x_typeid): Move into ...
      	(build_typeid): ... here. Adjust call to
      	get_tinfo_decl_dynamic. Use tinfo_from_decl. Simplify
      	throw_bad_typeid expression.
      	(get_tinfo_fn_unused): Rename to ...
      	(get_tinfo_decl): ... here. Adjust comment.
      	(get_tinfo_fn): Delete.
      	(tinfo_from_decl): New static function.
      	(get_typeid_1): Call get_tinfo_decl and tinfo_from_decl.
      	(get_typeid): Use complete_type_or_else.
      	(build_dynamic_cast_1): Adjust calls to
      	get_tinfo_decl_dynamic. Simplify throw_bad_cast expression.
      	* parse.y (primary): Adjust call to build_typeid.
      	* except.c (build_eh_type_type_ref): Adjust call to
      	get_tinfo_decl. Mark as used.
      	* class.c (set_rtti_entry): Adjust call to get_tinfo_decl.
      	* decl2.c (build_expr_from_tree): Adjust call to build_typeid.
      	* parse.c: Regenerated.
      
      From-SVN: r31485
      Nathan Sidwell committed
    • Daily bump. · c399e76d
      From-SVN: r31484
      Jeff Law committed
    • natThrowable.cc (fillInStackTrace): Return `this' even when backtrace can't be computed. · d269d25c
      	* java/lang/natThrowable.cc (fillInStackTrace): Return `this' even
      	when backtrace can't be computed.
      
      From-SVN: r31483
      Tom Tromey committed
    • configure: Rebuilt. · 4f5a5d5c
      	* configure: Rebuilt.
      	* configure.in: Fixed typo in AC_CONFIG_SUBDIRS call.
      
      From-SVN: r31482
      Tom Tromey committed
    • class.c (fixed_type_or_null): Don't clear NONNULL. · 97d953bb
      	* class.c (fixed_type_or_null): Don't clear NONNULL.  Document
      	calling convention.
      	(resolves_to_fixed_type_p): Document calling convention.
      	* rtti.c (build_x_typeid): Initialize NONNULL.
      
      From-SVN: r31481
      Mark Mitchell committed
    • combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode. · 12530dbe
              * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
              * cse.c (find_comparison_args, fold_rtx): Likewise.
              * integrate.c (subst_constants): Likewise.
              * loop.c (get_condition): Likewise.
      
              * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
      
              * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
      
      From-SVN: r31479
      Richard Henderson committed
    • c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST. · 101e59f4
      	* c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
      	(RESTORE_WARN_FLAGS): Unpack it.
      	Change semantic type of extension to ttype.
      	* c-common.c (split_specs_attrs): Expect an INTEGER_CST.
      	* c-parse.y, c-parse.c, objc/objc-parse.y,
      	objc/objc-parse.c: Regenerate.
      
      From-SVN: r31478
      Martin v. Löwis committed
  3. 17 Jan, 2000 10 commits
    • re GNATS gcj/128 (weak error message when expecting final modifier) · 18990de5
      Mon Jan 17 11:58:17 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>
      
              * parse.y (format_parameter:): Use final: rule instead of modifiers:.
              (final:): New rule.
      
      Joerg Brunsmann's contribution to fix the Java PR #128.
      
      From-SVN: r31477
      Joerg Brunsmann committed
    • cp-tree.h (build_shared_int_cst): New function. · a68ad5bd
      	* cp-tree.h (build_shared_int_cst): New function.
      	* call.c (build_over_call): Use DECL_VIRTUAL_CONTEXT, for clarity.
      	* class.c (modify_vtable_entry): Likewise.
      	(add_virtual_function): Split out code to generated shared
      	INTEGER_CSTs to build_share_int_cst.
      	(modify_all_vtables): Handle all the overridden functions here.
      	Add overridden functions from non-primary virtual bases to the
      	primary vtable.
      	(finish_struct_1): Adjust call to modify_all_vtables.  Add
      	overridden functions from non-primary bases to the vtable.
      	* tree.c (build_shared_int_cst): New function.
      
      From-SVN: r31476
      Mark Mitchell committed
    • Oops, forgot to save ChangeLog on previous commit · e41e26be
      From-SVN: r31475
      Zack Weinberg committed
    • fixlib.c: Add copyright notice. · b51207a4
      	* fixinc/fixlib.c: Add copyright notice.
      	(compile_re): New function.
      	* fixinc/fixlib.h: Prototype compile_re.
      
      	* fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
      	Use compile_re to compile regular expressions.
      
      	* fixinc/fixincl.c (egrep_test): Don't bother asking regexec
      	where the pattern matched.
      
      	* fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
      	use 'replace'.
      	(ultrix_ansi_compat): Likewise.
      	(interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
      	add egrep test.
      	(interactv_add2, interactv_add3): Delete.
      	(x11_sprintf): Don't use filename glob.
      	* fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
      	Regenerate.
      
      From-SVN: r31474
      Zack Weinberg committed
    • cp-tree.h (scratchalloc): Remove. · 051e6fd7
      	* cp-tree.h (scratchalloc): Remove.
      	(build_scratch_list): Likewise.
      	* call.c (convert_class_to_reference): Replace build_scratch_list
      	and build_expr_list with build_tree_list.
      	(add_candidate): Replace scratchalloc with expralloc.  Note memory
      	leak.
      	(build_user_type_conversion_1):  Replace build_scratch_list
      	and build_expr_list with build_tree_list.
      	(build_new_op): Likewise.
      	(build_op_delete_call): Likewise.
      	(convert_like): Likewise.
      	* cvt.c (ocp_convert): Likewise.
      	* decl.c (start_decl): Likewise.
      	(start_function): Likewise.
      	(finish_destructor_body): Likewise.
      	(maybe_build_cleanup_1): Likewise.
      	* decl2.c (reparse_decl_as_expr): Likewise.
      	* init.c (perform_member_init): Likewise.
      	(expand_cleanup_for_base): Likewise.
      	(build_builtin_delete_call): Likewise.
      	(build_new_1): Likewise.
      	(build_delete): Likewise.
      	* method.c (do_build_assign_ref): Likewise.
      	* parse.y (already_scoped_stmt): Likewise.
      	(nontrivial_exprlist): Likewise.
      	(net_initializer): Likewise.
      	(initlist): Likewise.
      	* parse.c: Regenerated.
      	* rtti.c (build_x_typeid): Likewise.
      	(build_dynamic_cast_1): Likewise.
      	* typeck.c (build_x_compound_expr): Likewise.
      	(build_static_cast): Likewise.
      	(build_modify_expr): Likewise.
      
      	* cp-tree.h (DECL_VINDEX): Add documentation.
      	* class.c (build_vtable_entry): Likewise.
      	(start_vtable): Add comment.
      	(add_virtual_function): Replace pending_hard_virtuals with
      	overridden_virtuals and pending_virtuals with new_virtuals.
      	Replace redundant assignments with assertions.
      	(check_for_override): Add comment.
      	(check_bases_and_members): Replace pending_hard_virtuals with
      	overridden_virtuals and pending_virtuals with new_virtuals.
      	(create_vtbl_ptr): Likewise.
      	(layout_class_type): Likewise.
      	(finish_struct_1): Likewise.  Add comments.
      
      From-SVN: r31473
      Mark Mitchell committed
    • Runtime.java (loadLibraryInternal): Declare. · 7af85558
      	* java/lang/Runtime.java (loadLibraryInternal): Declare.
      	* java/lang/natClassLoader.cc (_Jv_FindClass): Removed dead copy.
      	(_Jv_FindClassInCache): Likewise.
      	(_Jv_FindClass): Don't conditionalize body on INTERPRETER.
      	(findSystemClass): Try to load class from compiled module.
      	Include Runtime.h.
      	* java/lang/natRuntime.cc (load): Use UTF-8 copy of filename.
      	(loadLibrary): Likewise.
      	(lt_preloaded_symbols): Define.
      	(loadLibraryInternal): New method.
      	* include/config.h.in: Rebuilt.
      	* acconfig.h (USE_LTDL): Added.
      	* Makefile.am (SUBDIRS): Added $(DIRLTDL).
      	(INCLUDES): Added $(INCLTDL).b
      	(libgcj_la_DEPENDENCIES): Added $(LIBLTDL).
      	(libgcj_la_LIBADD): Likewise.
      	* aclocal.m4, configure: Rebuilt.
      	* configure.in: Added libltdl support.
      
      From-SVN: r31472
      Tom Tromey committed
    • Initial revision · 06f56737
      From-SVN: r31468
      Tom Tromey committed
    • * prims.cc (_Jv_PrimClass): Use `JV_STATE_NOTHING', not `0'. · 451f21ef
      From-SVN: r31467
      Tom Tromey committed
    • * gjavah.c (print_field_info): Allow non-static final fields. · 9b4579b3
      From-SVN: r31466
      Tom Tromey committed
    • Update copyrights · 9311a396
      From-SVN: r31465
      Kaveh Ghazi committed