Commit Graph

34209 Commits

Author SHA1 Message Date
Felix Lee
52e8d2b2a0 mkcheck.in: workaround for bash 2.01 IFS bug.
2001-03-12  Felix Lee  <flee@redhat.com>

	* mkcheck.in: workaround for bash 2.01 IFS bug.

From-SVN: r40430
2001-03-12 21:52:29 +00:00
Benjamin Kosnik
db1d582c81 Fixups for -fno-for-scope
2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>

	Fixups for -fno-for-scope
	* include/bits/locale_facets.tcc (__match_parallel): Fixup.
	* src/valarray-inst.cc (__gslice_to_index): Same.

From-SVN: r40429
2001-03-12 21:42:57 +00:00
David Edelsohn
ba8afff635 aix51.h (CPP_SPEC, [...]): Fix typo in __WCHAR_TYPE__ definition.
* rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in
        __WCHAR_TYPE__ definition.
        (WCHAR_TYPE_SIZE): #undef before #define.

From-SVN: r40428
2001-03-12 16:27:54 -05:00
Richard Kenner
981a4c34ba Fix typo
From-SVN: r40426
2001-03-12 15:40:51 -05:00
Benjamin Kosnik
1877bd890d vector.h: Include std_vector.h.
2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/backward/vector.h: Include std_vector.h.

From-SVN: r40425
2001-03-12 19:58:04 +00:00
Neil Booth
a36c54faba cppfiles.c: Update comments.
* cppfiles.c: Update comments.
	(destroy_include_file_node): Rename destroy_node.
	(find_or_create_entry): New function.
	(open_file, _cpp_fake_include): Use it.
	(handle_missing_header): New function, broken out of
	_cpp_execute include.  Don't segfault if there is no
	system or quoted path.
	(_cpp_execute_include): Use handle_missing_header.

From-SVN: r40423
2001-03-12 19:33:08 +00:00
Rodney Brown
e6ff97b1c4 gen-num-limits.cc (traps): Add fflush prior to trapping signal (UnixWare 7 workaround).
2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>

        * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
        prior to trapping signal (UnixWare 7 workaround).

From-SVN: r40422
2001-03-12 19:21:29 +00:00
Jeffrey Oldham
23712c118d jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's 2001-02-28 patch because it breaks arm-linux and...
2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>

	* jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
	2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.

From-SVN: r40421
2001-03-12 19:11:39 +00:00
Richard Kenner
e8ea2809d0 flow.c (insn_dead_p): Don't consider two memrefs equivalent unless anti_dependence says they are.
* flow.c (insn_dead_p): Don't consider two memrefs equivalent
	unless anti_dependence says they are.
	* alias.c (objects_must_conflict): If neither has a type specified,
	they must conflict.

From-SVN: r40420
2001-03-12 14:09:57 -05:00
Neil Booth
89c9653e9a iris5.h: Change WCHAR_TYPE to int.
* config/mips/iris5.h:  Change WCHAR_TYPE to int.

Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com>

From-SVN: r40419
2001-03-12 19:01:35 +00:00
Craig Rodrigues
86c18af9bb hashtable.h: Same.
2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>

	* include/backward/hashtable.h: Same.
	* include/backward/rope.h: Fix include.

From-SVN: r40418
2001-03-12 18:49:33 +00:00
Benjamin Kosnik
bc4f48d775 istream.tcc (basic_istream<_CharT, [...]): Fix typo.
2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
	operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
	Fix typo.

From-SVN: r40417
2001-03-12 18:30:29 +00:00
Peter Schmid
8f9995782e stl_hashtable.h: Change type of __n to size_t
2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/ext/stl_hashtable.h: Change type of __n to size_t
        * include/backward/bvector.h: Include <ext/stl_bvector.h>

From-SVN: r40416
2001-03-12 18:18:34 +00:00
Nathan Sidwell
78fe06c245 call.c (convert_like_real): Add extra semantics to INNER parameter.
cp:
	* call.c (convert_like_real): Add extra semantics to INNER
	parameter. Don't convert to temporary if a user conversion
	gives us an lvalue that we're about to bind to a reference.
	Set INNER to indicate pending reference binding on recursive
	calls.
