1. 24 May, 2001 5 commits
    • 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 10 commits
    • unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of... · 101fa48c
              * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
              (__deregister_frame_info_bases): New.
              * unwind-dw2-fde.h: Declare it.
              * libgcc-std.ver: Export it.
              * crtstuff.c (__do_global_dtors_aux): Call it if we would have
              called __register_frame_info_bases.
      
      From-SVN: r42473
      Richard Henderson committed
    • g77.texi: Update last-changed date. · b5e85669
      2001-05-22  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* g77.texi: Update last-changed date.
      	* news.texi: Update copyright years, last-changed date.
      	* bugs.texi: Update copyright years, last-changed date.
      
      From-SVN: r42471
      Toon Moene committed
    • freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair instead of #elif (which is… · 73daf27e
      freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair instead of #elif (which is OK for this case but not in general).
      
      	* config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
      	instead of #elif (which is OK for this case but not in general).
      
      From-SVN: r42469
      Loren J. Rittle committed
    • g77.texi: Update maintenance information for GNU Fortran. · 9a5b6eff
      2001-05-22  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* g77.texi: Update maintenance information for
      	GNU Fortran.  Remove all mention of -fdebug-kludge.
      	* news.texi: Make more news in 0.5.26 `user visible
      	changes'. Acknowledge work by important contributors.
      	* bugs.texi: Remove all mention of -fdebug-kludge.
      
      From-SVN: r42468
      Toon Moene committed
    • builtins.c (expand_builtin_longjmp): A longjmp can be a call too. · 8206fc89
      
      2001-05-22  Andrew MacLeod  <amacleod@redhat.com>
      
      	* builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
      	* config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
      	parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
      	* config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing
      	"r2" to the assembly file. Only issue allocs with non-zero parameters.
      
      From-SVN: r42467
      Andrew MacLeod committed
    • class.c, [...]: Remove com_interface attribute support. · 0401d499
              * class.c, cp-tree.h, rtti.c: Remove com_interface attribute support.
              * tree.c (cp_valid_lang_attribute): Warn about use of com_interface
              attribute.
      
      From-SVN: r42465
      Jason Merrill committed
    • freebsd.h (LIB_SPEC): Key the exact setting to configure-time options and target… · 766a4175
      freebsd.h (LIB_SPEC): Key the exact setting to configure-time options and target version of FreeBSD.
      
      	* config/freebsd.h (LIB_SPEC): Key the exact setting to
      	configure-time options and target version of FreeBSD.  Set-up
      	to match architectural change in threading support.  Correctly
      	report when -pthread option is not supported by configure-time
      	options.
      	(FBSD_CPP_PREDEFINES): Move from architecture-specific files
      	and extend to encode target version number in run-time setting
      	of __FreeBSD__ macro to match the system compiler.
      	(CPP_PREDEFINES): Likewise.
      	(PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
      
      	* config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
      	* config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
      
      Co-Authored-By: David O'Brien <obrien@freebsd.org>
      
      From-SVN: r42464
      Loren J. Rittle committed
    • config.gcc (the unlabeled system switch statement): Add generic configuration… · 9e405fe5
      config.gcc (the unlabeled system switch statement): Add generic configuration section to handle *-*-freebsd*.
      
      	* config.gcc (the unlabeled system switch statement): Add
      	generic configuration section to handle *-*-freebsd*.  Also,
      	to match the system compiler, default to threading support (it
      	may be disabled with the standard --disable-threads
      	configuration-time switch).
      	(i[34567]86-*-freebsd* in machine-specific section): Use it.
      	(alpha*-*-freebsd* in machine-specific section): Likewise.
      
      	* config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
      	* config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
      	* config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
      	* config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
      	* config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
      
      Co-Authored-By: David O'Brien <obrien@freebsd.org>
      
      From-SVN: r42463
      Loren J. Rittle committed
    • t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC. · 28b6b317
      	* config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
      	* config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
      	-pthread instead setting macro.
      
      Co-Authored-By: David O'Brien <obrien@freebsd.org>
      
      From-SVN: r42461
      Loren J. Rittle committed
    • mkcheck.in (static_fail): Remove S_FLAG decoration on output. · 990101f9
      
      2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* mkcheck.in (static_fail): Remove S_FLAG decoration on output.
      
      	* include/bits/std_sstream.h (stringbuf::setbuf): Require both
      	arguments to be non-null.
      	* include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
      	try allocations if allocated size is greater than zero.
      	(filebuf::_M_filebuf_init): Change to
      	(filebuf::_M_allocate_file): Which is what it does now.
      	(filebuf::_M_allocate_bufers): Change to
      	(filebuf::_M_allocate_internal_buffer): This, and create
      	(filebuf::_M_allocate_pback_buffer): New.
      	(filebuf::_M_destroy_internal_buffer): New.
      	(filebuf::_M_buf_allocated): New data member.
      	(filebuf::setbuf): Use new logic, allow use of external buffer.
      	* testsuite/27_io/stringbuf_virtuals.cc: New file.
      	* testsuite/27_io/filebuf_virtuals.cc: New file.
      
      From-SVN: r42458
      Benjamin Kosnik committed