Commit Graph

35819 Commits

Author SHA1 Message Date
Franz Sirl
38935c2126 gccspec.c (lang_specific_driver): If compiling ObjC, add -shared-libgcc when necessary.
2001-06-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * gccspec.c (lang_specific_driver): If compiling ObjC, add
        -shared-libgcc when necessary.
        * Makefile.in (gccspec.o): Compile with DRIVER_DEFINES.

From-SVN: r43421
2001-06-16 16:33:28 +00:00
Daniel Berlin
ea1939969e bitmap.h: Add dump_bitmap...
2001-06-16  Daniel Berlin  <dan@cgsoftware.com>

	* bitmap.h: Add dump_bitmap, bitmap_zero, bitmap_union_of_diffs,
	bitmap_a_or_b, bitmap_a_and_b, bitmap_first_set_bit,
	bitmap_last_set_bit. All for compatibility with sbitmap's.

	*bitmap.c (bitmap_zero): New function.
	(bitmap_union_of_diffs): New function.
	(bitmap_first_set_bit): New function.
	(bitmap_last_set_bit): New function.

From-SVN: r43420
2001-06-16 16:13:25 +00:00
Neil Booth
6d34c1c4f3 cpp.texi, [...]: Update.
* cpp.texi, invoke.texi: Update.
	* cpp.1, gcc.1: Regenerate.

From-SVN: r43419
2001-06-16 10:59:48 +00:00
Jan Hubicka
138b7342b1 * i386.md (minsf): Fix splitter. (PR fortran/3191)
From-SVN: r43418
2001-06-16 10:48:06 +00:00
GCC Administrator
cb04bcd880 Daily bump.
From-SVN: r43416
2001-06-16 07:16:10 +00:00
Tom Tromey
a5c30a8cff * jni.cc (_Jv_JNI_NewLocalRef): Search other frames.
From-SVN: r43415
2001-06-15 23:44:45 +00:00
Neil Booth
827a5be702 cpp.texi: Update.
* doc/cpp.texi: Update.
	* doc/cpp.1: Regenerate.

