Commit Graph

34219 Commits

Author SHA1 Message Date
Andris Pavenis
fafcb5c937 ctype_noninline.h: Fix typo and remove duplicate definitions of __dj_ctype_*
2001-03-13  Andris Pavenis <pavenis@latnet.lv>

        * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
	duplicate definitions of __dj_ctype_*

From-SVN: r40444
2001-03-13 20:10:01 +00:00
Kaveh R. Ghazi
77b8455903 system.h (malloc, [...]): Only poison these tokens when IN_GCC is defined.
* system.h (malloc, realloc, calloc, strdup): Only poison these
	tokens when IN_GCC is defined.

From-SVN: r40443
2001-03-13 19:55:18 +00:00
Benjamin Kosnik
f68147f702 new: Remove pragma interface.
2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>

	* libsupc++/new: Remove pragma interface.
	* libsupc++/typeinfo: Same.
	* libsupc++/exception: Same.
	* libsupc++/new_handler.cc: Remove pragma implementation.
	(bad_alloc::~bad_alloc()): Add.
	* libsupc++/exception_support.cc: Same.
	(exception::~exception): Add.
	(bad_exception::~bad_exception): Add.
	* libsupc++/tinfo.cc: Same.
	(bad_cast::~bad_cast): Add.
	(bad_typeid::~bad_typeid): Add.

From-SVN: r40442
2001-03-13 19:32:00 +00:00
Phil Edwards
65aac28aa2 mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2001-03-13  Phil Edwards  <pme@sources.redhat.com>

	* mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.

From-SVN: r40441
2001-03-13 17:56:30 +00:00
Jan Hubicka
ca29d1dcff i386.md (abs?f expander): Support SSE case.
* i386.md (abs?f expander): Support SSE case.
	(abd?f_if): Add new "USE"; add splitters.

From-SVN: r40440
2001-03-13 13:40:09 +00:00
Kaveh R. Ghazi
bf4ab28167 * cpp.texi (poison): Explain the macro expansion exception.
From-SVN: r40438
2001-03-13 13:29:40 +00:00
Jakub Jelinek
e5408e5240 expr.c (store_expr): Add dont_store_target.
* expr.c (store_expr): Add dont_store_target.  If temp is already in
	target before copying to reg, don't store it into target again.

From-SVN: r40437
2001-03-13 13:09:31 +01:00
GCC Administrator
f76a40c8dc Daily bump.
From-SVN: r40435
2001-03-13 08:16:08 +00:00
Neil Booth
1198142ba6 * cppinternals.texi: Update for file handling.
From-SVN: r40432
2001-03-12 23:53:35 +00:00
Jeffrey Oldham
a84efb51f7 emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's 2001-02-24 which broke building the Java library.
2001-03-12  Jeffrey Oldham  <oldham@codesourcery.com>

	* emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's
	2001-02-24 which broke building the Java library.
	* function.c (identify_blocks): Likewise.
	(all_blocks): Likewise.
	* integrate.c (integrate_decl_tree): Likewise.
	* print-tree.c (print_node): Likewise.
	* tree.h (BLOCK_NUMBER): Likewise.
	(struct tree_block): Likewise.

From-SVN: r40431
2001-03-12 22:22:54 +00:00
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