1. 28 Jan, 2000 7 commits
  2. 27 Jan, 2000 17 commits
  3. 26 Jan, 2000 16 commits
    • method.h (JvNumMethods): Moved from Class.h. · 355dff4c
      	* gcj/method.h (JvNumMethods): Moved from Class.h.
      	(JvGetFirstMethod): Likewise.
      	* java/lang/Class.h (Object): Updated decl of
      	_Jv_JNI_ToReflectedField.
      	(Object): Added _Jv_JNI_ToReflectedMethod as a friend.
      	* Makefile.in: Rebuilt.
      	* Makefile.am (java/lang/reflect/Field.h): Added `jboolean'
      	argument of _Jv_JNI_ToReflectedField.
      	(java/lang/reflect/Constructor.h): Added _Jv_JNI_ToReflectedMethod
      	as a friend.
      	(java/lang/reflect/Method.h): Likewise.
      	* include/jni.h (class _Jv_JNIEnv): Added `klass' member.  Use
      	__GCJ_JNI_IMPL__.
      	(jweak): New typedef.
      	(struct JNINativeInterface): Correctly declare remaining entries.
      	* jni.cc: Include Class.h, ClassLoader.h.
      	(_Jv_JNI_FindClass): New function.
      	(_Jv_JNI_DefineClass): New function.
      	(_Jv_JNI_conversion_call): New function.
      	(_Jv_JNI_FindClass): Use current class loader to find class.
      	(_Jv_JNI_ExceptionCheck): New function.
      	(_Jv_JNI_FromReflectedField): Now static.
      	(MethodClass): New define.
      	(_Jv_JNI_FromReflectedMethod): New function.
      	(_Jv_JNI_ToReflectedMethod): Likewise.
      	Include Method.h.
      	(_Jv_JNI_IsAssignableFrom): Renamed.
      	(_Jv_JNI_GetStringRegion): New function.
      	Include StringIndexOutOfBoundsException.h.
      	(_Jv_JNI_GetStringUTFRegion): New function.
      	(_Jv_JNIFunctions): Updated for new functions.
      	(_Jv_JNI_GetPrimitiveArrayCritical): New function
      	(_Jv_JNI_ReleasePrimitiveArrayCritical): Likewise.
      	(_Jv_JNI_GetStringCritical): New function.
      	(_Jv_JNI_ReleaseStringCritical): Likewise.
      	(get_throwable): Removed.
      	(GCJ_JV_JNIENV_FRIEND): Removed.
      	(__GCJ_JNI_IMPL__): Define.
      	Include method.h.
      
      From-SVN: r31638
      Tom Tromey committed
    • resolve.cc (get_ffi_type_from_signature): Handle case where boolean is an int. · 673fdf6d
      	* resolve.cc (get_ffi_type_from_signature): Handle case where
      	boolean is an int.
      
      From-SVN: r31637
      Tom Tromey committed
    • calls.c (special_function_p): New argument fork_or_exec. · fa76d9e0
      	* calls.c (special_function_p): New argument fork_or_exec.
      	(expand_call): When profile_arc_flag is set and the function
      	is in the fork_or_exec group, call __bb_fork_func first.
      	* libgcc2.c, _bb module (__bb_fork_func): New function.
      	(__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
      	output file.
      	* config/svr4.h (TARGET_HAS_F_SETLKW): Define.
      	* tree.h (special_function_p): Update prototype.
      
      From-SVN: r31636
      Joern Rennecke committed
    • calls.c (special_function_p): New argument fork_or_exec. · e09d24ff
      gcc:
      	* calls.c (special_function_p): New argument fork_or_exec.
      	(expand_call): When profile_arc_flag is set and the function
      	is in the fork_or_exec group, call __bb_fork_func first.
      	* libgcc2.c, _bb module (__bb_fork_func): New function.
      	(__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
      	output file.
      	* config/svr4.h (TARGET_HAS_F_SETLKW): Define.
      	* tree.h (special_function_p): Update prototype.
      
      gcc/cp:
      	* cp/optimize.c (calls_setjmp_r): Supply new argument
      	to special_function_p.
      
      From-SVN: r31635
      J"orn Rennecke committed
    • alpha.c (alpha_split_tfmode_pair): New. · 628d74de
              * alpha.c (alpha_split_tfmode_pair): New.
              * alpha-protos.h: Declare it.
              * alpha.md (abstf2, negtf2): New.
              (movtf insn): Add input G constraint.
              (movtf splitter): Use alpha_split_tfmode_pair.
      
      From-SVN: r31634
      Richard Henderson committed
    • * i386/cygwin.h: PROTO -> PARAMS. · c96a8082
      From-SVN: r31633
      Kaveh R. Ghazi committed
    • call.c: PROTO -> PARAMS. · 158991b7
              * call.c: PROTO -> PARAMS.
              * class.c: Likewise.
              * cp-tree.h: Likewise.
              * cvt.c: Likewise.
              * decl.c: Likewise.
              * decl.h: Likewise.
              * decl2.c: Likewise.
              * dump.c: Likewise.
              * errfn.c: Likewise.
              * error.c: Likewise.
              * except.c: Likewise.
              * expr.c: Likewise.
              * init.c: Likewise.
              * input.c: Likewise.
              * lex.c: Likewise.
              * lex.h: Likewise.
              * method.c: Likewise.
              * optimize.c: Likewise.
              * parse.y: Likewise.
              * pt.c: Likewise.
              * repo.c: Likewise.
              * rtti.c: Likewise.
              * search.c: Likewise.
              * semantics.c: Likewise.
              * spew.c: Likewise.
              * tree.c: Likewise.
              * typeck.c: Likewise.
              * typeck2.c: Likewise.
              * xref.c: Likewise.
      
      From-SVN: r31632
      Kaveh R. Ghazi committed
    • sparc.c (sparc_emit_float_lib_cmp): Handle TARGET_ARCH32 again. · 5c5c34a4
      	* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
      	TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
      	using _Qp_cmp/_Q_cmp and testing the return value.
      	(print_operand): Call reverse_condition_maybe_unordered if
      	we are handling CCFPmode or CCFPEmode.
      	Handle ORDERED, UN* and LTGT comparisons.
      	* config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
      	if not TARGET_HARD_QUAD.
      	(seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
      	bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
      	Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
      	Adjust gen_b* calls so that they reflect return comparison of
      	sparc_emit_float_lib_cmp.
      
      From-SVN: r31631
      Jakub Jelinek committed
    • Daily bump. · ec8b18a4
      From-SVN: r31630
      Jeff Law committed
    • alpha.c (alpha_emit_xfloating_cvt): Do not assume incoming operands array is… · c77f46c6
      alpha.c (alpha_emit_xfloating_cvt): Do not assume incoming operands array is large enough for one more operand.
      
      * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
      incoming operands array is large enough for one more operand.
      (alpha_emit_xfloating_arith): Likewise.
      
      From-SVN: r31629
      Alexandre Oliva committed
    • Makefile.in (machname.h): SunOS 4 sed can't handle a file with one line and no trailing newline. · cef40e9f
      	* fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
      	file with one line and no trailing newline.
      	Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
      	* fixinc/fixtests.c (machine_name_test): Fix fencepost error
      	checking if the match is on the line.
      	* fixinc/gnu-regex.c: Provide regerror not __regerror.
      
      From-SVN: r31628
      Zack Weinberg committed
    • * gcc.dg/unused-2.c: New test. · 3f50679d
      From-SVN: r31627
      Alexandre Oliva committed
    • * gcc.dg/conv-1.c: New test. · 3ebed0b2
      From-SVN: r31626
      Alexandre Oliva committed
    • sparc.c (output_cbranch): Fix accidental squashing of the fp branch pre-delay nop. · 5850dc00
              * sparc.c (output_cbranch): Fix accidental squashing of the
              fp branch pre-delay nop.
      
      From-SVN: r31625
      Richard Henderson committed
    • tree.def (UNNE_EXPR): Remove. · 7913f3d0
              * tree.def (UNNE_EXPR): Remove.
              * c-typeck.c (build_binary_op): Don't handle it.
              * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
              * cp/typeck.c (build_binary_op_nodefault): Likewise.
      
              * rtl.def (UNNE): Remove.
              (LTGT): Add.
              * jump.c (reverse_condition): Update accordingly.
              (swap_condition): Likewise.
              (comparison_dominates_p): Handle unordered comparisons.
              (reverse_condition_maybe_unordered): New.
              * rtl.h (reverse_condition_maybe_unordered): Declare.
      
              * sparc.c (select_cc_mode): Update for UNNE/LTGT.
              (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
              * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
              * sparc.md (bltgt): New.
      
      From-SVN: r31624
      Richard Henderson committed