1. 24 May, 2001 13 commits
    • c++config (__NO_MATH_INLINES): New macro. · cf3e18dd
            * include/bits/c++config (__NO_MATH_INLINES): New macro.
            * testsuite/26_numerics/fabs_inline.cc (main): New test.
      
      From-SVN: r42533
      Gabriel Dos Reis committed
    • natString.cc (init): Throw ArrayIndexOutOfBoundsException. · cb894e07
      	* java/lang/natString.cc (init): Throw
      	ArrayIndexOutOfBoundsException.
      	(getChars): Likewise.
      	(getBytes): Likewise.
      	(valueOf): Likewise.
      
      From-SVN: r42531
      Tom Tromey committed
    • configure.in: Only allow hash synchronization when POSIX threads are enabled. · cf6b8de4
      	* configure.in: Only allow hash synchronization when POSIX threads
      	are enabled.
      	* java/lang/natObject.cc (alloc_heavy): Properly find `init' field
      	of sync info object.
      
      From-SVN: r42530
      Tom Tromey committed
    • simplify-rtx.c (simplify_subreg): Fix CONCAT simplification; fix hard register simplification. · 0fff4222
      	* simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
      	fix hard register simplification.
      
      From-SVN: r42529
      Jan Hubicka committed
    • sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead of just copying CPP_CPU_SPEC. · 5a2136e8
      	* sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
      	of just copying CPP_CPU_SPEC.
      
      From-SVN: r42528
      Rainer Orth committed
    • * i386.c (incdec_operand): Accept only 1 and -1. · 2b1c08f5
      From-SVN: r42527
      Jan Hubicka committed
    • re PR c++/2184 (using declarations for classes in function templates) · 6f56d925
      cp:
      	PR c++/2184
      	* decl2.c (do_local_using_decl): Push the decls, even in a
      	template.
      testsuite:
      	* g++.old-deja/g++.pt/using1.C: Adjust.
      	* g++.old-deja/g++.pt/using2.C: New test.
      
      From-SVN: r42526
      Nathan Sidwell committed
    • Makefile.am: Override gctest_OBJECTS so tests/test.c can be built. · 8948cb39
      	* Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
      	(libgcjgc_la_SOURCES): Remove typo.
      	* tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
      	* Makefile.in: Rebuilt.
      
      From-SVN: r42524
      Bryce McKinlay committed
    • Daily bump. · 678dbe56
      From-SVN: r42523
      GCC Administrator committed
    • Makefile.in: Rebuilt. · 085a2619
      	* Makefile.in: Rebuilt.
      	* Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks.
      
      From-SVN: r42521
      Tom Tromey committed
    • Revert patch of 2001-05-21: · 4c6a2b01
      	* Makefile.am (libgcj_la_DEPENDENCIES): Removed nat_files.
      	(libgcj_la_LIBADD): Likewise.
      	(libgcjx_la_DEPENDENCIES): Removed x_nat_files.
      	(libgcjx_la_LIBADD): Likewise.
      
      From-SVN: r42520
      Tom Tromey committed
    • [multiple changes] · 3610e0d5
      2001-05-23  Tom Tromey  <tromey@redhat.com>
      
      	* posix-threads.cc (_Jv_self_cache): Renamed from self_cache.
      	* gcj/Makefile.in: Rebuilt.
      	* gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h.
      	* gcj/javaprims.h: Include gcj/libgcj-config.h.
      	* gcj/libgcj-config.h.in: New file.
      	* libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@.
      	* configure: Rebuilt.
      	* configure.in: Enable hash synchronization by default on some
      	platforms.
      	(HASH_SYNC_SPEC): New subst.
      	(AC_CONFIG_HEADER): Added gcj/libgcj-config.h.
      	Correctly use `test -z' instead of `test -n' in a couple places.
      	(JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to
      	LIBGCJ_CXXFLAGS.
      	* configure.host (enable_java_net_default): Initialize.
      	(enable_hash_synchronization_default): New variable.
      
      2001-05-23  Hans Boehm <Hans_Boehm@hp.com>
      
      	* boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash
      	synchronization in use.
      	(_Jv_MarkArray): Likewise.
      	(_Jv_AllocBytes): Don't check return result.
      	(handle_out_of_memory): New function.
      	(_Jv_InitGC): Set GC_oom_fn.
      	(trace_one_vtable): New global.
      	(_Jv_AllocTraceOne): New function.
      	* configure.in: Added --enable-hash-synchronization.
      	* defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc,
      	java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked.
      	* nogc.cc (_Jv_AllocObj): Throw out-of-memory.
      	(_Jv_AllocArray): Likewise.
      	(_Jv_AllocBytes): Likewise.
      	(_Jv_AllocPtrFreeObject): New function.
      	(_Jv_AllocTraceOne): Likewise.
      	* posix-threads.cc (_Jv_ThreadRegister): Handle slow
      	pthread_self().
      	(self_cache): New global.
      	(_Jv_ThreadSelf_out_of_line): New function.
      	* prims.cc (_Jv_AllocBytesChecked): Removed.
      	(_Jv_ThrowNoMemory): New function.
      	(_Jv_AllocObject): Don't check for null return from allocator.
      	(_Jv_NewObjectArray): Likewise.
      	(_Jv_AllocPtrFreeObject): New function.
      	(_Jv_NewPrimArray): Allocate pointer-free object if possible.
      	* include/javaprims.h (_Jv_AllocPtrFreeObject): Declare.
      	(_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value.
      	* include/boehm-gc.h (_Jv_AllocObj): Define.
      	(_Jv_AllocPtrFreeObj): Define.
      	* include/jvm.h (_Jv_AllocPtrFreeObj): Declare.
      	(_Jv_ThrowNoMemory): Declare.
      	(_Jv_AllocTraceOne): Declare.
      	(_Jv_AllocBytesChecked): Removed.
      	* include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock,
      	_Jv_MutexUnlock): Handle LOCK_DEBUG.
      	(_Jv_ThreadSelf): Handle case where system pthread_self() is
      	slow.
      	* java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as
      	friend.
      	* java/lang/Object.h (sync_info): Conditional upon presence of
      	hash synchronization.
      	* java/lang/natObject.cc: Much new code to handle thin locks and
      	hash synchronization.
      	* java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free
      	object if possible.
      
      From-SVN: r42519
      Tom Tromey committed
    • This is still broken. Do not use it yet · 865e0a83
      From-SVN: r42518
      Bruce Korb committed
  2. 23 May, 2001 25 commits
  3. 22 May, 2001 2 commits