testsuite:
	* g++.old-deja/g++.other/ref4.C: New test.

From-SVN: r40415
2001-03-12 15:43:52 +00:00
Jan Hubicka
99560e26f8 i386.md (trunctfdf2_2): Rename missnamed pattern.
* i386.md (trunctfdf2_2): Rename missnamed pattern.
	(*_one_bit): Remove type on the match_operand in attributes.

From-SVN: r40414
2001-03-12 15:34:59 +00:00
Jan Hubicka
3d117b3033 i386.c: Commit forgotten hunk in previous patch.
* i386.c: Commit forgotten hunk in previous patch.
	(regclass_map): Add extended registers.
	(dbx_register_map): Add missing frame register.

From-SVN: r40413
2001-03-12 15:31:51 +00:00
Jan Hubicka
1e07edd315 i386.md (all XFmode patterns except swapxf): Disable for 64bit.
* i386.md (all XFmode patterns except swapxf): Disable for 64bit.

	* i386.md (x86_sahf_1): Disable for 64bit.
	(popsi*, pophi*): Likewise.
	(pushqi, pushhi): Likewise.
	(movdi, pushdi): Likewise.
	(zero extend DImode splitter): Likewise.
	(adddi, minusdi splitter): Likewise.
	(umulsidi): Likewise.
	(umulsi): New.
	(mulsidi): Disable for 64bit
	(lshift:DI/ashift:DI): Disable for 64bit.
	(loop patterns): Likewise.
	(call_pop, call_value_pop expanders and patterns): Likewise.
	(prologue_get_pc): Likewise.
	(leave): Likewise.
	(fcmovDI pattern and splitter): Likewise.
	(movdfcc_1_rex64): New.

