Tom Tromey [Wed, 14 Mar 2001 18:32:51 +0000 (18:32 +0000)]
assignment.xfail: Removed.
* libjava.compile/assignment.xfail: Removed.
* libjava.compile/assignment_2.xfail: Removed.
From-SVN: r40463
Jan Hubicka [Wed, 14 Mar 2001 18:31:48 +0000 (19:31 +0100)]
* expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef.
From-SVN: r40462
Jakub Jelinek [Wed, 14 Mar 2001 17:59:03 +0000 (18:59 +0100)]
reg-stack.c (stack_result): Unconditionally use FUNCTION_OUTGOING_VALUE resp.
* reg-stack.c (stack_result): Unconditionally use
FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE.
* g++.old-deja/g++.other/regstack.C: New test.
From-SVN: r40457
Andrew Haley [Wed, 14 Mar 2001 15:49:06 +0000 (15:49 +0000)]
natThrowable.cc (printRawStackTrace): Copy the stackTrace buffer to a correctly aligned pointer array.
2001-03-01 Andrew Haley <aph@redhat.com>
* java/lang/natThrowable.cc (printRawStackTrace): Copy the
stackTrace buffer to a correctly aligned pointer array.
From-SVN: r40456
Jan Hubicka [Wed, 14 Mar 2001 15:38:55 +0000 (16:38 +0100)]
expr.c (emit_move_insn_1): Split push of complex value when no suitable push instruction exist.
* expr.c (emit_move_insn_1): Split push of complex value when
no suitable push instruction exist.
* i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P
instead of QI_REG_P.
From-SVN: r40454
GCC Administrator [Wed, 14 Mar 2001 08:16:47 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40453
Steve Ellcey [Wed, 14 Mar 2001 04:32:44 +0000 (04:32 +0000)]
ctype_base.h: Make ctype masks match HP-UX ctype.h header file.
* libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
match HP-UX ctype.h header file.
From-SVN: r40451
Richard Kenner [Wed, 14 Mar 2001 03:21:43 +0000 (03:21 +0000)]
alias.c (handled_component_p, [...]): New functions.
* alias.c (handled_component_p, can_address_p): New functions.
(get_alias_set): Use them.
From-SVN: r40449
Jim Wilson [Wed, 14 Mar 2001 02:29:02 +0000 (02:29 +0000)]
Fix reg-alloc error reported by Andreas Schwab to Trillian list.
* config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed
from 80 in try_locals code.
(ia64_expand_prologue): Add comment pointing to find_gr_spill change.
From-SVN: r40447
Zack Weinberg [Wed, 14 Mar 2001 00:58:32 +0000 (00:58 +0000)]
aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
gcc_AC_C_LONG_LONG): New.
* configure.in: Use them. Probe the size of short, int, long,
and long long/__int64 if we have them. Move all the AC_C_*
checks together, except gcc_AC_C_CHAR_BIT which has to go
after AC_CHECK_HEADERS(limits.h).
Take hwint.h out of host_xm_file and build_xm_file.
* hwint.h: Unconditionally define HOST_BITS_PER_CHAR,
HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG,
and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT.
Move the HOST_WIDEST_INT setup logic here from system.h.
Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not
defined.
* system.h: Include hwint.h after limits.h. HOST_WIDEST_INT
is now handled by hwint.h.
* config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h,
config/c4x/xm-c4x.h, config/i370/xm-oe.h,
config/ia64/xm-ia64.h: Don't define any of:
HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT,
HOST_BITS_PER_LONGLONG.
* config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/mips/iris6.h,
config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h,
config/sparc/xm-sp64.h: Delete.
* config.gcc: Remove references to deleted files.
* config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define
HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT.
* config/i370/xm-linux.h: Clarify floating-point situation in
a comment.
From-SVN: r40446
Neil Booth [Tue, 13 Mar 2001 23:55:10 +0000 (23:55 +0000)]
cppfiles.c (NO_INCLUDE_PATH): New macro.
* cppfiles.c (NO_INCLUDE_PATH): New macro.
(find_include_file): Decide here which part of the include
chain to start the search. Complain about an empty include
chain in all cases apart from an abolsute file name.
(_cpp_execute_include): Don't choose the search chain here.
Don't call handle_missing_include in the case of an empty
include chain.
(_cpp_compare_file_date): Don't choose the search chain here.
* cpplib.c (do_include_next): Move the in-main-file diagnostic
here from _cpp_execute_include. Behave like #include if
we're in the main file.
From-SVN: r40445
Andris Pavenis [Tue, 13 Mar 2001 20:10:01 +0000 (22:10 +0200)]
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
Kaveh R. Ghazi [Tue, 13 Mar 2001 19:55:18 +0000 (19:55 +0000)]
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
Benjamin Kosnik [Tue, 13 Mar 2001 19:32:00 +0000 (19:32 +0000)]
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
Phil Edwards [Tue, 13 Mar 2001 17:56:30 +0000 (17:56 +0000)]
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
Jan Hubicka [Tue, 13 Mar 2001 13:40:09 +0000 (14:40 +0100)]
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
Kaveh R. Ghazi [Tue, 13 Mar 2001 13:29:40 +0000 (13:29 +0000)]
* cpp.texi (poison): Explain the macro expansion exception.
From-SVN: r40438
Jakub Jelinek [Tue, 13 Mar 2001 12:09:31 +0000 (13:09 +0100)]
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
GCC Administrator [Tue, 13 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40435
Neil Booth [Mon, 12 Mar 2001 23:53:35 +0000 (23:53 +0000)]
* cppinternals.texi: Update for file handling.
From-SVN: r40432
Jeffrey Oldham [Mon, 12 Mar 2001 22:22:54 +0000 (22:22 +0000)]
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
Felix Lee [Mon, 12 Mar 2001 21:52:29 +0000 (21:52 +0000)]
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
Benjamin Kosnik [Mon, 12 Mar 2001 21:42:57 +0000 (21:42 +0000)]
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
David Edelsohn [Mon, 12 Mar 2001 21:27:54 +0000 (21:27 +0000)]
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
Richard Kenner [Mon, 12 Mar 2001 20:40:51 +0000 (15:40 -0500)]
Fix typo
From-SVN: r40426
Benjamin Kosnik [Mon, 12 Mar 2001 19:58:04 +0000 (19:58 +0000)]
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
Neil Booth [Mon, 12 Mar 2001 19:33:08 +0000 (19:33 +0000)]
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
Rodney Brown [Mon, 12 Mar 2001 19:21:29 +0000 (19:21 +0000)]
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
Jeffrey Oldham [Mon, 12 Mar 2001 19:11:39 +0000 (19:11 +0000)]
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
Richard Kenner [Mon, 12 Mar 2001 19:09:57 +0000 (19:09 +0000)]
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
Neil Booth [Mon, 12 Mar 2001 19:01:35 +0000 (19:01 +0000)]
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
Craig Rodrigues [Mon, 12 Mar 2001 18:49:33 +0000 (18:49 +0000)]
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
Benjamin Kosnik [Mon, 12 Mar 2001 18:30:29 +0000 (18:30 +0000)]
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
Peter Schmid [Mon, 12 Mar 2001 18:18:34 +0000 (18:18 +0000)]
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
Nathan Sidwell [Mon, 12 Mar 2001 15:43:52 +0000 (15:43 +0000)]
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
Jan Hubicka [Mon, 12 Mar 2001 15:34:59 +0000 (15:34 +0000)]
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
Jan Hubicka [Mon, 12 Mar 2001 15:31:51 +0000 (16:31 +0100)]
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
Jan Hubicka [Mon, 12 Mar 2001 14:44:52 +0000 (15:44 +0100)]
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
Jan Hubicka [Mon, 12 Mar 2001 14:18:57 +0000 (15:18 +0100)]
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
GCC Administrator [Mon, 12 Mar 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40405
Bryce McKinlay [Mon, 12 Mar 2001 07:47:13 +0000 (07:47 +0000)]
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
Bryce McKinlay [Mon, 12 Mar 2001 07:40:17 +0000 (07:40 +0000)]
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
Zack Weinberg [Mon, 12 Mar 2001 06:31:41 +0000 (06:31 +0000)]
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
Ovidiu Predescu [Mon, 12 Mar 2001 06:26:40 +0000 (06:26 +0000)]
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
Ovidiu Predescu [Mon, 12 Mar 2001 06:24:50 +0000 (06:24 +0000)]
Added.
From-SVN: r40397
Aldy Hernandez [Mon, 12 Mar 2001 04:30:56 +0000 (04:30 +0000)]
Call reload_cse_simplify_set before reload_cse_noop_set_p
From-SVN: r40394
Zack Weinberg [Mon, 12 Mar 2001 03:29:54 +0000 (03:29 +0000)]
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
Kaveh R. Ghazi [Mon, 12 Mar 2001 02:37:56 +0000 (02:37 +0000)]
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
Richard Kenner [Sun, 11 Mar 2001 22:08:12 +0000 (22:08 +0000)]
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
Zack Weinberg [Sun, 11 Mar 2001 21:19:11 +0000 (21:19 +0000)]
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
Neil Booth [Sun, 11 Mar 2001 14:54:56 +0000 (14:54 +0000)]
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
GCC Administrator [Sun, 11 Mar 2001 08:16:40 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40387
Alexandre Oliva [Sun, 11 Mar 2001 02:48:16 +0000 (02:48 +0000)]
Added blank line.
From-SVN: r40385
Kaz Kojima [Sun, 11 Mar 2001 02:24:17 +0000 (02:24 +0000)]
* config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined.
From-SVN: r40384
Toshiyasu Morita [Sun, 11 Mar 2001 02:16:40 +0000 (02:16 +0000)]
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
Ovidiu Predescu [Sun, 11 Mar 2001 02:08:36 +0000 (02:08 +0000)]
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
Ovidiu Predescu [Sun, 11 Mar 2001 02:08:07 +0000 (02:08 +0000)]
Added Stan Shebs as new maintainer for Objective-C.
From-SVN: r40379
Richard Henderson [Sun, 11 Mar 2001 01:56:54 +0000 (17:56 -0800)]
* g++.old-deja/g++.oliva/delete3.C (main): Catch the exception.
From-SVN: r40377
Alexandre Oliva [Sun, 11 Mar 2001 01:46:24 +0000 (01:46 +0000)]
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
Christopher Faylor [Sun, 11 Mar 2001 01:02:50 +0000 (01:02 +0000)]
remove duplication.
From-SVN: r40374
Christopher Faylor [Sun, 11 Mar 2001 00:12:12 +0000 (00:12 +0000)]
cygwin.h: Make ../w32api a system directory.
* config/i386/cygwin.h: Make ../w32api a system directory. Reorganize mingw
includes slightly.
From-SVN: r40372
Kaveh R. Ghazi [Sat, 10 Mar 2001 22:35:01 +0000 (22:35 +0000)]
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
Kaveh R. Ghazi [Sat, 10 Mar 2001 21:45:40 +0000 (21:45 +0000)]
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
Neil Booth [Sat, 10 Mar 2001 16:33:57 +0000 (16:33 +0000)]
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
Richard Kenner [Sat, 10 Mar 2001 15:36:25 +0000 (15:36 +0000)]
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
Jan Hubicka [Sat, 10 Mar 2001 13:36:26 +0000 (14:36 +0100)]
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
Neil Booth [Sat, 10 Mar 2001 10:43:52 +0000 (10:43 +0000)]
cppfiles.c (search_from): Use lbasename.
* cppfiles.c (search_from): Use lbasename.
* mkdeps.c (deps_add_default_target): Use lbasename.
From-SVN: r40364
Neil Booth [Sat, 10 Mar 2001 10:41:25 +0000 (10:41 +0000)]
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
GCC Administrator [Sat, 10 Mar 2001 08:16:39 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40362
Kaveh R. Ghazi [Sat, 10 Mar 2001 04:20:03 +0000 (04:20 +0000)]
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
Jeffrey A Law [Sat, 10 Mar 2001 01:37:39 +0000 (01:37 +0000)]
* pa.md (builtin_longjmp): Rework slightly to work for PA64 too.
From-SVN: r40359
Benjamin Kosnik [Sat, 10 Mar 2001 01:36:23 +0000 (01:36 +0000)]
[multiple changes]
2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
Use streamsize, not int_type.
2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/streambuf.cc (test06): New test, disabled at the
moment.
From-SVN: r40358
Nicola Pero [Sat, 10 Mar 2001 00:20:21 +0000 (01:20 +0100)]
configure.in: Only use `lang_requires' for languages athat are actually enabled.
2001-03-09 Nicola Pero <n.pero@mi.flashnet.it>
* configure.in: Only use `lang_requires' for languages athat are
actually enabled.
From-SVN: r40356
Nicola Pero [Sat, 10 Mar 2001 00:19:37 +0000 (01:19 +0100)]
configure: Rebuilt.
2001-03-09 Nicola Pero <n.pero@mi.flashnet.it>
* configure: Rebuilt.
* configure.in: Only use `lang_requires' for languages athat are
actually enabled.
From-SVN: r40355
Joseph Myers [Sat, 10 Mar 2001 00:08:50 +0000 (00:08 +0000)]
crontab, [...]: New files (as currently used by gccadmin).
* crontab, doc_exclude, update_branch_version, update_version,
update_web_docs: New files (as currently used by gccadmin).
* README: New file.
From-SVN: r40352
Joseph Myers [Fri, 9 Mar 2001 21:57:48 +0000 (21:57 +0000)]
invoke.texi: Fix typo.
* invoke.texi: Fix typo.
* gcc.1: Regenerate.
From-SVN: r40351
Zack Weinberg [Fri, 9 Mar 2001 20:53:56 +0000 (20:53 +0000)]
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
Jan Hubicka [Fri, 9 Mar 2001 19:09:21 +0000 (20:09 +0100)]
i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp independent on TARGET_FLAGS.
* i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp
independent on TARGET_FLAGS.
From-SVN: r40349
Jan Hubicka [Fri, 9 Mar 2001 18:55:27 +0000 (19:55 +0100)]
i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
* i386.h (FIRST_PSEUDO_REGISTER): Set to 53.
(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add extended ones.
(CONDITIONAL_REGISTER_USAGE): Set proper values according to TARGET_64BIT.
(FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG, LAST_REX_SSE_REG):
define.
(enum reg_class): Add 'LEGACY_REGS'
(REG_CLASS_CONTENTS): Likewise; add extended registers.
(SSE_REGNO_P): Recognize extended registers.
(ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New.
(REG_CLASS_FROM_LETTER): Add 'R' and 'Q'.
(REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_NONSTRICT_P):
Recognize REX registers.
(REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P,
REG_OK_FOR_STRREG_P): Remove.
(HI_REGISTER_NAMES): Add extended registers.
(ADDITIONAL_REGISTER_NAMES): Likewise.
(QI_REGISTER_NAMES): Add 8bit extended registers.
(DEBUG_REG): Support extended registers.
* i386.c (regclass_map): Add extended registers.
(dbx_register-map): Likewise.
(svr4_dbx_register_map): Likewise.
(print_reg): Support extended registers.
(print_operand): Support 64bit operands.
From-SVN: r40348
Jan Hubicka [Fri, 9 Mar 2001 18:45:59 +0000 (19:45 +0100)]
i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64 (BOOL_TYPE_SIZE...
* i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64
(BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants.
(BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY,
STACK_BOUNDARY): Set properly for 64bits.
(MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants.
(EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD.
(BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits.
(MOVE_MAX): Set to 16.
(MOVE_MAX_PIECES): 8 for 64bit.
(Pmode): Set to SImode.
From-SVN: r40347
Mike Stump [Fri, 9 Mar 2001 17:03:46 +0000 (17:03 +0000)]
* cselib.c (hash_rtx): Ensure that hash isn't zero upon return.
From-SVN: r40346
Jan Hubicka [Fri, 9 Mar 2001 16:40:43 +0000 (17:40 +0100)]
i386.h (MASK_64BIT): New constant.
* i386.h (MASK_64BIT): New constant.
(TARGET_64BIT): New macro.
(TARGET_OPTIONS): Add '64'/'32'
(TARGET_DEFAULT): Define.
* cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h isccoff.h
netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h unix.h win32.h
(TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT.
From-SVN: r40345
GCC Administrator [Fri, 9 Mar 2001 08:16:38 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40344
Jeffrey A Law [Fri, 9 Mar 2001 06:35:00 +0000 (06:35 +0000)]
* config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable.
From-SVN: r40342
John Wehle [Fri, 9 Mar 2001 06:28:21 +0000 (06:28 +0000)]
rtlanal.c (rtx_varies_p): Check operand 0 of a LO_SUM unless for_alias is set.
* rtlanal.c (rtx_varies_p): Check operand 0 of a
LO_SUM unless for_alias is set.
From-SVN: r40340
Stan Shebs [Fri, 9 Mar 2001 03:27:41 +0000 (03:27 +0000)]
objc-act.c: Fix old typos in comments, add comments for various functions.
* objc/objc-act.c: Fix old typos in comments, add comments for
various functions.
(hash_init): Fix file name in error message.
(hash_enter): Ditto.
(hash_add_attr): Ditto.
(continue_class): Ditto.
From-SVN: r40338
Tom Tromey [Fri, 9 Mar 2001 01:35:54 +0000 (01:35 +0000)]
re PR libgcj/1971 (ObjectOutputStream generates incorrect serialVersionUID's for array classes)
* java/io/ObjectStreamClass.java (setUID): Don't write interface
info for array classes.
Fixes PR libgcj/1971.
From-SVN: r40337
Stan Shebs [Thu, 8 Mar 2001 23:48:17 +0000 (23:48 +0000)]
Tweak date for accuracy
From-SVN: r40335
Stan Shebs [Thu, 8 Mar 2001 23:47:06 +0000 (23:47 +0000)]
* cp-tree.h (set_identifier_local_value): Remove unused decl.
From-SVN: r40334
Bruce Korb [Thu, 8 Mar 2001 23:33:58 +0000 (23:33 +0000)]
back out the 3-0 branch version
From-SVN: r40332
Bruce Korb [Thu, 8 Mar 2001 23:31:04 +0000 (23:31 +0000)]
fix SIGCHLD handling
[[Split portion of a mixed commit.]]
From-SVN: r40331.2
Bruce Korb [Thu, 8 Mar 2001 23:26:14 +0000 (23:26 +0000)]
fix SIGCHLD handling
From-SVN: r40330
Phil Edwards [Thu, 8 Mar 2001 21:50:26 +0000 (21:50 +0000)]
MAINTAINERS (C++ runtime libs): Update and alphabatize.
2001-03-08 Phil Edwards <pme@sources.redhat.com>
* MAINTAINERS (C++ runtime libs): Update and alphabatize.
From-SVN: r40329
Rainer Orth [Thu, 8 Mar 2001 21:41:36 +0000 (21:41 +0000)]
HTML typos and avoid standards.h breakage
From-SVN: r40327
Richard Henderson [Thu, 8 Mar 2001 19:36:21 +0000 (11:36 -0800)]
configure.in (HAVE_AS_LEB128): New assembler check.
* configure.in (HAVE_AS_LEB128): New assembler check.
* configure, config.in: Rebuilt.
From-SVN: r40326
Jan Hubicka [Thu, 8 Mar 2001 19:09:03 +0000 (20:09 +0100)]
reg-stack.c (move_for_stack_reg): Avoid non-poping fst for TFmode too.
* reg-stack.c (move_for_stack_reg): Avoid non-poping fst for
TFmode too.
From-SVN: r40325
Kaveh R. Ghazi [Thu, 8 Mar 2001 18:53:26 +0000 (18:53 +0000)]
xm-pc532-min.h, xm-we32k.h: Delete references to the MAXPATHLEN macro.
* config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete
references to the MAXPATHLEN macro.
* config/alpha/xm-alpha.h, config/arm/xm-arm.h,
config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to
the POSIX macro.
* config/i386/xm-gnu.h, config/xm-gnu.h,
config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h,
config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h,
config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty
and/or unused files.
* config.gcc: Define POSIX in xm_defines as appropriate in lieu of
doing so in various xm-*.h files.
f:
* com.c: Don't rely on the POSIX macro to define autoconf stuff.
From-SVN: r40323
Andreas Schwab [Thu, 8 Mar 2001 17:38:49 +0000 (17:38 +0000)]
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test command.
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
command.
* aclocal.m4, configure: Regenerated.
From-SVN: r40321
Richard Kenner [Thu, 8 Mar 2001 11:33:06 +0000 (11:33 +0000)]
* config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs.
From-SVN: r40319
GCC Administrator [Thu, 8 Mar 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r40317