Commit Graph

35642 Commits

Author SHA1 Message Date
Alexandre Oliva 4a849291bc configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* acinclude.m4: Likewise.
* aclocal.m4, configure: Rebuilt.

From-SVN: r43107
2001-06-09 21:29:08 +00:00
Alexandre Oliva 7112135f34 * config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.
From-SVN: r43106
2001-06-09 20:37:29 +00:00
Alexandre Oliva 4173be7fe5 configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* acinclude.m4: Likewise.
* configure: Rebuilt.

From-SVN: r43105
2001-06-09 20:32:56 +00:00
Alexandre Oliva 4e0abb1d51 acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
* acinclude.m4 (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.

From-SVN: r43104
2001-06-09 20:31:23 +00:00
Alexandre Oliva 01ef8751ce configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.

From-SVN: r43103
2001-06-09 20:31:13 +00:00
Peter Jakubek 54c6cfdcb6 * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
From-SVN: r43100
2001-06-09 12:11:22 -07:00
Benjamin Kosnik d25e11935b std_cwchar.h: Remove size_t injection, include std_cstddef.
2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_std/bits/std_cwchar.h: Remove size_t injection,
	include std_cstddef.
	* include/c_std/bits/std_ctime.h: Same.
	* include/c_std/bits/std_cstring.h: Same.
	* include/c_std/bits/std_cstdlib.h: Same.

	* include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
	* include/c_std/bits/std_cctype.h: Remove isblank.

From-SVN: r43097
2001-06-09 18:53:35 +00:00
Alexandre Oliva 818f0c85ae config.guess: Import CVS version 1.195.
* config.guess: Import CVS version 1.195.
* config.sub: Import CVS version 1.212.

From-SVN: r43096
2001-06-09 18:50:20 +00:00
John David Anglin 544d6fa457 vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags for integer operations that don't update...
* vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
	for integer operations that don't update C bit.

From-SVN: r43094
2001-06-09 18:30:12 +00:00
Nicola Pero ed459a390f gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is.
2001-06-09  Nicola Pero <nicola@brainstorm.co.uk>

	* gthr-posix.h (__gthread_objc_init_thread_system): If
	pthread_key_create fails, it's not clear what the return value is.
	This obvious fix makes sure it always returns -1 if a problem
	occurs.

From-SVN: r43092
2001-06-09 18:06:54 +00:00
Nicola Pero abc0360c37 (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is.
(__gthread_objc_init_thread_system): If pthread_key_create fails, it's
not clear what the return value is.  This obvious fix makes sure it
always returns -1 if a problem occurs.

From-SVN: r43091
2001-06-09 18:05:09 +00:00
Joseph Myers 2a008da434 gcc.texi: Use @defcodeindex for the index of options.
* doc/gcc.texi: Use @defcodeindex for the index of options.  Add
	more index entries.  Use more logical markup where appropriate.
	Use TeX quotes and dashes.

From-SVN: r43089
2001-06-09 19:03:11 +01:00
Benjamin Kosnik 3478885a5e unwind-pe.h: Conditionally qualify references to abort with std::.
2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>

	* unwind-pe.h: Conditionally qualify references to abort with
	std::.

From-SVN: r43087
2001-06-09 18:00:34 +00:00
Benjamin Kosnik f71c65420c unwind-pe.h: Conditionally qualify references to abort with std::.
2001-06-09  Benjamin Kosnik  <bkoz@fillmore.constant.com>

	* unwind-pe.h: Conditionally qualify references to abort with
	std::.

From-SVN: r43082
2001-06-09 17:55:10 +00:00
Ovidiu Predescu b27820143d load-3.m: Added.
2001-06-09  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* objc/execute/load-3.m: Added. Check sending +load to categories,
	in addition to classes.

From-SVN: r43081
2001-06-09 17:55:05 +00:00
Ovidiu Predescu 9a57c5d31a Added. Check sending +load to categories, in addition to classes.
From-SVN: r43080
2001-06-09 17:54:21 +00:00
Benjamin Kosnik cd7894a510 std_cctype.h: Remove isblank.
2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_std/bits/std_cctype.h: Remove isblank.

From-SVN: r43078
2001-06-09 17:39:29 +00:00
Julian Foad d5ee548054 * invoke.texi: Remove superfluous text.
From-SVN: r43075
2001-06-09 13:32:45 +00:00
GCC Administrator de288ef148 Daily bump.
From-SVN: r43072
2001-06-09 07:16:12 +00:00
Benjamin Kosnik df7b13598a acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, fgetws.
2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
	fgetws.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
	injection, guard fgetwc, fgetws.
	* include/c_std/bits/std_cstdio.h: Remove superfluous includes.
	* include/c_std/bits/std_clocale.h: And here.
	* include/c_std/bits/std_cctype.h: And here.
	* include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.

	* config/basic_file_stdio.h: Don't include unistd.h.
	* config/c_io_stdio.h: Don't use compatibility headers.
	* libsupc++/eh_terminate.cc: Qualify abort.
	(__terminate): And here.
	* libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.

From-SVN: r43070
2001-06-09 06:49:13 +00:00
Benjamin Kosnik 7ae4a70a1c std_cstdlib.h: Remove _Exit, strtof injections.
2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.

From-SVN: r43069
2001-06-09 04:24:10 +00:00
Richard Henderson dbe0297bc6 linux.h (CPLUSPLUS_CPP_SPEC): New.
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
        (LIB_SPEC): Mirror config/linux.h version.

From-SVN: r43067
2001-06-08 17:39:04 -07:00
Tom Tromey f1eba84741 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Compute new aux dir using `pwd'.

From-SVN: r43064
2001-06-08 23:40:17 +00:00
Benjamin Kosnik de96ac4681 *: Add copyright notice.
2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2767
	libstdc++/2989
	libstdc++/2992
	* include/std/*: Add copyright notice.
	* include/c_std/bits/*: Use using statements instead of extern "C".
	* include/c_std/bits/std_cmath.h: Don't overload double versions
	of math functions with __buitin versions, use global version to
	prevent ambiguities. Remove define hacks.
	* include/c_std/bits/std_cwchar.h: Using declarations for "C"
	functions that have changed signatures and std::
	declarations. Remove define hacks.
	* include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
	__builtins in std::. Remove define hacks.
	* testsuite/17_intro/headers_c.cc: Add tests.
	* testsuite/17_intro/headers_c++.cc: Add test.

From-SVN: r43061
2001-06-08 23:22:26 +00:00
Richard Henderson 86c9954991 except.c (get_exception_pointer, [...]): Take a struct function.
* except.c (get_exception_pointer, get_exception_filter): Take a
        struct function.  Update all callers.
        * except.h (get_exception_pointer): Update declaration.
        * expr.c (expand_expr): Update get_exception_pointer call.
        * integrate.c (expand_inline_function): Remap the exception pointer
        from callee to caller.

From-SVN: r43060
2001-06-08 15:57:23 -07:00
Nicola Pero 27132e6489 THREADS: Explain that when we compile libobjc inside GCC...
2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>

        * THREADS: Explain that when we compile libobjc inside GCC, we
        always use thr-objc.c as a backend, which uses GCC's thread code.

From-SVN: r43058
2001-06-08 22:42:59 +00:00
Mark Mitchell 0f38b81142 c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations accurately reflect its cv-qualification.
* c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
	accurately reflect its cv-qualification.
	* c-typeck.c (type_lists_compatible_p): Ignore the top-levl
	cv-qualifiers on function types.

From-SVN: r43056
2001-06-08 22:33:46 +00:00
Richard Frith-Macdonald e6be21fe87 init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key...
2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>

        * init.c (__objc_send_message_in_list): When setting a new entry
        in __objc_load_methods use the method IMP as key, but check to see
        if the method is in the hashtable by looking at the IMP also.
        Also ... call the method after adding it to the hashtable rather
        than before ... thus preventing an obscure possibility of infinite
        recursion if a +load method itself loads a subclass.

From-SVN: r43052
2001-06-08 22:19:47 +00:00
Stan Shebs 43fd108f69 load-2.m: New test.
* objc/execute/load-2.m: New test.  From Nicola Pero
        <n.pero@mi.flashnet.it>.

From-SVN: r43051
2001-06-08 22:16:58 +00:00
Tom Tromey fdf448f76b re PR libgcj/2874 (libjava testsuite disk space usage)
Fix for PR libgcj/2874:
	* libjava.mauve/mauve.exp (gcj_run_mauve_tests): New proc.
	(test_mauve): Return 0 on failure.
	* lib/libjava.exp (test_libjava_from_source): Remove generated
	files if test is successful.
	(test_libjava_from_javac): Likewise.
	(gcj_cleanup): New proc.

From-SVN: r43050
2001-06-08 22:12:28 +00:00
Mark Mitchell e68e310815 basic-block.h: Improve comments.
* basic-block.h: Improve comments.
	* except.c (expand_eh_region_end_allowed): Remove redundant call
	to do_pending_stack_adjust.
	* flow.c (life_analysis): Fix typo in comment.
	(calculate_global_regs_live): Add documentation.
	(mark_set_1): Likewise.
	(debug_regset): Likewise.
	* doc/rtl.texi (cond_exec): Document it.

From-SVN: r43049
2001-06-08 21:54:11 +00:00
Jan Hubicka 1acc845ecb i386.h (CONST_COSTS): set cost of constants representable in immediate fields to 0.
* i386.h (CONST_COSTS): set cost of constants representable in
	immediate fields to 0.

From-SVN: r43045
2001-06-08 19:53:59 +00:00
Jan Hubicka 932f084749 function.c (diddle_return_value): Kill code to determine return value before expand_function_end.
* function.c (diddle_return_value): Kill code to determine
	return value before expand_function_end.
	(expand_function_end): Delay call to clobber_return_register
	after fucntion return value is computed.

	Re-install temporary reverted patch:
	* toplev.c (rest_of_compilation): Call split_all_insns
	before reg-stack and shorten-branches. Do shorten-branches
	after reg-stack.
	* final.c (shorten_branches): Remove insn splitting code.

From-SVN: r43044
2001-06-08 19:52:06 +00:00
Joseph Myers cd3bb27790 gcc.texi, [...]: Add index of command line options.
* doc/gcc.texi, doc/invoke.texi: Add index of command line
	options.  Use @opindex to index them rather than other indexing
	commands.  Use @var{...} instead of <...>.  Avoid spaces in names
	inside @var.  Don't use @kindex to index escape sequences in
	source code.

From-SVN: r43041
2001-06-08 20:42:28 +01:00
Tom Tromey 4c399c87ef re PR libgcj/3059 (System doesn't set java.home property)
Fix for PR libgcj/3059:
	* java/lang/natSystem.cc (init_properties): Define `java.home'.
	* Makefile.in: Rebuilt.
	* Makefile.am (AM_CXXFLAGS): Define PREFIX.

From-SVN: r43040
2001-06-08 19:09:04 +00:00
Jason Merrill acb5223fb5 conflict
From-SVN: r43038
2001-06-08 14:14:27 -04:00
Jason Merrill 91088ddb81 stmt.c (current_nesting_level): New fn.
* stmt.c (current_nesting_level): New fn.
        * tree.h: Declare it.
        * c-semantics.c (genrtl_compound_stmt): Use it.

        * dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P.

From-SVN: r43037
2001-06-08 14:12:54 -04:00
Jason Merrill c16bd4e207 duplicate
From-SVN: r43036
2001-06-08 14:03:52 -04:00
Jason Merrill a245756ae2 duplicate
[[Split portion of a mixed commit.]]

From-SVN: r43035.2
2001-06-08 14:03:52 -04:00
Tom Tromey 7f7ba9bf90 For PR bootstrap/3075:
* configure, aclocal.m4, Makefile.am: Rebuilt.
	* configure.in: Pass `--with-auxdir' to subdir configure.  Don't
	call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM.  Look for unwind.h
	relative to libgcj_basedir.
	* acinclude.m4 ((LIBGCJ_CONFIGURE): Call AC_CONFIG_AUX_DIR and
	AC_CANONICAL_SYSTEM here.
	* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
	libgcj_basedir.
	($(extra_headers)): New target.

From-SVN: r43034
2001-06-08 18:02:03 +00:00
Tom Tromey a5440f9ebf For PR bootstrap/3075:
* configure, aclocal.m4, Makefile.in: Rebuilt.
	* configure.in: Don't call AC_CONFIG_AUX_DIR or
	AC_CANONICAL_SYSTEM.
	* acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
	AC_CANONICAL_SYSTEM here.
	* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
	boehm_gc_basedir.

From-SVN: r43033
2001-06-08 17:59:57 +00:00
Jakub Jelinek 7bd458aabb jump.c (mark_modified_reg): Allow jump threading if condition codes are represented by a hard register.
* jump.c (mark_modified_reg): Allow jump threading if condition
	codes are represented by a hard register.

From-SVN: r43030
2001-06-08 19:43:09 +02:00
Jakub Jelinek 7137fd76b5 ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode for complex floats passed to unprototyped functions.
* config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
	for complex floats passed to unprototyped functions.

	* gcc.c-torture/execute/20010605-2.c: New test.

From-SVN: r43029
2001-06-08 19:42:25 +02:00
Mark Mitchell b912bca0f0 except.c (expand_eh_region_end_allowed): Call do_pending_stack_adjust as necessary.
* except.c (expand_eh_region_end_allowed): Call
	do_pending_stack_adjust as necessary.

From-SVN: r43020
2001-06-08 16:19:45 +00:00
Nathan Sidwell 4b454fccf5 vbase2.C: New test.
* g++.old-deja/g++.abi/vbase2.C: New test.
	* g++.old-deja/g++.abi/vbase3.C: New test.

From-SVN: r43016
2001-06-08 14:30:47 +00:00
Nathan Sidwell 06d5e6330f decl.c (duplicate_decls): Fix DECL_TEMPLATE_RESULT thinko in previous change.
* decl.c (duplicate_decls): Fix DECL_TEMPLATE_RESULT thinko
	in previous change.

From-SVN: r43014
2001-06-08 13:49:09 +00:00
Nathan Sidwell 9ac1bd2e0a re PR c++/2929 (gcc crash when compiling a sample)
cp:
	PR c++/2929
	* friend.c (do_friend): Use push_decl_namespace for classes at
	namespace scope.
testsuite:
	* g++.old-deja/g++.pt/friend49.C: New test.

From-SVN: r43013
2001-06-08 12:49:02 +00:00
Jan Hubicka 9c65bbf460 function.c (clobber_return_register): Clobber the pseudo return register too.
* function.c (clobber_return_register): Clobber the pseudo return
	register too.

From-SVN: r43011
2001-06-08 12:26:51 +00:00
Jan Hubicka cf7ec0ab00 sibcall.c (skip_unreturned_value): New function.
* sibcall.c (skip_unreturned_value): New function.
	(call_ends_block_p): Use it.

From-SVN: r43010
2001-06-08 12:24:30 +00:00
Jan Hubicka d58d4c12b0 recog.c (split_insn): Break out from ...
* recog.c (split_insn): Break out from ...
	(split_all_insns): ... here; do not use basic block information
	when it is broken.

From-SVN: r43009
2001-06-08 12:19:12 +00:00