From-SVN: r40412
2001-03-12 14:44:52 +00:00
Jan Hubicka
d28362735b i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
* i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64.
	(MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64.
	(HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64.
	(STATIC_CHAIN_REGNUM): Set to r10 for x86_64.
	(PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64.
	(LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64.
	(SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes.
	(PUSH_ROUNDING): x86_64 rounds to 64bits.
	(CONSTANT_ADDRESS_P): Accept CONST_DOUBLE.
	(REGPARM_MAX): Set to 6 for x86_64.
	(SSE_REGPARM_MAX): Set to 16 for x86_64.
	* i386.c (hard_regno_mode_ok): QImodes can be in all general purpose
	registers.

	* (patterns that does use upper halves): Update constraints
	'q' to 'Q' and 'r' to 'R'.
	(cmpqi_ext_1): Disable for 64bit.
	(cmpqi_ext_3_insn): Likewise.
	(movqi_extzv_1): Likewsie.
	(addqi_ext_1): Liekwsie
	(testqi_ext_1): Liekwsie
	(andqi_ext_1): Liekwsie
	(xorqi_ext_1): Liekwsie
	(cmpqi_ext_1_rex64): New.
	(cmpqi_ext_3_insn_rex64): Likewise.
	(movqi_extzv_1_rex64): Likewsie.
	(addqi_ext_1_rex64): Liekwsie
	(testqi_ext_1_rex64): Liekwsie
	(andqi_ext_1_rex64): Liekwsie
	(xorqi_ext_1_rex64): Liekwsie

From-SVN: r40411
2001-03-12 14:18:57 +00:00
GCC Administrator
6336e96f4e Daily bump.
From-SVN: r40405
2001-03-12 08:16:09 +00:00
Bryce McKinlay
e52335a982 ExceptionInInitializerError.java (printStackTrace): Only try to print the subordinate stack trace if "exception" is set.
* java/lang/ExceptionInInitializerError.java (printStackTrace):
	Only try to print the subordinate stack trace if "exception" is set.
	Print our class name first.

From-SVN: r40404
2001-03-12 07:47:13 +00:00
Bryce McKinlay
456c0b60ad Runtime.java (_exit): Declare new package-private native.
2001-03-12  Bryce McKinlay  <bryce@albatross.co.nz>

	* java/lang/Runtime.java (_exit): Declare new package-private native.
	* java/lang/natRuntime.cc (_exit): Implemented. Same as exit() but
	without a security manager check.
	(exit): Call _exit after security check.
	* prims.cc (JvRunMain): Call Runtime._exit to shutdown the runtime
	"naturally".
	* java/lang/System.java (setSecurityManager): If a security manager
	is already in place, call checkPermission.
	* java/lang/ThreadGroup.java (uncaughtException): If printStackTrace()
	throws an exception, try to deal with it gracefully.
	* java/lang/ExceptionInInitializerError.java (printStackTrace):
	Only try to print the subordinate stack trace if "exception" is set.
	Print our class name first.

From-SVN: r40401
2001-03-12 07:40:17 +00:00
Zack Weinberg
9612ab65bd configure.in: Move check for unsigned enumerated bitfields to macro in aclocal.m4.
* configure.in: Move check for unsigned enumerated bitfields
	to macro in aclocal.m4.  Disable it for now.
	* configure, config.in: Regenerate.
	* system.h: Don't do anything with ONLY_INT_FIELDS.  Use the
	unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC.
	* varasm.c (struct rtx_const): Use ENUM_BITFIELD().  Move enum
	kind above its first use.

	* config/xm-interix.h, config/alpha/xm-alpha.h,
	config/i370/xm-linux.h, config/i386/xm-beos.h,
	config/i386/xm-mingw32.h, config/mips/xm-mips.h,
	config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
	config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h,
	Don't define ONLY_INT_FIELDS under any circumstances.

	* config/pa/xm-pa.h: Don't define __BSD_NET2__.

	* config/pa/xm-pahpux.h, config/pa/xm-papro.h,
	config/sparc/xm-sysv4.h: Delete - now identical with some
	other xm header.
	* config.gcc (hppa targets): Replace xm-pahpux.h and
	xm-papro.h with implicit xm-pa.h.
	(sparc targets): Replace xm-sysv4.h with implicit or explicit
	xm-sparc.h.

From-SVN: r40399
2001-03-12 06:31:41 +00:00
Ovidiu Predescu
533dfde023 va_method.m: Added.
2001-03-11  Nicola Pero <n.pero@mi.flashnet.it>

	* objc/execute/va_method.m: Added.
	* objc/execute/IMP.m: Added.
	* objc/execute/_cmd.m: Added.
	* objc/execute/accessing_ivars.m: Added.
	* objc/execute/class-1.m: Added.
	* objc/execute/class-10.m: Added.
	* objc/execute/class-11.m: Added.
	* objc/execute/class-12.m: Added.
	* objc/execute/class-13.m: Added.
	* objc/execute/class-14.m: Added.
	* objc/execute/class-2.m: Added.
	* objc/execute/class-3.m: Added.
	* objc/execute/class-4.m: Added.
	* objc/execute/class-5.m: Added.
	* objc/execute/class-6.m: Added.
	* objc/execute/class-7.m: Added.
	* objc/execute/class-8.m: Added.
	* objc/execute/class-9.m: Added.
	* objc/execute/class-tests-1.h
	* objc/execute/class-tests-2.h
	* objc/execute/compatibility_alias.m: Added.
	* objc/execute/encode-1.m: Added.
	* objc/execute/formal_protocol-1.m: Added.
	* objc/execute/formal_protocol-2.m: Added.
	* objc/execute/formal_protocol-3.m: Added.
	* objc/execute/formal_protocol-4.m: Added.
	* objc/execute/formal_protocol-5.m: Added.
	* objc/execute/formal_protocol-6.m: Added.
	* objc/execute/formal_protocol-7.m: Added.
	* objc/execute/informal_protocol.m: Added.
	* objc/execute/initialize.m: Added.
	* objc/execute/load.m: Added.
	* objc/execute/many_args_method.m: Added.
	* objc/execute/nested-3.m: Added.
	* objc/execute/no_clash.m: Added.
	* objc/execute/private.m: Added.
	* objc/execute/redefining_self.m: Added.
	* objc/execute/root_methods.m: Added.
	* objc/execute/selector-1.m: Added.
	* objc/execute/static-1.m: Added.
	* objc/execute/static-2.m: Added.
	* objc/execute/va_method.m: Added.

From-SVN: r40398
2001-03-12 06:26:40 +00:00
Ovidiu Predescu
5b57aeabb6 Added.
From-SVN: r40397
2001-03-12 06:24:50 +00:00
Aldy Hernandez
d5ae21aace Call reload_cse_simplify_set before reload_cse_noop_set_p
From-SVN: r40394
2001-03-12 04:30:56 +00:00
Zack Weinberg
190c4cb481 config.gcc: Where xm-host.h used to include another xm-host.h...
* config.gcc: Where xm-host.h used to include another
	xm-host.h, list the nested header directly in xm_file.  Remove
	references to deleted files.  Can now use sparc/xm-sp64.h for
	sparcv9-*-solaris*.

	* config/xm-linux.h, config/arm/xm-linux.h,
	config/i386/xm-dos.h, config/i386/xm-gnu.h,
	config/i386/xm-linux.h, config/i386/xm-openbsd.h,
	config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
	config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
	config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
	Delete.

	* config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
	* config/mips/xm-iris5.h: Don't include mips/xm-mips.h.  Don't
	bother to wrap #undef in #ifdef.
	* config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
	Don't include xm-linux.h.
	* config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.

	* configure.in: Wrap regexps using [] in changequote block.
	Use expr : not echo | grep.  Simplify regexps.
	* configure: Regenerate.

	56 xm-files remain, 22 xm-arch.

From-SVN: r40392
2001-03-12 03:29:54 +00:00
Kaveh R. Ghazi
45a647bee9 mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
* mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.
	(__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
	(local_index, local_rindex): Delete, use strchr/strrchr instead.
	(copy_object): Fix format specifier vs argument mismatch.

	* mips-tdump.c: Make local functions static.
	(rindex): Don't #undef.
	(__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead.
	(fatal, fancy_abort): Delete.
	(read_seek): Avoid signed/unsigned compare.

From-SVN: r40391
2001-03-12 02:37:56 +00:00
Richard Kenner
c7ca5912e3 combine.c (try_combine): Fix error in change to try original register.
* combine.c (try_combine): Fix error in change to try original
	register.
	(gen_rtx_combine): Do same as gen_rtx for now.

From-SVN: r40390
2001-03-11 17:08:12 -05:00
Zack Weinberg
3d9d247676 configure.in: AC_SUBST xm_defines.
* configure.in: AC_SUBST xm_defines.
	* configure: Regenerate.
	* Makefile.in: Set DEFINES=$(xm_defines) when building
	tconfig.h.

From-SVN: r40389
2001-03-11 21:19:11 +00:00
Neil Booth
b6464a73f5 cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
* cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete.
	(cpp_included, find_include_file): Update.
	(_cpp_compare_file_date): Make else unconditional.

From-SVN: r40388
2001-03-11 14:54:56 +00:00
GCC Administrator
a72ac6ef35 Daily bump.
From-SVN: r40387
2001-03-11 08:16:40 +00:00
Alexandre Oliva
79664856ef Added blank line.
From-SVN: r40385
2001-03-11 02:48:16 +00:00
Kaz Kojima
2cef831c12 * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
From-SVN: r40384
2001-03-11 02:24:17 +00:00
Toshiyasu Morita
e9a9e960c0 sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
* config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
* config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.

From-SVN: r40381
2001-03-11 02:16:40 +00:00
Ovidiu Predescu
2b9650f432 MAINTAINERS: Added Stan Shebs as new maintainer for Objective-C.
2001-03-10  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* MAINTAINERS: Added Stan Shebs as new maintainer for Objective-C.

From-SVN: r40380
2001-03-11 02:08:36 +00:00
Ovidiu Predescu
fad2d0334d Added Stan Shebs as new maintainer for Objective-C.
From-SVN: r40379
2001-03-11 02:08:07 +00:00
Richard Henderson
bb93785303 * g++.old-deja/g++.oliva/delete3.C (main): Catch the exception.
From-SVN: r40377
2001-03-10 17:56:54 -08:00
Alexandre Oliva
066c84df53 tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node if it's a record type.
* tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
if it's a record type.

From-SVN: r40376
2001-03-11 01:46:24 +00:00
Christopher Faylor
d4829a16b1 remove duplication.
From-SVN: r40374
2001-03-11 01:02:50 +00:00
Christopher Faylor
936ee79028 cygwin.h: Make ../w32api a system directory.
* config/i386/cygwin.h: Make ../w32api a system directory.  Reorganize mingw
includes slightly.

From-SVN: r40372
2001-03-11 00:12:12 +00:00
Kaveh R. Ghazi
8a0e5115f4 system.h (malloc, [...]): #undef token before poisoning it.
* system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
	#undef token before poisoning it.

From-SVN: r40371
2001-03-10 22:35:01 +00:00
Kaveh R. Ghazi
6439a1f204 alpha.c (check_float_value): Use memcpy, not bcopy.
* alpha.c (check_float_value): Use memcpy, not bcopy.

	* m32r.c (m32r_sched_reorder): Likewise.

	* vax.c (check_float_value): Likewise.

From-SVN: r40370
2001-03-10 21:45:40 +00:00
Neil Booth
b3e68a7922 toplev.c (file_name_nondirectory): Remove.
* toplev.c (file_name_nondirectory): Remove.
	* toplev.h: Similarly.
	* dwarf2out.c (compute_section_prefix): Use lbasename instead
	of file_name_nondirectory.
	* cp/lex.c: Delete duplicate pending_lang_change.
	* cp/lex.c (handle_pragma_interface, handle_pragma_implementation):
	Similarly.
	* cp/repo.c (get_base_filename, open_repo_file): Similarly.
	* cp/cp-tree.h: Remove file_name_nondirectory prototype.

From-SVN: r40369
2001-03-10 16:33:57 +00:00
Richard Kenner
ea23d5400f mips-tdump.c (read_seek): Call xmalloc, not malloc.
* mips-tdump.c (read_seek): Call xmalloc, not malloc.
	* mips-tfile.c: Don't #undef rindex; not used.

From-SVN: r40366
2001-03-10 10:36:25 -05:00
Jan Hubicka
0f7fa3d01f i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
* i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits.
	(dbx64_register_map): Declare.
	(RETURN_ADDR_RTX): Fix for 64bit.
	(DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit.
	(INCOMING_FRAME_SP_OFFSET): Set to 8.
	* i386.c (dbx64_register_map): New global array.
	* beos-elf.h, freebsd.h, i386-interix.h, i386elf.h,
	linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map
	for 64bits.

From-SVN: r40365
2001-03-10 13:36:26 +00:00
Neil Booth
2251fd7866 cppfiles.c (search_from): Use lbasename.
* cppfiles.c (search_from): Use lbasename.
	* mkdeps.c (deps_add_default_target): Use lbasename.

From-SVN: r40364
2001-03-10 10:43:52 +00:00
Neil Booth
2b757d5101 lbasename.c: New file.
* libiberty/lbasename.c: New file.
	* libiberty/Makefile.in: Update for lbasename.
	* include/libiberty.h: Add lbasename.

Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>

From-SVN: r40363
2001-03-10 10:41:25 +00:00
GCC Administrator
5ed3d577ed Daily bump.
From-SVN: r40362
2001-03-10 08:16:39 +00:00
Kaveh R. Ghazi
f4ce9d9067 server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of malloc, realloc & calloc.
* fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
	xcalloc in lieu of malloc, realloc & calloc.

	* gencheck.c (xmalloc): Use really_call_malloc, not malloc.

	* gengenrtl.c (xmalloc): Likewise.

	* gensupport.c (xcalloc, xrealloc, xmalloc): Use the
	really_call_* memory allocation routines.

	* stmt.c (check_for_full_enumeration_handling): Use
	really_call_calloc, not calloc.

	* system.h (really_call_malloc, really_call_calloc,
	really_call_realloc): Define.
	(malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison.

f:
	* fini.c (main): Use really_call_malloc, not malloc.

From-SVN: r40360
2001-03-10 04:20:03 +00:00
Jeffrey A Law
0eac29848b * pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
From-SVN: r40359
2001-03-09 18:37:39 -07:00