David Edelsohn [Sun, 29 Sep 2002 21:23:45 +0000 (21:23 +0000)]
real.h (ibm_extended_format): Declare.
* real.h (ibm_extended_format): Declare.
* real.c (encode_ibm_extended, decode_ibm_extended): New
functions.
From-SVN: r57633
Kaveh R. Ghazi [Sun, 29 Sep 2002 19:55:08 +0000 (19:55 +0000)]
darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
* darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
* ia64.c (ia64_hpux_asm_file_end): Const-ify.
From-SVN: r57632
Nathan Sidwell [Sun, 29 Sep 2002 18:27:02 +0000 (18:27 +0000)]
re PR c++/7788 (g++-3.2 internal error: Segmentation fault)
cp:
PR c++/7788
* rtti.c (unemitted_tinfo_decl_p): Check it has a field.
testsuite:
* g++.dg/rtti/crash1.C: New test.
From-SVN: r57630
John David Anglin [Sun, 29 Sep 2002 18:25:20 +0000 (18:25 +0000)]
* expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
From-SVN: r57629
Hans-Peter Nilsson [Sun, 29 Sep 2002 18:16:15 +0000 (18:16 +0000)]
sibcall-1.c, [...]: New tests.
* gcc.dg/sibcall-1.c, gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c,
gcc.dg/sibcall-4.c: New tests.
From-SVN: r57628
Richard Earnshaw [Sun, 29 Sep 2002 18:08:58 +0000 (18:08 +0000)]
* src/arm/sysv.S: Fix typo.
From-SVN: r57627
Nathanael Nerode [Sun, 29 Sep 2002 16:11:24 +0000 (16:11 +0000)]
configure: Revert accidentally applied changes.
2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
* configure: Revert accidentally applied changes.
From-SVN: r57626
Nathanael Nerode [Sun, 29 Sep 2002 15:53:23 +0000 (15:53 +0000)]
Makefile.tpl: Make more autoconf-friendly.
2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Make more autoconf-friendly.
* Makefile.in: Regenerate.
* configure: Make substitution more autoconf-like.
From-SVN: r57625
Kazu Hirata [Sun, 29 Sep 2002 13:16:44 +0000 (13:16 +0000)]
builtins.def: Fix comment formatting.
* builtins.def: Fix comment formatting.
* c-common.def: Likewise.
* cfgcleanup.c: Likewise.
* combine.c: Likewise.
* gengtype.c: Likewise.
* params.def: Likewise.
* predict.def: Likewise.
* rtl.def: Likewise.
* stab.def: Likewise.
* stor-layout.c: Likewise.
* tree.def: Likewise.
* config/darwin.c: Likewise.
* config/darwin.h: Likewise.
* config/dbxcoff.h: Likewise.
* config/elfos.h: Likewise.
* config/fp-bit.c: Likewise.
* config/freebsd-spec.h: Likewise.
* config/interix.h: Likewise.
* config/libgloss.h: Likewise.
* config/linux-aout.h: Likewise.
* config/linux.h: Likewise.
* config/lynx-ng.h: Likewise.
* config/lynx.h: Likewise.
* config/netbsd-aout.h: Likewise.
* config/netbsd.h: Likewise.
* config/netware.h: Likewise.
* config/psos.h: Likewise.
* config/ptx4.h: Likewise.
From-SVN: r57624
Kazu Hirata [Sun, 29 Sep 2002 11:53:49 +0000 (11:53 +0000)]
cp-tree.h: Fix comment typos.
* cp-tree.h: Fix comment typos.
* decl.c: Likewise.
* pt.c: Likewise.
From-SVN: r57623
GCC Administrator [Sun, 29 Sep 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57622
Roger Sayle [Sat, 28 Sep 2002 17:58:27 +0000 (17:58 +0000)]
20020720-1.x: No longer skip test on powerpc and MMIX targets.
* gcc.c-torture/execute/
20020720-1.x: No longer skip test on
powerpc and MMIX targets.
From-SVN: r57616
Kazu Hirata [Sat, 28 Sep 2002 15:29:45 +0000 (15:29 +0000)]
ChangeLog.4: Fix typos.
* ChangeLog.4: Fix typos.
* ChangeLog.6: Likewise.
* FSFChangeLog.10: Likewise.
* genattrtab.c: Fix comment typos.
* haifa-sched.c: Likewise.
* real.c: Likewise.
* tree.h: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/crti.asm: Likewise.
* config/arm/crtn.asm: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.md: Likewise.
* config/h8300/h8300.md: Likewise.
* config/i386/rtemself.h: Likewise.
* config/ia64/unwind-ia64.c: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/m88k/m88k.c: Likewise.
* config/m88k/m88k.md: Likewise.
* config/mips/sr71k.md: Likewise.
* config/mmix/mmix.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/sh/sh.md: Likewise.
From-SVN: r57614
Theodore A. Roth [Sat, 28 Sep 2002 14:14:12 +0000 (14:14 +0000)]
avr.c: Eliminate use of _PC_ in pc relative insns.
* config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
* config/avr/avr.md: Ditto.
From-SVN: r57613
Richard Earnshaw [Sat, 28 Sep 2002 12:19:19 +0000 (12:19 +0000)]
configure.in (arm-*-coff, [...]): Use a single entry to handle all these.
* configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a
single entry to handle all these.
(arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise. Also enable
libjava on arm-*-elf.
From-SVN: r57612
Richard Earnshaw [Sat, 28 Sep 2002 12:15:18 +0000 (12:15 +0000)]
configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with a single configuration.
* configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
a single configuration.
From-SVN: r57611
Richard Earnshaw [Sat, 28 Sep 2002 12:12:36 +0000 (12:12 +0000)]
gcconfig.h: Don't check for __XSCALE__.
* include/private/gcconfig.h: Don't check for __XSCALE__. Instead
check for __arm__ or __thumb__.
From-SVN: r57610
Richard Earnshaw [Sat, 28 Sep 2002 12:09:27 +0000 (12:09 +0000)]
sysv.S: If we don't have machine/asm.h and the pre-processor has defined...
* src/arm/sysv.S: If we don't have machine/asm.h and the pre-processor
has defined __USER_LABEL_PREFIX__, then use it in CNAME.
(ffi_call_SYSV): Handle soft-float.
From-SVN: r57609
GCC Administrator [Sat, 28 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57608
Geoffrey Keating [Sat, 28 Sep 2002 01:43:37 +0000 (01:43 +0000)]
configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the things that depend on them.
* configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
things that depend on them.
From-SVN: r57602
Zack Weinberg [Sat, 28 Sep 2002 00:30:37 +0000 (00:30 +0000)]
re PR preprocessor/8055 (PATCH: cpp0 dies with SIG11 when building FreeBSD kernel)
2002-09-27 Alexander N. Kabaev <ak03@gte.com>
PR preprocessor/8055
* cppmacro.c (stringify_arg): Do not overflow the buffer
with the terminating NUL when the argument to be stringified
has no tokens.
* testsuite/gcc.dg/cpp/
20020927-1.c: New.
From-SVN: r57599
Paolo Carlini [Fri, 27 Sep 2002 23:08:22 +0000 (01:08 +0200)]
locale_facets.tcc (num_put::_M_widen_int): Deal correctly with grouped, showbased (oct or hex) zero.
2002-09-27 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Deal correctly with grouped, showbased (oct or hex) zero.
* testsuite/22_locale/num_put_members_char.cc: Add test05.
* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
From-SVN: r57598
Richard Henderson [Fri, 27 Sep 2002 22:59:29 +0000 (15:59 -0700)]
Fix comment typo.
From-SVN: r57597
Richard Henderson [Fri, 27 Sep 2002 22:41:07 +0000 (15:41 -0700)]
unroll.c (simplify_cmp_and_jump_insns): New.
* unroll.c (simplify_cmp_and_jump_insns): New.
(unroll_loop): Use it. Use simplify_gen_foo+force_operand
instead of expand_simple_foo.
From-SVN: r57596
Richard Henderson [Fri, 27 Sep 2002 22:39:28 +0000 (15:39 -0700)]
std_limits.h (numeric_limits<T>::is_iec559): False if denormals are not supported.
* include/std/std_limits.h (numeric_limits<T>::is_iec559): False
if denormals are not supported.
From-SVN: r57595
Richard Henderson [Fri, 27 Sep 2002 22:39:08 +0000 (15:39 -0700)]
* config/os/hpux/cpu_limits.h: Remove.
From-SVN: r57594
Richard Henderson [Fri, 27 Sep 2002 21:39:11 +0000 (14:39 -0700)]
re PR rtl-optimization/7520 (internal compiler error in verify_local_live_at_start)
PR optimization/7520
* cfganal.c (flow_active_insn_p): New.
(forwarder_block_p): Use it.
From-SVN: r57593
Ulrich Weigand [Fri, 27 Sep 2002 20:40:06 +0000 (20:40 +0000)]
gcconfig: Add machine type S390.
* include/private/gcconfig: Add machine type S390. Add s390x support.
* include/private/gc_locks.h (GC_test_and_set): Implement for s390.
(GC_compare_and_exchange): Likewise.
From-SVN: r57592
Andrew Haley [Fri, 27 Sep 2002 18:27:44 +0000 (18:27 +0000)]
expr.c (build_java_array_length_access): Check for null pointer.
2002-09-26 Andrew Haley <aph@redhat.com>
* expr.c (build_java_array_length_access): Check for null pointer.
* expr.c (expand_java_arrayload): Likewise.
From-SVN: r57591
Richard Henderson [Fri, 27 Sep 2002 16:17:33 +0000 (09:17 -0700)]
* emit-rtl.c (active_insn_p): Revert last change.
From-SVN: r57590
Bo Thorsen [Fri, 27 Sep 2002 14:37:23 +0000 (14:37 +0000)]
ffi.h.in: Fix multilib x86-64 support.
2002-09-27 Bo Thorsen <bo@suse.de>
* include/ffi.h.in: Fix multilib x86-64 support.
From-SVN: r57589
Jakub Jelinek [Fri, 27 Sep 2002 13:30:10 +0000 (15:30 +0200)]
extend.texi (tls_model): Document.
* doc/extend.texi (tls_model): Document.
* varasm.c (decl_tls_model): New.
* c-common.c (handle_tls_model_attribute): New.
(c_common_attribute_table): Add tls_model.
* config/alpha/alpha.c (alpha_encode_section_info): Use
decl_tls_model.
* flags.h (enum tls_model, flag_tls_default): Move...
* tree.h (enum tls_model, flag_tls_default): ...here.
(decl_tls_model): New prototype.
* config/ia64/ia64.c (ia64_encode_section_info): Likewise.
* config/i386/i386.c (ix86_encode_section_info): Likewise.
* config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
Allow !flag_pic.
From-SVN: r57588
Kazu Hirata [Fri, 27 Sep 2002 12:48:07 +0000 (12:48 +0000)]
LANGUAGES: Follow spelling conventions.
* LANGUAGES: Follow spelling conventions.
* rtl.def: Likewise.
* sbitmap.c: Likewise.
* sched-int.h: Likewise.
* sched-rgn.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* stab.def: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* target.h: Likewise.
* timevar.c: Likewise.
* toplev.c: Likewise.
* tree-dump.c: Likewise.
* tree-inline.c: Likewise.
* tree.c: Likewise.
* tree.def: Likewise.
* tree.h: Likewise.
* unroll.c: Likewise.
* varasm.c: Likewise.
* vmsdbgout.c: Likewise.
* treelang/treelang.texi: Likewise.
* treelang/treetree.c: Likewise.
From-SVN: r57587
Kazu Hirata [Fri, 27 Sep 2002 12:37:15 +0000 (12:37 +0000)]
h8300.c (compute_saved_regs): Use a macro instead of a hard register number.
* config/h8300/h8300.c (compute_saved_regs): Use a macro
instead of a hard register number.
(get_shift_alg): Use an enumerated type instead of numbers.
(h8300_shift_needs_scratch_p): Likewise.
From-SVN: r57586
GCC Administrator [Fri, 27 Sep 2002 07:18:01 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r57585
David S. Miller [Fri, 27 Sep 2002 04:14:12 +0000 (21:14 -0700)]
trunctfdf.c: New.
2002-09-26 David S. Miller <davem@redhat.com>
* gcc.c-torture/compile/trunctfdf.c: New.
From-SVN: r57577
David S. Miller [Fri, 27 Sep 2002 04:12:51 +0000 (21:12 -0700)]
re PR rtl-optimization/7335 (Sparc: ICE in verify_wide_reg (flow.c:557) with long double and optimization)
2002-09-26 David S. Miller <davem@redhat.com>
PR optimization/7335
* calls.c (emit_library_call_value_1): Passing args by reference
converts a CONST function into a PURE one.
From-SVN: r57576
David Edelsohn [Fri, 27 Sep 2002 03:08:38 +0000 (03:08 +0000)]
dbxout.c (FORCE_TEXT): Switch to current_function_decl, not text_section.
2002-09-26 David Edelsohn <edelsohn@gnu.org>
* dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
text_section.
* xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
text section.
* config/rs6000/rs6000.c (rs6000_override_options): Allow
function-sections and data-sections functionality on AIX.
2002-09-26 David Edelsohn <edelsohn@gnu.org>
Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
in RTL for sub-word loads from memory.
Co-Authored-By: Dale Johannesen <dalej@apple.com>
From-SVN: r57572
Kaveh R. Ghazi [Fri, 27 Sep 2002 02:14:12 +0000 (02:14 +0000)]
* lib/target-supports.exp (check_weak_available): Handle solaris2.
From-SVN: r57571
Richard Henderson [Fri, 27 Sep 2002 01:07:52 +0000 (18:07 -0700)]
sched-deps.c (sched_analyze_insn): Make clobber insns depend on call insns.
* sched-deps.c (sched_analyze_insn): Make clobber insns depend
on call insns.
* gcc.c-torture/compile/
20020926-1.c: New.
From-SVN: r57566
Richard Henderson [Fri, 27 Sep 2002 00:51:58 +0000 (17:51 -0700)]
* emit-rtl.c (const_double_htab_eq): Remove unused variable.
From-SVN: r57565
Chris Lattner [Fri, 27 Sep 2002 00:50:50 +0000 (00:50 +0000)]
ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when handling undefined values.
* ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
handling undefined values.
From-SVN: r57564
Richard Henderson [Fri, 27 Sep 2002 00:28:54 +0000 (17:28 -0700)]
Mark PR.
From-SVN: r57562
Richard Henderson [Fri, 27 Sep 2002 00:28:20 +0000 (17:28 -0700)]
emit-rtl.c (active_insn_p): Consider a clobber of the function return value to be active even after reload.
* emit-rtl.c (active_insn_p): Consider a clobber of the
function return value to be active even after reload.
From-SVN: r57561
Alan Modra [Thu, 26 Sep 2002 23:05:57 +0000 (23:05 +0000)]
* gcc.c-torture/execute/loop-15.c: New.
From-SVN: r57557
Alan Modra [Thu, 26 Sep 2002 23:01:31 +0000 (23:01 +0000)]
doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop increment, not loop increment.
* doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
by absolute loop increment, not loop increment.
From-SVN: r57556
Kazu Hirata [Thu, 26 Sep 2002 22:25:14 +0000 (22:25 +0000)]
c-common.h: Follow spelling conventions.
* c-common.h: Follow spelling conventions.
* cpplex.c: Likewise.
* cpplib.h: Likewise.
* gthr-dce.h: Likewise.
* gthr-posix.h: Likewise.
* optabs.c: Likewise.
* output.h: Likewise.
* profile.c: Likewise.
* protoize.c: Likewise.
* ra-rewrite.c: Likewise.
* real.c: Likewise.
* recog.c: Likewise.
* reg-stack.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* reload.c: Likewise.
* reload.h: Likewise.
* reload1.c: Likewise.
* reorg.c: Likewise.
* resource.c: Likewise.
* rtl.h: Likewise.
* rtlanal.c: Likewise.
From-SVN: r57555
Steve Ellcey [Thu, 26 Sep 2002 21:50:42 +0000 (21:50 +0000)]
ia64.c (ia64_expand_load_address): Ensure correct mode for symbol address.
* config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
for symbol address.
From-SVN: r57554
Eric Christopher [Thu, 26 Sep 2002 21:42:52 +0000 (21:42 +0000)]
elf.h: Add HANDLE_SYSV_PRAGMA.
2002-09-24 Eric Christopher <echristo@redhat.com>
* config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
* config/mips/elf64.h: Ditto.
From-SVN: r57553
Eric Christopher [Thu, 26 Sep 2002 21:39:14 +0000 (21:39 +0000)]
except.c (expand_builtin_extract_return_address): Handle case where Pmode != ptr_mode.
2002-09-24 Eric Christopher <echristo@redhat.com>
* except.c (expand_builtin_extract_return_address): Handle case
where Pmode != ptr_mode.
From-SVN: r57552
Steve Ellcey [Thu, 26 Sep 2002 21:34:46 +0000 (21:34 +0000)]
* config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
From-SVN: r57551
Steve Ellcey [Thu, 26 Sep 2002 21:30:17 +0000 (21:30 +0000)]
* config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
From-SVN: r57550
Igor Shevlyakov [Thu, 26 Sep 2002 21:15:26 +0000 (21:15 +0000)]
combine.c (simplify_set): Don't call to force_to_mode if size of integer type is larger than...
* combine.c (simplify_set): Don't call to force_to_mode if size
of integer type is larger than HOST_BITS_PER_WIDE_INT.
From-SVN: r57549
Janis Johnson [Thu, 26 Sep 2002 19:49:48 +0000 (19:49 +0000)]
README.QMTEST: Fix typo.
2002-09-26 Janis Johnson <janis187@us.ibm.com>
* README.QMTEST: Fix typo.
From-SVN: r57548
Janis Johnson [Thu, 26 Sep 2002 19:29:29 +0000 (19:29 +0000)]
Makefile.in (qmtest-g++): Fix file name.
2002-09-26 Janis Johnson <janis187@us.ibm.com>
* Makefile.in (qmtest-g++): Fix file name.
From-SVN: r57547
Ulrich Weigand [Thu, 26 Sep 2002 18:26:08 +0000 (18:26 +0000)]
* gcc.dg/
20020926-1.c: New test.
From-SVN: r57544
Ulrich Weigand [Thu, 26 Sep 2002 18:23:55 +0000 (18:23 +0000)]
expr.c (expand_expr): Convert A - const to A + (-const) on RTX level, even for unsigned types.
* expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
A + (-const) on RTX level, even for unsigned types.
From-SVN: r57543
Ulrich Weigand [Thu, 26 Sep 2002 18:21:10 +0000 (18:21 +0000)]
reload.c (dup_replacements): New function.
* reload.c (dup_replacements): New function.
(find_reloads): Use it to duplicate replacements at the top level
of match_dup operands.
From-SVN: r57542
Miles Bader [Thu, 26 Sep 2002 16:55:30 +0000 (16:55 +0000)]
* v850.md ("length"): Change default value to 4.
From-SVN: r57541
Kazu Hirata [Thu, 26 Sep 2002 12:29:45 +0000 (12:29 +0000)]
ChangeLog.1: Follow spelling conventions.
* ChangeLog.1: Follow spelling conventions.
* ChangeLog.4: Likewise.
* ChangeLog.6: Likewise.
* FSFChangeLog.11: Likewise.
* doc/cpp.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/tm.texi: Likewise.
From-SVN: r57539
Nick Clifton [Thu, 26 Sep 2002 10:42:04 +0000 (10:42 +0000)]
Add x prefix to v850e case for handling --with-cpu=v850e.
From-SVN: r57538
David S. Miller [Thu, 26 Sep 2002 10:18:05 +0000 (03:18 -0700)]
re PR target/7842 ([REGRESSION] sparc code gen bug)
2002-09-25 David S. Miller <davem@redhat.com>
PR target/7842
* config/sparc/sparc.c (set_extends): SImode ASHIFT does not
extend.
From-SVN: r57534
David S. Miller [Thu, 26 Sep 2002 10:16:44 +0000 (03:16 -0700)]
re PR target/7842 ([REGRESSION] sparc code gen bug)
2002-09-25 David S. Miller <davem@redhat.com>
PR target/7842
* gcc.c-torture/execute/shiftdi.c: New test.
From-SVN: r57533
Richard Earnshaw [Thu, 26 Sep 2002 09:51:45 +0000 (09:51 +0000)]
gcc.exp (gcc_init): Use a filename for the testglue that is unique to the tool.
* lib/gcc.exp (gcc_init): Use a filename for the testglue that is
unique to the tool.
* lib/g77.exp (g77_init): Likewise.
* lib/g++.exp (g++_init): Likewise.
* lib/objc.exp (objc_init): Likewise.
From-SVN: r57532
GCC Administrator [Thu, 26 Sep 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57531
Benjamin Kosnik [Thu, 26 Sep 2002 05:25:14 +0000 (05:25 +0000)]
Makefile.am (target_headers): Remove cpu_limits.h.
2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (target_headers): Remove cpu_limits.h.
* include/Makefile.in: Regenerate.
* configure.in (CPU_LIMITS_INC_SRCDIR): Remove
* configure: Regenerate.
* configure.target (CPULIMITS): Remove.
* include/std/std_limits.h: Remove cpu_limits.h include.
* config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
Remove.
* config/os/irix/irix6.5/os_defines.h
(__glibcpp_long_double_bits): Remove.
(__glibcpp_wchar_t_bits): Remove.
(__glibcpp_long_bits): Remove.
* config/os/irix/irix5.2/os_defines.h
(__glibcpp_long_double_bits): Remove.
(__glibcpp_long_bits): Remove.
* config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
* config/os/bsd/freebsd/os_defines.h:
(__glibcpp_long_double_bits): Remove.
* config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
(__glibcpp_wchar_t_is_signed): Remove.
(__glibcpp_long_bits): Remove.
* config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
(__glibcpp_long_double_bits): Remove.
* config/os/osf/osf5.0/cpu_limits.h: Remove.
* config/cpu/alpha/cpu_limits.h: Remove.
* config/cpu/arm/cpu_limits.h: Remove.
* config/cpu/cris/cpu_limits.h: Remove.
* config/cpu/generic/cpu_limits.h: Remove.
* config/cpu/generic/limits.h: Remove.
* config/cpu/ia64/cpu_limits.h: Remove.
* config/cpu/m68k/cpu_limits.h: Remove.
* config/cpu/mmix/cpu_limits.h: Remove.
* config/cpu/powerpc/cpu_limits.h: Remove.
* config/cpu/S390/cpu_limits.h: Remove.
From-SVN: r57524
Devang Patel [Thu, 26 Sep 2002 04:36:40 +0000 (21:36 -0700)]
Move C++ specific ChangeLog entry for "cp_binding_level reorg" patch
from Changelog into cp/Changelog
From-SVN: r57523
Nathanael Nerode [Thu, 26 Sep 2002 04:14:02 +0000 (04:14 +0000)]
Makefile.tpl: Make subsituted variables more autoconfy.
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.
* configure: Make seds more autoconfy.
From-SVN: r57522
Richard Henderson [Wed, 25 Sep 2002 23:20:42 +0000 (16:20 -0700)]
emit-rtl.c (const_double_htab_eq): Distinguish integer and fp CONST_DOUBLE; use real_identical.
* emit-rtl.c (const_double_htab_eq): Distinguish integer and
fp CONST_DOUBLE; use real_identical.
From-SVN: r57520
Jesse Rosenstock [Wed, 25 Sep 2002 21:10:21 +0000 (21:10 +0000)]
re PR libgcj/7786 (TimeZone.getDSTSavings() from JDK1.4 not implemented)
2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
* java/util/TimeZone.java (getDSTSavings): New method.
Fixes PR libgcj/7786.
From-SVN: r57518
Jesse Rosenstock [Wed, 25 Sep 2002 21:02:32 +0000 (21:02 +0000)]
re PR libgcj/7709 (NullPointerException in _Jv_ResolvePoolEntry)
2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
* resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
to see if `the_method == 0' before looking up vtable index.
Fixes PR libgcj/7709.
From-SVN: r57517
Tom Tromey [Wed, 25 Sep 2002 20:57:03 +0000 (20:57 +0000)]
* java/lang/natClassLoader.cc:
(_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
* resolve.cc: Include NoClassDefFoundError.h, not
ClassNotFoundException.h.
(_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
* defineclass.cc: Don't include ClassNotFoundException.h.
From-SVN: r57516
Tom Tromey [Wed, 25 Sep 2002 20:40:09 +0000 (20:40 +0000)]
resolve.cc: Include StringBuffer.
* resolve.cc: Include StringBuffer.
(_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
From-SVN: r57515
Tom Tromey [Wed, 25 Sep 2002 20:14:37 +0000 (20:14 +0000)]
boehm.cc (_Jv_MarkObj): Don't fail if class object has been allocated but not initialized.
* boehm.cc (_Jv_MarkObj): Don't fail if class object has been
allocated but not initialized.
From-SVN: r57514
Jesse Rosenstock [Wed, 25 Sep 2002 20:10:42 +0000 (20:10 +0000)]
re PR libgcj/7766 (ZipInputStream.available returns 0 immediately after construction)
2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
Fix for PR libgcj/7766:
* java/util/zip/ZipInputStream.java (entryAtEOF): New field.
(getNextEntry): Set it.
(closeEntry): Likewise.
(read): Likewise.
(close): Likewise.
(available): Use it.
From-SVN: r57513
Peter Schmid [Wed, 25 Sep 2002 19:37:04 +0000 (19:37 +0000)]
numeric_limits.cc: Check the maximum and minimum values of the wchar_t type.
2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* testsuite/18_support/numeric_limits.cc: Check the maximum and
minimum values of the wchar_t type.
From-SVN: r57512
Mark Mitchell [Wed, 25 Sep 2002 19:07:35 +0000 (19:07 +0000)]
class.c (contains_empty_class_p): New method.
* cp/class.c (contains_empty_class_p): New method.
(walk_subobject_offsets): Correct computation of field offset.
(layout_empty_base): Correct placement of emtpy base classes.
(layout_class_type): Warn about ABI changes.
* doc/invoke.texi: Add more -Wabi examples.
* gcc/testsuite/g++.dg/abi/empty5.C: New test.
* gcc/testsuite/g++.dg/abi/empty6.C: New test.
* gcc/testsuite/g++.dg/abi/vbase12.C: New test.
From-SVN: r57508
Mark Mitchell [Wed, 25 Sep 2002 18:32:14 +0000 (18:32 +0000)]
std_limits.h (numeric_limits<unsigned char>::digits): Fix typo.
* include/std/std_limits.h (numeric_limits<unsigned char>::digits):
Fix typo.
From-SVN: r57507
Adam Megacz [Wed, 25 Sep 2002 17:56:14 +0000 (17:56 +0000)]
Fixed misformatted ChangeLog entry
From-SVN: r57505
Nathanael Nerode [Wed, 25 Sep 2002 17:22:54 +0000 (17:22 +0000)]
Makefile.tpl: Rewrite substituted lines to look autoconfy.
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Rewrite substituted lines to look autoconfy.
* Makefile.in: Regenerate.
* configure.in: Rewrite sed statements to look autoconfy.
From-SVN: r57503
Richard Henderson [Wed, 25 Sep 2002 17:14:48 +0000 (10:14 -0700)]
20010226-1.c: Early exit for too-small long double.
* gcc.c-torture/execute/ieee/
20010226-1.c: Early exit for
too-small long double.
From-SVN: r57502
Michael Koch [Wed, 25 Sep 2002 17:14:09 +0000 (17:14 +0000)]
2002-09-25 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
(DatagramSocket): Initialize new instance variables.
(close): Reset new instance variables.
(getLocalAddress): Remove unneeded SecurityManager usage.
(getLocalPort): Check if socket is already bound.
(isConnected): New method.
(getInetAddress): Implemented.
(getPort): Better Implementation, documentation fixed.
(getRemoteSocketAddress): New method.
* java/net/JarURLConnection.java
(element): Typo fixed.
(getMainAttributes): New method.
(getAttributes): New method (stub only).
(getManifest): New method (stub only).
* java/net/NetPermission.java: Added serialVersionsUID.
* java/net/Socket.java
(connect): Check blocking mode of associated channel,
documentation added.
(getLocalSocketAddress): Better implementation.
(getRemoteSocketAddress): Implemented.
(isBound): New method.
(setSendBufferSize): Documentation added.
* java/net/SocketAddress.java: Added serialVersionsUID.
* java/net/SocketPermission.java: Added serialVersionsUID.
* java/net/URL.java
(URL): Wrap for shorter lines, initialize new instance variables,
documentation added.
(equals): Check new instance variables too.
(getContent): Documentation added.
(getPath): Documentation added.
(getAuthority): New method.
(getHost): Documentation added.
(getPort): Documentation added.
(getDefaultPort): New method.
(getProtocol): Documentation added.
(getUserInfo): Documentation added.
(set): Initialize new instance variables, documentation added.
* java/net/URLStreamHandler.java
(setURL): New method.
* java/net/natPlainDatagramSocketImpl.cc
(connect): Fix exception name.
(disconnect): Fix exception name.
From-SVN: r57501
Nathanael Nerode [Wed, 25 Sep 2002 16:56:30 +0000 (16:56 +0000)]
Really rebuild it this time. :sigh:
From-SVN: r57500
Nathanael Nerode [Wed, 25 Sep 2002 16:49:39 +0000 (16:49 +0000)]
Makefile.tpl: Autogenerate *-target-* lists...
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Autogenerate *-target-* lists, dependencies of
all-target-foo on configure-target-foo.
* Makefile.def: Ditto.
* Makefile.in: Rebuild.
From-SVN: r57499
Michael Koch [Wed, 25 Sep 2002 13:04:58 +0000 (13:04 +0000)]
AbstractSelectableChannel.java: New file.
2002-09-25 Michael Koch <konqueror@gmx.de>
* java/nio/channels/spi/AbstractSelectableChannel.java: New file.
* java/nio/channels/DatagramChannel.java:
extends AbstractSelectableChannel
* java/nio/channels/ServerSocketChannel.java:
extends AbstractSelectableChannel
* java/nio/channels/SocketChannel.java:
extends AbstractSelectableChannel
* Makefile.am (ordinary_java_source_files):
java/nio/channels/spi/AbstractSelectableChannel.java added.
* Makefile.in: Regenerated.
This commit fixes the CVS build problems, Sorry for the trouble.
From-SVN: r57497
Richard Sandiford [Wed, 25 Sep 2002 12:40:13 +0000 (12:40 +0000)]
* config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
From-SVN: r57496
Andrew Haley [Wed, 25 Sep 2002 11:16:42 +0000 (11:16 +0000)]
MAINTAINERS: Add aph@redhat.com as Java maintainer.
2002-09-25 Andrew Haley <aph@redhat.com>
* MAINTAINERS: Add aph@redhat.com as Java maintainer.
From-SVN: r57495
Michael Koch [Wed, 25 Sep 2002 09:05:53 +0000 (09:05 +0000)]
2002-09-25 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
(DatagramSocket): Exception documentation added.
(bind): Exception documentation added, addded SecurityManager check,
added SocketAddress type check.
(getSoTimeout): Check impl.
(receive): Fix SecurityManager check, check impl, documentation added.
(send): Check channel mode, documentation added.
(connect): New method.
(disconnect): Implemented.
(getLocalSocketAddress): New method.
(getReceiveBufferSize): Check impl.
(setReuseAddress): Check impl.
(getReuseAddress): Check impl.
(setBroadcast): Check impl.
(getBroadcast): Check impl.
(setTrafficClass): Check impl, Documentation cleared.
(getTrafficClass): Check impl.
(getSendBufferSize): Check impl.
(setReceiveBufferSize): Check impl, documentation added.
(setSendBufferSize): Documentation added.
(setDatagramSocketImplFactory): New method.
* java/net/HttpURLConnection.java
(HTTP_INTERNAL_ERROR): The correct code is 500.
(HTTP_NOT_IMPLEMENTED): Added new constant.
(setFollowRedirects): Documentation added.
(getInstanceFollowRedirects): New method.
(setInstanceFollowRedirects): New method.
(setRequestMethod): Documentation added.
(getResponseCode): Documentation added.
(getResponseMessage): Documentation added.
* java/net/JarURLConnection.java
(JarURLConnection): protected since JDK 1.4.
(getJarEntry): java.io.IOException to IOException, documentation added.
(getJarFile): Documentation added.
* java/net/ServerSocket.java
(ServerSocket): Private to public, exception added.
(ServerSocket): java.io.IOException to IOException, documentation added.
(bind): Check socket address type, documentation added.
(bind): java.io.IOException to IOException, documentation added.
(accept): Documentation added.
(implAccept): Check ch is not non-blocking, documentation added.
(setSoTimeout): Documentation fixed.
(setReceiveBufferSize): Documentation added.
* java/net/Socket.java
(Socket): Documentation added.
(bind): Documentation added.
(connect): Check socket address type, documentation added.
(getRemoteSocketAddress): New method.
From-SVN: r57494
GCC Administrator [Wed, 25 Sep 2002 07:17:34 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57493
Michael Koch [Wed, 25 Sep 2002 05:05:07 +0000 (05:05 +0000)]
2002-09-25 Michael Koch <konqueror@gmx.de>
* java/net/DatagramPacket
(DatagramPacket): Exception documentation added.
(setData): Likewise.
(setSocketAddress): Likewise.
* java/net/DatagramSocketImpl.java
(peek): Documentation addded.
(peekData): Documentation addded.
(send): Documentation addded.
(receive): Documentation addded.
(connect): New method.
(disconnect): New method.
(joinGroup): New abstract method.
(leaveGroup): New abstract method.
* java/net/InetSocketAddress.java
(InetSocketAddress): Documentation added.
(equals): final keyword added.
(getAddress): final keyword added.
(getHostName): final keyword added.
(getPort): final keyword added.
(hashCode): final keyword added.
(isUnresolved): final keyword added.
* java/net/MulticastSocket.java
(MulticastSocket): Documentation added.
(MulticastSocket): New method.
(joinGroup): Documentation added.
(joinGroup): New method.
(leaveGroup): Documentation added.
(leaveGroup): New method.
(send): Documentation added.
* java/net/NetworkInterface.java
(getByName): Documentation added.
(getByInetAddress): Documentation added.
(getNetworkInterfaces): Documentation added.
* java/net/PlainDatagramSocketImpl.java
(connect): New method.
(disconnect): New method.
* java/net/SocketImpl.java
(create): Documentation added.
(shutdownInput): Convert public to protected, as it always was.
(shutdownOutput): Convert public to protected, as it always was.
* java/net/SocketOptions.java
(whole file): Reintented.
* java/net/URLClassLoader.java
(URLClassLoader): SecurityManager check added, documentation added.
(findResources): Documentation added.
(findClass): Documentation added.
(newInstance): More correct method arguments.
* java/net/URLConnection.java
(connect): Documentation added.
(getContent): Documentation added.
(getPermission): Documentation added.
(getInputStream): Documentation added.
(getOutputStream): Documentation added.
(setDoInput): Throw correct exception, documentation added.
(setDoOutput): Throw correct exception, documentation added.
(setAllowUserInteraction): Throw correct exception, documentation added.
(setUseCaches): Throw correct exception, documentation added.
(setIfModifiedSince): Throw correct exception, documentation added.
(setRequestProperty): Throw exception, documentation added.
(addRequestProperty): Throw exception, documentation added.
(getRequestProperty): Throw exception, documentation added.
(getRequestProperties): Documentation added.
(setContentHandlerFactory): Documentation added.
(guessContentTypeFromName): protected to public.
(setFileNameMap): Documentation added.
* java/net/URLDecoder.java
(URLDecoder): New method.
(decode): Documentation added.
(whole file): Reindented.
* java/net/URLEncoder.java
(encode): Documentation added.
* java/net/natPlainDatagramSocketImpl.cc
(connect): New method.
(disconnect): New method.
* javax/naming/RefAddr:
(addrType): addrType was never final.
(equals): Fix typo in method name.
* javax/naming/BinaryRefAddr:
(equals): Fix typo in method name.
From-SVN: r57487
Nathanael Nerode [Tue, 24 Sep 2002 22:51:57 +0000 (22:51 +0000)]
Makefile.def: New file.
2002-09-22 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.def: New file.
* Makefile.tpl: New file.
* Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'.
* contrib/gcc_update: Note that Makefile.in is a generated file.
* configure.in: Minor rearrangement. Simplify tests.
From-SVN: r57484
Denis Chertykov [Tue, 24 Sep 2002 19:15:22 +0000 (19:15 +0000)]
ip2k.c (function_epilogue): Fix wrong numbers in cases of optimizing "add sp,w" to "inc sp".
* config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
cases of optimizing "add sp,w" to "inc sp".
From-SVN: r57481
Jason Thorpe [Tue, 24 Sep 2002 17:41:01 +0000 (17:41 +0000)]
* include/private/gcconfig.h: Fix NetBSD/mips parameters.
From-SVN: r57479
Adam Nemet [Tue, 24 Sep 2002 17:30:54 +0000 (17:30 +0000)]
(thumb_unexpanded_epilogue): Don't generate epilogue for naked functions.
From-SVN: r57476
Adam Nemet [Tue, 24 Sep 2002 16:51:33 +0000 (16:51 +0000)]
(THUMB_FUNCTION_PROFILER): Remove.
(FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it is defined.
Co-Authored-By: Nick Clifton <nickc@redhat.com>
From-SVN: r57475
Ulrich Weigand [Tue, 24 Sep 2002 16:05:50 +0000 (16:05 +0000)]
s390.c (preferred_la_operand_p): New function.
* config/s390/s390.c (preferred_la_operand_p): New function.
* config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
* config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
("*la_64_cc", "*la_31_cc", splitters): ... these.
("*la_31"): Deactivate for TARGET_64BIT.
("*la_31_and", "*la_31_and_cc"): New.
From-SVN: r57473
Kaveh R. Ghazi [Tue, 24 Sep 2002 13:13:35 +0000 (13:13 +0000)]
* real.h (real_value): Make `exp' explicitly signed.
From-SVN: r57469
Kazu Hirata [Tue, 24 Sep 2002 12:49:05 +0000 (12:49 +0000)]
elfos.h: Follow spelling conventions.
* config/elfos.h: Follow spelling conventions.
* config/alpha/alpha.h: Likewise.
* config/arc/arc.h: Likewise.
* config/arm/arm.md: Likewise.
* config/avr/avr.h: Likewise.
* config/cris/cris.md: Likewise.
* config/d30v/d30v.h: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* config/i386/cygwin.h: Likewise.
* config/i386/i386.h: Likewise.
* config/i386/sysv3.h: Likewise.
* config/i960/i960.h: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ia64/ia64.md: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/m32r/m32r.h: Likewise.
* config/m68k/m68k.h: Likewise.
* config/m88k/m88k.h: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mcore/mcore.h: Likewise.
* config/mcore/mcore.md: Likewise.
* config/mips/mips.h: Likewise.
* config/mmix/mmix.h: Likewise.
* config/mmix/mmix.md: Likewise.
* config/ns32k/netbsd.h: Likewise.
* config/ns32k/ns32k.h: Likewise.
* config/ns32k/ns32k.md: Likewise.
* config/pa/pa.h: Likewise.
* config/romp/romp.h: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.
* config/sparc/sparc.h: Likewise.
* config/stormy16/stormy-abi: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/vax/vax.h: Likewise.
From-SVN: r57468
GCC Administrator [Tue, 24 Sep 2002 07:17:21 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57467
Zack Weinberg [Tue, 24 Sep 2002 03:44:36 +0000 (03:44 +0000)]
update_version: Do not check in files which are unchanged.
maintainer-scripts:
* update_version: Do not check in files which are unchanged.
* gcc_release: Only update the version in gcc/version.c.
gcc:
* version.c (version_string): Now const char[].
* version.h: Update to match.
gcc/ada:
* Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
* Makefile.in (TOOLS_LIBS): Add ../../version.o.
* gnatvsn.ads: Gnat_Version_String is now a function.
* gnatvsn.adb: New file. When asked for Gnat_Version_String,
copy the C version_string into a String and return it.
* gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
Remove pragma Ident (Gnat_Version_String). If this was the
sole use of package Gnatvsn, remove the with statement too.
* gnat1drv.adb: Tweak -gnatv output.
gcc/f:
* Make-lang.in (g77spec.o): Don't depend on f/version.h.
(f/parse.o): Depend on version.h not f/version.h.
(g77version.o, f/version.o): Delete all references.
* com.c (ffecom_init_0): Fix transposed array indices in bsearch test.
* g77spec.c: Don't include f/version.h or refer to ffe_version_string.
* parse.c: Use version_string, not ffe_version_string.
* version.c, version.h: Delete files.
libf2c:
* libF77/Version.c: Rename junk to __LIBF77_VERSION__. Add
external decls for __LIBI77_VERSION__ and __LIBU77_VERSION__.
Delete __G77_LIBF77_VERSION__
(g77__fvers__): Print all three __LIB*77_VERSION__ strings,
and __VERSION__ if we have it; nothing else.
* libI77/Version.c: Provide only __LIBI77_VERSION__ (formerly junk).
* libU77/Version.c: Provide only __LIBU77_VERSION__ (formerly junk).
From-SVN: r57461