1. 03 Feb, 2000 2 commits
    • gjavah.c (D_NAN_MASK): Alternate definition required when… · 9b4a08f9
      gjavah.c (D_NAN_MASK): Alternate definition required when HOST_FLOAT_WORDS_BIG_ENDIAN is defined to be 1.
      
      2000-01-31  Scott Bambrough  <scottb@netwinder.org>
      
      	* gcc/java/gjavah.c (D_NAN_MASK): Alternate definition required when
      	HOST_FLOAT_WORDS_BIG_ENDIAN is defined to be 1.
      	(java_float_finite): Convert to use union Word from javaop.h.
      	(java_double_finite): Convert to use union DWord from javaop.h.
      
      From-SVN: r31768
      Scott Bambrough committed
    • gjavah.c (options): Added `jni' entry. · de380723
      	* gjavah.c (options): Added `jni' entry.
      	(help): Document -jni.
      	(flag_jni): New global.
      	(process_file): Handle JNI output.  Don't print text from
      	-prepend, -add, etc, when generating stubs.  Only remove `.class'
      	suffix if it actually exists.
      	(main): Create a `.c' file when run with `--jni --stubs'.  Create
      	correct output file name with `--jni'.
      	(print_include): Mangle header name differently in JNI case.
      	(HANDLE_METHOD): In JNI mode, call print_method_info to generate
      	method list.
      	(print_method_info): Handle JNI case.  Put signature info into
      	method name.  Handle case when STREAM is NULL.
      	(print_name_for_stub_or_jni): New function.
      	(print_stub_or_jni): Renamed from `print_stub'.  Handle JNI.
      	(print_cxx_classname): Handle JNI.
      	(print_full_cxx_name): Likewise.
      	(decode_signature_piece): Likewise.
      	(overloaded_jni_method_exists_p): New function.
      	(struct method_name): Added `signature' and `sig_length' fields.
      	(HANDLE_END_FIELD): Do nothing in JNI mode.
      
      From-SVN: r31767
      Tom Tromey committed
  2. 02 Feb, 2000 21 commits
  3. 01 Feb, 2000 16 commits
    • frame.c (find_fde): Convert for loop to do-while so compiler sees it's always… · 78a0d70c
      frame.c (find_fde): Convert for loop to do-while so compiler sees it's always executed at least once.
      
      	* frame.c (find_fde): Convert for loop to do-while so compiler
      	sees it's always executed at least once.
      	* libgcc2.c (BBINBUFSIZE): Kill.
      	(__bb_init_prg): Use fgets.
      	(__bb_exit_trace_func): Don't paste strings.
      	* unroll.c (unroll_loop): Initialize unroll_type, not
      	unroll_number, and tweak logic to match.
      
      	* i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
      	all failure paths.
      	(ix86_flags_dependant): Likewise.  Disentangle control flow.
      	(ix86_sched_reorder): Break guts out to
      	ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
      	(ix86_sched_reorder_ppro): Initialize pair2 and insnp before
      	any possible use.
      
      	* i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
      	use string concatenation.  Don't save and restore esi.
      
      	* fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
      	(machname.h): Remove script to separate file.  Use two-step
      	sequence so target is not created if script fails.
      	* fixinc/gen-machname.h: New file.  Handle case where no non-reserved
      	identifiers are defined.
      	* fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
      	an empty string, machine_name doesn't need to do anything at
      	all.
      	(is_cxx_header): Add more cases to regexp.
      	* fixinc/fixlib.h: Update prototype.
      	* fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
      	mn_get_regexps.
      	* fixinc/fixincl.c: Define NO_BOGOSITY.
      
      	* fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
      	(hp_sysfile): Add missing comma.
      	(math_exception): Put the wrapper ifdefs at the beginning and
      	the end of the file.
      	* fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
      
      From-SVN: r31744
      Zack Weinberg committed
    • Makefile.in (specs.ready): New target. · f2321837
              * Makefile.in (specs.ready): New target.
              (fixinc.sh): Depend on `specs.ready' instead of `specs'.
      
      From-SVN: r31743
      Kaveh R. Ghazi committed
    • fixinc.irix: Use unique filenames for writing into /tmp, · dafb9c66
              * fixinc.irix: Use unique filenames for writing into /tmp,
              * fixinc.ptx: Likewise.
              * fixinc.sco: Likewise.
              * fixinc.svr4: Likewise.
              * fixinc.winnt: Likewise.
      
      From-SVN: r31742
      Kaveh R. Ghazi committed
    • tsystem.h: New file. · 2e39bdbe
      	* tsystem.h: New file.
      
      	* Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
      	s-crtS): Depend on tsystem.h.
      
      	* crtstuff.c: Include tsystem.h.
      	* frame.c: Likewise.
      	* libgcc2.c: Likewise.
      
      From-SVN: r31741
      Kaveh R. Ghazi committed
    • New test culled from gcc-bugs · ed672cd0
      From-SVN: r31740
      Zack Weinberg committed
    • builtins.c (expand_builtin_memset): Expand for variable sized lengths too. · d33ebef6
      	* builtins.c (expand_builtin_memset): Expand for variable sized
      	lengths too.
      
      From-SVN: r31738
      Jan Hubicka committed
    • oops - omitted from previous delta fixing UNIQUE_SECTION · 2cf072fc
      From-SVN: r31737
      Nick Clifton committed
    • jni.cc (_Jv_JNI_PopLocalFrame): Leave loop when `n == NULL'. · ee7f72e4
      	* jni.cc (_Jv_JNI_PopLocalFrame): Leave loop when `n == NULL'.
      	(_Jv_JNI_conversion_call): _Jv_JNI_PopLocalFrame will never leave
      	`locals == NULL'.
      	(wrap_value): New function.
      	(_Jv_JNI_CallAnyMethodV): Use it.
      	(_Jv_JNI_CallAnyMethodA): Likewise.
      	(_Jv_JNI_GetField): Use wrap_value; removed specialized version.
      	(_Jv_JNI_GetStaticField): Likewise.
      
      From-SVN: r31736
      Tom Tromey committed
    • jni.cc (_Jv_JNI_GetField): Specialize for jobject. · 5dc489c1
      	* jni.cc (_Jv_JNI_GetField): Specialize for jobject.
      	(_Jv_JNI_GetStaticField): Likewise.
      
      From-SVN: r31735
      Tom Tromey committed
    • (SUBTARGET_ASM_SPEC) : Default ISA based on ABI. · ef2362a4
      From-SVN: r31734
      David Billinghurst committed
    • dwarfout.c (SHORT_TYPE_SIZE): Correct default. · c294bd99
      	* dwarfout.c (SHORT_TYPE_SIZE): Correct default.
      
      	* tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
      
      From-SVN: r31733
      Hans-Peter Nilsson committed
    • * config.sub: Add mmix-knuth-mmixware. · 784a3a80
      From-SVN: r31732
      Hans-Peter Nilsson committed
    • Daily bump. · 4f804baf
      From-SVN: r31731
      Jeff Law committed
    • prims.cc (_Jv_MallocUnchecked): New function. · 7e648cf9
      	* prims.cc (_Jv_MallocUnchecked): New function.
      	(main_init): Call _Jv_JNI_Init.
      	* include/jvm.h (_Jv_MallocUnchecked): Declare.
      	(_Jv_JNI_Init): Declare.
      	* jni.cc: Include Hashtable.h, OutOfMemoryError.h, Integer.h,
      	<string.h>.
      	(_Jv_JNI_NewGlobalRef): New function.
      	(_Jv_JNI_DeleteGlobalRef): New function.
      	(_Jv_JNI_DeleteLocalRef): New function.
      	(_Jv_JNI_conversion_call): Initialize and clear local reference
      	frame.
      	(_Jv_JNI_NewLocalRef): New function.
      	(struct _Jv_JNI_LocalFrame): New structure.
      	(_Jv_JNI_PushLocalFrame): New function.
      	(_Jv_JNI_EnsureLocalCapacity): New function.
      	(FRAME_SIZE): New define.
      	(_Jv_JNI_GetStringChars): Mark string, not characters.
      	(_Jv_JNI_ReleaseStringChars): Unmark string, not characters.
      	(_Jv_JNI_GetPrimitiveArrayElements): Mark array, not elements.
      	(_Jv_JNI_ReleasePrimitiveArrayElements): Unmark array, not
      	elements.
      	(_Jv_JNI_DefineClass): Make return value a local ref.
      	(_Jv_JNI_FindClass): Likewise.
      	(_Jv_JNI_GetSuperclass): Likewise.
      	(_Jv_JNI_ExceptionOccurred): Likewise.
      	(_Jv_JNI_AllocObject): Likewise.
      	(_Jv_JNI_GetObjectClass): Likewise.
      	(_Jv_JNI_CallAnyMethodV): Likewise.
      	(_Jv_JNI_NewString): Likewise.
      	(_Jv_JNI_NewStringUTF): Likewise.
      	(_Jv_JNI_NewObjectArray): Likewise.
      	(_Jv_JNI_GetObjectArrayElement): Likewise.
      	(_Jv_JNI_ToReflectedField): Likewise.
      	(_Jv_JNI_ToReflectedMethod): Likewise.
      	(_Jv_JNIFunctions): Updated table for new functions.
      	(_Jv_JNI_Init): New function.
      	(mark_for_gc): Wrote.
      	(unmark_for_gc): Wrote.
      	* include/jni.h (struct JNINativeInterface): Removed name from
      	PopLocalFrame parameter.
      	(class _Jv_JNIEnv): Added `locals' field.
      
      From-SVN: r31730
      Tom Tromey committed
    • Fix gdb testsuite regressions. · 07a3462a
      	* class.c (build_vtbl_or_vbase_field): New parameter fcontext.
      	Store it in DECL_FCONTEXT.
      	(build_vbase_pointer_fields, create_vtable_ptr): Fix callers.
      
      From-SVN: r31729
      Jim Wilson committed
  4. 31 Jan, 2000 1 commit
    • combine.c (try_combine): Trying to check the missed case 3->2 combining… · 5ef17dd2
      combine.c (try_combine): Trying to check the missed case 3->2 combining (combining with splitting) in...
      
      	* combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
      	case 3->2 combining (combining with splitting) in which 2 is CC0
      	setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
      	checked at the begining of the function with the aid of calling
      	function 'can_combine_p'.
      
      From-SVN: r31727
      Chandra Chavva committed