From-SVN: r43414
2001-06-15 23:40:33 +00:00
Tom Tromey
6728a61d1f natRuntime.cc (_Jv_FindSymbolInExecutable): Return NULL if no library on the list has the symbol.
* java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Return
	NULL if no library on the list has the symbol.
	(init): Call add_library on the program itself.
	* prims.cc (JvRunMain): Initialize Runtime before searching for
	`main'.
	(_Jv_RunMain): Likewise.

From-SVN: r43413
2001-06-15 23:22:02 +00:00
Phil Edwards
21ea1c28cf documentation.html: Point to new doxygen'ed collection.
2001-06-15  Phil Edwards  <pme@sources.redhat.com>

	* docs/html/documentation.html:  Point to new doxygen'ed collection.

From-SVN: r43412
2001-06-15 22:57:30 +00:00
Loren J. Rittle
3c6bb1dbfc * doc/install.texi: Use correct markup hints.
From-SVN: r43411
2001-06-15 22:25:18 +00:00
Dennis Bjorklund
c764671cb0 sv.po: Updated.
2001-06-15  Dennis Bjorklund  <db@zigo.dhs.org>

	* sv.po: Updated.  Approximately 1100 of 3600 strings translated.

From-SVN: r43410
2001-06-15 22:13:00 +00:00
Tom Tromey
39986dd5ee jni.cc (ClassClass): Removed; updated all users.
* jni.cc (ClassClass): Removed; updated all users.
	(ObjectClass): Likewise.
	(ThrowableClass): Likewise.
	(MethodClass): Likewise.
	(ThreadGroupClass): Likewise.
	(local_ref_table): Renamed from `ref_table'.
	(global_ref_table): New global.
	(_Jv_JNI_Init): Initialize both ref tables.
	(mark_for_gc): Added `ref_table' parameter.
	(unmark_for_gc): Likewise.  Also, fail if we unreferenced too many
	times.
	(_Jv_JNI_NewGlobalRef): Updated for new mark function.
	(_Jv_JNI_DeleteGlobalRef): Likewise.
	(_Jv_JNI_DeleteLocalRef): Likewise.
	(_Jv_JNI_NewLocalRef): Likewise.
	(_Jv_JNI_PopLocalFrame): Likewise.
	(_Jv_JNI_GetStringChars): Likewise.
	(_Jv_JNI_ReleaseStringChars): Likewise.
	(_Jv_JNI_GetPrimitiveArrayElements): Likewise.
	(_Jv_JNI_ReleasePrimitiveArrayElements): Likewise.

From-SVN: r43409
2001-06-15 22:09:10 +00:00
Richard Kenner
b927dc2237 * function.c (gen_mem_addressof): Handle case where DECL is SAVE_EXPR.
From-SVN: r43408
2001-06-15 18:08:42 -04:00
Richard Kenner
f6261a8a6f * explow.c (expr_size): If DECL and size specified, use it.
From-SVN: r43407
2001-06-15 18:05:09 -04:00
Zack Weinberg
1c5dd43ff7 cpp.texi: Formatting corrections.
* doc/cpp.texi: Formatting corrections.
Correct buggy example of use of __GNUC__ etc.
Clarify $ in identifiers.
* doc/cpp.1: Regenerate.

From-SVN: r43404
2001-06-15 17:57:48 +00:00
Jan Hubicka
76791f3d95 * optabs.c (expand_twoval_binop): Avoid undefined behaviour.
From-SVN: r43403
2001-06-15 17:44:56 +00:00
Rainer Orth
f254110619 install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX etc.
* doc/install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX
	etc. spelling.
	(Specific, alpha-*-osf1): Renamed to alpha*-*-osf*.
	Added Tru64 UNIX V5.1 bootstrap hints.
	(Specific, alpha*-*-osf*): Removed old section, obsolete.

From-SVN: r43402
2001-06-15 17:35:48 +00:00
Andreas Jaeger
e15ed7908c install.texi (Specific): Mention that glibc cannot be compiled with GCC 3.0.
* doc/install.texi (Specific): Mention that glibc cannot be
	compiled with GCC 3.0.

From-SVN: r43400
2001-06-15 18:41:07 +02:00
Jason Merrill
13de7ec4a5 class.c (dfs_accumulate_vtbl_inits): Just point to the base we're sharing a ctor vtable with.
* class.c (dfs_accumulate_vtbl_inits): Just point to the base we're
	sharing a ctor vtable with.  Merge code for cases 1 and 2.
	(binfo_ctor_vtable): New fn.
	(build_vtt_inits, dfs_build_secondary_vptr_vtt_inits): Use it.

From-SVN: r43399
2001-06-15 10:03:09 -04:00
Andrew Haley
2a8bb5cfe6 combine.c (nonzero_bits): Don't optimize away division by zero.
2001-06-14  Andrew Haley  <aph@redhat.com>

	* combine.c (nonzero_bits): Don't optimize away division by
	zero.

From-SVN: r43398
2001-06-15 13:27:03 +00:00
Jason Merrill
50622d8b6c add missing function
From-SVN: r43397
2001-06-15 07:45:27 -04:00
Zack Weinberg
553a066827 cpp.texi: Revised and brought up to date.
* doc/cpp.texi: Revised and brought up to date.
* doc/cpp.1: Regenerate.

[[Split portion of a mixed commit.]]

From-SVN: r43395.2
2001-06-15 07:25:51 +00:00
Zack Weinberg
f3c9b8530c cpp.texi: Revised and brought up to date.
* doc/cpp.texi: Revised and brought up to date.
	* doc/cpp.1: Regenerate.

From-SVN: r43394
2001-06-15 07:21:48 +00:00
Loren J. Rittle
f6160ed58d * doc/install.texi: Update --enable-threads to match reality.
From-SVN: r43393
2001-06-15 07:18:55 +00:00
GCC Administrator
7972214e5c Daily bump.
From-SVN: r43392
2001-06-15 07:18:46 +00:00
Hartmut Penner
506dea54f6 Add myself as s390 backend maintainer.
From-SVN: r43390
2001-06-15 06:25:24 +00:00
Michael Hayes
c722f0fd2a * README.C4X: Remove (finally...).
From-SVN: r43388
2001-06-15 01:19:39 +00:00
Michael Hayes
0132e32174 install.texi: Update for C4x.
* doc/install.texi: Update for C4x.
	* README.C4X: Remove.

From-SVN: r43385
2001-06-15 01:07:47 +00:00
Joseph Myers
c771326b4f c-tree.texi, [...]: Fix spelling and typos.
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
	doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
	doc/objc.texi, doc/rtl.texi, doc/tm.texi: Fix spelling and typos.
	Consistently use "built-in" and "bit-field".  Minor logical markup
	improvements.
	* doc/gcc.1: Regenerate.

From-SVN: r43383
2001-06-14 23:51:18 +01:00
Richard Henderson
68f4edf079 * config/mips/mips.md (exception_receiver): New.
From-SVN: r43379
2001-06-14 13:15:19 -07:00
Albert Chin-A-Young
894b7c636a * contrib/gcc_update: Fix timestamp on gcc/f/intdoc.texi.
From-SVN: r43377
2001-06-14 19:02:00 +00:00
Daniel J. Berlin
cd7aa66b1b gcc.texi: Update passes documentation to be more in tune with reality.
2001-06-14  Daniel J. Berlin <dan@cgsoftware.com>

	* doc/gcc.texi:  Update passes documentation to be more in tune
	with reality.

From-SVN: r43376
2001-06-14 18:54:44 +00:00
Tom Tromey
d19da8d1b4 jni.exp: New file.
* libjava.jni/jni.exp: New file.
	* lib/libjava.exp (gcj_link): New proc.

From-SVN: r43375
2001-06-14 17:46:53 +00:00
Tom Tromey
fc07ebe2a7 re PR libgcj/3144 (java.lang.Date.compareTo() not supported)
Fix for PR libgcj/3144:
	* java/util/Date.java: Merged with Classpath.

From-SVN: r43374
2001-06-14 15:41:57 +00:00
Jan Hubicka
e323735cb2 * i386.c (ix86_expand_prologue): Fix merging conflict.
From-SVN: r43373
2001-06-14 13:41:22 +00:00
Jason Merrill
3ea099f179 class.c (dfs_find_final_overrider): Fix logic.
* class.c (dfs_find_final_overrider): Fix logic.

        * class.c (update_vtable_entry_for_fn): Uncomment optimization to use
        virtual thunk instead of non-virtual.
        (get_matching_virtual): Uncomment.

        * pt.c (unify): Don't recurse between the POINTER_TYPE and the
        OFFSET_TYPE.  If we're adding cv-quals, the extra ones would be on
        PARM, not ARG.

From-SVN: r43372
2001-06-14 08:59:40 -04:00
Joseph Myers
630d3d5a68 c-tree.texi, [...]: Use more logical markup.
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
	doc/gcc.texi, doc/gcov.texi, doc/install-old.texi,
	doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Use more
	logical markup.  Use TeX quotes and dashes.  Use @dots{} and
	@minus{}.  Avoid spaces inside @var.  Update last modification
	date in gcc.texi.
	* doc/gcc.1, doc/gcov.1: Regenerate.

From-SVN: r43369
2001-06-14 12:08:04 +01:00
Nathan Sidwell
87326ba888 class.c (dfs_accumulate_vtbl_inits): For case 2 & 3...
cp:
	* class.c (dfs_accumulate_vtbl_inits): For case 2 & 3, make sure
	we've not emerged from the hierarchy of RTTI_BINFO on reaching
	a non-virtual base.
testsuite:
	* g++.old-deja/g++.abi/vbase8-9.C: New test.

From-SVN: r43368
2001-06-14 10:48:20 +00:00
Jan Hubicka
c6036a3787 i386.c (x86_accumulate_outgoing_args, [...]): New global variables.
* i386.c (x86_accumulate_outgoing_args, x86_prologue_using_move,
	x86_epilogue_using_move): New global variables.
	(override_options): Enable ACCUMULATE_OUTGOING_ARGS if preferred.
	(ix86_emit_save_regs_using_mov): New static function.
	(ix86_expand_prologue, ix86_expand_epilogue): Use moves if preferred.
	* i386.h (MASK_MMX, MASK_SSE, MASK_SSE2, MASK_128BIT_LONG_DOUBLE,
	MASK_MIX_SSE_I387): Renumber.
	(MASK_NO_ACCUMULATE_OUTGOING_ARGS): New.
	(x86_accumulate_outgoing_args, x86_prologue_using_move,
	x86_epilogue_using_move): Declare.
	(TARGET_PROLOGUE_USING_MOVE, TARGET_EPILOGUE_USING_MOVE): New.

From-SVN: r43366
2001-06-14 10:45:38 +00:00
Nathan Sidwell
1de9b82250 configure.in (auxdir): Replace by ...
* configure.in (auxdir): Replace by ...
	(toprel): ... new variable.
	(toplevel_srcdir): Construct from $toprel.
	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
	rather than .. to locate gcc source directory.
	(GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
	* aclocal.m4, configure: Rebuilt.

From-SVN: r43364
2001-06-14 08:45:38 +00:00
GCC Administrator
5ffffe20ca Daily bump.
From-SVN: r43362
2001-06-14 07:16:56 +00:00
John David Anglin
91bfd02dae globals.cc: Define globals _GLIBCPP_mutex_init ()...
* src/globals.cc: Define globals _GLIBCPP_mutex_init (),
	_GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
	and _GLIBCPP_mutex_address.
	* include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
	once-only runtime initialization of _M_lock mutex when
	__GTHREAD_MUTEX_INIT_FUNCTION is defined.
	(__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
	for __GTHREAD_MUTEX_INIT_FUNCTION case.

From-SVN: r43360
2001-06-14 06:06:48 +00:00
John David Anglin
5ffd49b800 Blow away a duplicate definition of "pow()" for C++
From-SVN: r43358
2001-06-14 03:51:26 +00:00
Richard Henderson
037e3d1fb2 * ifcvt.c (dead_or_predicable): Fix return value last patch.
From-SVN: r43357
2001-06-13 17:40:44 -07:00
Gabriel Dos Reis
7c301abf46 slice_array_assignment.cc (main): New test.
* testsuite/26_numerics/slice_array_assignment.cc (main): New test.

        * include/bits/slice_array.h (slice_array<>::operator=): Make
        public and implement.
        (slice_array<>::slice_array): Make copy-constructor public.

        * include/bits/valarray_array.h (__valarray_copy): Add another
        overload to copy between strided arrays.

From-SVN: r43352
2001-06-13 22:16:24 +00:00
Franz Sirl
15a7ee9ff6 objc.exp (objc_target_compile): Add ${rootme} to ld_library_path variable.
2001-06-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * lib/objc.exp (objc_target_compile): Add ${rootme} to ld_library_path
        variable.

From-SVN: r43351
2001-06-13 21:56:12 +00:00
Toon Moene
a821898dd2 inquire.c: Include "config.h".
2001-06-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/inquire.c: Include "config.h".

From-SVN: r43350
2001-06-13 21:06:15 +00:00
Joseph Myers
d425a1e053 * README: Remove version number.
From-SVN: r43346
2001-06-13 19:48:09 +01:00
Mark Mitchell
e065a36eb3 * NEWS: Update release number.
From-SVN: r43344
2001-06-13 18:38:01 +00:00
Mark Mitchell
acabb59616 * gennews: Set TERM to vt100 for Lynx.
From-SVN: r43343
2001-06-13 18:37:16 +00:00