gcc.git
22 years agoreload.c (copy_replacements_1): New.
Richard Henderson [Sun, 10 Mar 2002 23:51:08 +0000 (15:51 -0800)]
reload.c (copy_replacements_1): New.

        * reload.c (copy_replacements_1): New.
        (copy_replacements): Use it to recurse through the rtx.

From-SVN: r50552

22 years ago2002-03-09 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Sun, 10 Mar 2002 23:48:25 +0000 (23:48 +0000)]
2002-03-09  Ulrich Drepper  <drepper@redhat.com>
    Paolo Carlini  <pcarlini@unitus.it>

        * config/locale/generic/collate_members.cc
(collate<char,wchar_t>::_M_compare_helper): normalize
values returned by strcoll and wcscoll.
        * config/locale/gnu/collate_members.cc
(collate<char,wchar_t>::_M_compare_helper): ditto
for __strcoll_l and __wcscoll_l.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r50551

22 years agoloop.c (strength_reduce): Compute number of iterations as unsigned HOST_WIDE_INT.
Richard Henderson [Sun, 10 Mar 2002 23:46:14 +0000 (15:46 -0800)]
loop.c (strength_reduce): Compute number of iterations as unsigned HOST_WIDE_INT.

        * loop.c (strength_reduce): Compute number of iterations as
        unsigned HOST_WIDE_INT.

From-SVN: r50550

22 years agosched-rgn.c (add_branch_dependences): Don't allow insns that throw to move away from...
Richard Henderson [Sun, 10 Mar 2002 23:01:59 +0000 (15:01 -0800)]
sched-rgn.c (add_branch_dependences): Don't allow insns that throw to move away from the end of the block.

        * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
        to move away from the end of the block.

From-SVN: r50548

22 years agore PR preprocessor/5899 (-M disables -dM)
Neil Booth [Sun, 10 Mar 2002 21:10:21 +0000 (21:10 +0000)]
re PR preprocessor/5899 (-M disables -dM)

PR preprocessor/5899
* cppinit.c (init_dependency_output): Don't ignore -dM etc.

From-SVN: r50545

22 years ago* mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
Kaveh R. Ghazi [Sun, 10 Mar 2002 20:59:57 +0000 (20:59 +0000)]
* mbchar.c (JIS_state_table, JIS_action_table): Const-ify.

From-SVN: r50544

22 years ago* attribs.c (decl_attributes): Fix signed/unsigned warning.
Kaveh R. Ghazi [Sun, 10 Mar 2002 20:54:15 +0000 (20:54 +0000)]
* attribs.c (decl_attributes): Fix signed/unsigned warning.

From-SVN: r50543

22 years ago* cp-tree.h (stabilize_expr): Prototype.
Kaveh R. Ghazi [Sun, 10 Mar 2002 20:42:53 +0000 (20:42 +0000)]
* cp-tree.h (stabilize_expr): Prototype.

From-SVN: r50542

22 years agoFix mingw32 cross builds.
Anthony Green [Sun, 10 Mar 2002 19:28:05 +0000 (19:28 +0000)]
Fix mingw32 cross builds.

From-SVN: r50541

22 years agoGridLayout.java (layoutContainer): Handle case where there are no items in container.
Tom Tromey [Sun, 10 Mar 2002 18:15:58 +0000 (18:15 +0000)]
GridLayout.java (layoutContainer): Handle case where there are no items in container.

* java/awt/GridLayout.java (layoutContainer): Handle case where
there are no items in container.

From-SVN: r50539

22 years agommix.c: Improve comments.
Hans-Peter Nilsson [Sun, 10 Mar 2002 18:09:35 +0000 (18:09 +0000)]
mmix.c: Improve comments.

* config/mmix/mmix.c: Improve comments.
(mmix_target_asm_function_prologue): Drop variable
empty_stack_frame.  Don't allocate unused slot above fp.
(mmix_target_asm_function_epilogue): Mirror prologue changes.
* config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
brace in first column.
(enum reg_class): Ditto.
(FIRST_PARM_OFFSET): Now 0.
(USER_LABEL_PREFIX): Remove #if 0:d definition.

From-SVN: r50538

22 years agoWin32Process.java: Added comment.
Tom Tromey [Sun, 10 Mar 2002 17:59:23 +0000 (17:59 +0000)]
Win32Process.java: Added comment.

* java/lang/Win32Process.java: Added comment.
* include/posix.h (_Jv_platform_close_on_exec): New function.
Include fcntl.h.
* include/win32.h (_Jv_platform_close_on_exec): New function.
* java/net/natPlainSocketImpl.cc (create): Set close-on-exec
flag.
(accept): Likewise.
* java/net/natPlainDatagramSocketImpl.cc (create): Set
close-on-exec flag.
* java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
flag.

From-SVN: r50536

22 years ago* target.c (ffetarget_print_hex): Const-ify.
Kaveh R. Ghazi [Sun, 10 Mar 2002 17:39:05 +0000 (17:39 +0000)]
* target.c (ffetarget_print_hex): Const-ify.

From-SVN: r50535

22 years ago* combine.c (make_extraction): Fix error in last change.
Kaveh R. Ghazi [Sun, 10 Mar 2002 17:14:02 +0000 (17:14 +0000)]
* combine.c (make_extraction): Fix error in last change.

From-SVN: r50533

22 years agoFix ChangeLog for my last entry.
Kaveh Ghazi [Sun, 10 Mar 2002 17:11:37 +0000 (17:11 +0000)]
Fix ChangeLog for my last entry.

From-SVN: r50532

22 years agoDaily bump.
GCC Administrator [Sun, 10 Mar 2002 08:17:01 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r50531

22 years agoverify.cc (state::NO_STACK): New constant.
Tom Tromey [Sun, 10 Mar 2002 04:50:21 +0000 (04:50 +0000)]
verify.cc (state::NO_STACK): New constant.

* verify.cc (state::NO_STACK): New constant.
(state::is_unmerged_ret_state): Handle case where stacktop is
NO_STACK.
(state::merge): Handle NO_STACK merges.
(handle_jsr_insn): Invalidate PC, and use special NO_STACK state
for instruction following jsr.
(stacktop, stackdepth): Removed unused variables.
(pop_jump): Ignore case where all remaining states are skipped.

From-SVN: r50526

22 years agoImageMediaEntry: Removed.
Bryce McKinlay [Sun, 10 Mar 2002 03:56:38 +0000 (03:56 +0000)]
ImageMediaEntry: Removed.

* java/awt/ImageMediaEntry: Removed.
* java/awt/MediaEntry: Removed.

From-SVN: r50524

22 years agoHashtable synchronization for PowerPC.
Bryce McKinlay [Sun, 10 Mar 2002 03:53:16 +0000 (03:53 +0000)]
Hashtable synchronization for PowerPC.

libjava:
Hashtable synchronization for PowerPC.
* configure.in: Define SLOW_PTHREAD_SELF if configure.host set
slow_pthread_self. Set up symlink for sysdeps directory.
* configure: Rebuild.
* configure.host: Document more shell variables. Set sysdeps_dir
for most platforms. Set slow_pthread_self for i686. Set
enable_hash_synchronization_default and slow_pthread_self for PowerPC.
* posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
that memory barrier is emitted where required.
* prims.cc: 64-bit align static primitive class instances.
* include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
read_barrier() to enforce ordering of reads.
* sysdep/powerpc/locks.h: New file. Implementation of synchronization
primitives for PowerPC.
* sysdep/i386/locks.h: New file. Synchronization primitives for i386
moved from natObject.cc.
* sysdep/alpha/locks.h: Likewise.
* sysdep/ia64/locks.h: Likewise.
* sysdep/generic/locks.h: Likewise.
* java/lang/natObject.cc: Move thread synchronization primitives to
system-dependent headers.
gcc/java:
* decl.c (java_init_decl_processing): Make sure class_type_node
alignment is not less than 64 bits if hash synchronization isenabled.

boehm-gc:
* include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
support is enabled, for hash synchronization.

From-SVN: r50523

22 years agonatFileDescriptorWin32.cc (read): Return -1 if zero bytes read and no failure code...
Adam Megacz [Sun, 10 Mar 2002 03:34:27 +0000 (03:34 +0000)]
natFileDescriptorWin32.cc (read): Return -1 if zero bytes read and no failure code returned.

2002-03-09  Adam Megacz  <adam@xwt.org>

        * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
        bytes read and no failure code returned.

From-SVN: r50519

22 years agoconfigure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self.
Bryce McKinlay [Sun, 10 Mar 2002 03:31:08 +0000 (03:31 +0000)]
configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self.

libjava:
* configure.in: Define SLOW_PTHREAD_SELF if configure.host set
slow_pthread_self. Set up symlink for sysdeps directory.
* configure.host: Document more shell variables. Set sysdeps_dir
for most platforms. Set slow_pthread_self for i686. Set
enable_hash_synchronization_default and slow_pthread_self for PowerPC.
* posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
that memory barrier is emitted where required.
* include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
read_barrier() to enforce ordering of reads.
* sysdep/powerpc/locks.h: New file. Implementation of synchronization
primitives for PowerPC.
* sysdep/i386/locks.h: New file. Synchronization primitives for i386
moved from natObject.cc.
* sysdep/alpha/locks.h: Likewise.
* sysdep/ia64/locks.h: Likewise.
* sysdep/generic/locks.h: Likewise.
* java/lang/natObject.cc: Move thread synchronization primitives to
system-dependent headers.

gcc/java:
* decl.c (java_init_decl_processing): Make sure class_type_node
alignment is not less than 64 bits if hash synchronization is enabled.

boehm-gc:
* include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
support is enabled, for hash synchronization.

[[Split portion of a mixed commit.]]

From-SVN: r50518.2

22 years agoc4x.c (c4x_fp_reglist): Const-ify.
Kaveh R. Ghazi [Sun, 10 Mar 2002 01:39:04 +0000 (01:39 +0000)]
c4x.c (c4x_fp_reglist): Const-ify.

* c4x.c (c4x_fp_reglist): Const-ify.
* cris.c (cris_print_operand): Likewise.
* i386.c (ix86_va_arg): Likewise.
* ia64/unwind-ia64.c (unw_decode_table): Likewise.
* m32r.c (m32r_hard_regno_mode_ok): Likewise.
* m32r.h (m32r_hard_regno_mode_ok): Likewise.
* mcore.c (regno_reg_class, mcore_unique_section): Likewise.
* mcore.h (regno_reg_class): Likewise.
* mips.c (gen_int_relational): Likewise.
* ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
* ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
* pdp11.c (pdp11_assemble_integer): Likewise.
* pj.h (INITIALIZE_TRAMPOLINE): Likewise.
* s390.c (s390_branch_condition_mnemonic, regclass_map):
Likewise.
* s390.h (regclass_map): Likewise.
* sh.c (shift_amounts): Likewise.
* sh.md (rot_tab): Likewise.

From-SVN: r50517

22 years agogcc_release: Build diffs for ada and chill.
Joseph Myers [Sun, 10 Mar 2002 01:08:52 +0000 (01:08 +0000)]
gcc_release: Build diffs for ada and chill.

* gcc_release: Build diffs for ada and chill.  Make "bzip2" a new
major mode.

From-SVN: r50516

22 years ago2002-03-09 Adam Megacz <adam@xwt.org>
Adam Megacz [Sat, 9 Mar 2002 22:33:49 +0000 (22:33 +0000)]
2002-03-09  Adam Megacz  <adam@xwt.org>

        * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
        definitions to simulate -mthreads.

From-SVN: r50515

22 years ago2002-03-09 Adam Megacz <adam@xwt.org>
Adam Megacz [Sat, 9 Mar 2002 22:08:35 +0000 (22:08 +0000)]
2002-03-09  Adam Megacz  <adam@xwt.org>

        * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
        avoid precision loss.

From-SVN: r50511

22 years agors6000.md (ne0+4): Add extra CLOBBER.
Geoffrey Keating [Sat, 9 Mar 2002 21:02:13 +0000 (21:02 +0000)]
rs6000.md (ne0+4): Add extra CLOBBER.

* config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
(ne0+5): Use new clobber to generate proper shift pattern.
Patch by Michael Matz <matz@kde.org>.

From-SVN: r50509

22 years agoAdd memcpy/memset/strlen/strcmp/strncmp tests
Michael Meissner [Sat, 9 Mar 2002 20:20:18 +0000 (20:20 +0000)]
Add memcpy/memset/strlen/strcmp/strncmp tests

From-SVN: r50507

22 years ago* gcc.c (validate_all_switches): Also handle `%W{...}'.
Andreas Schwab [Sat, 9 Mar 2002 19:53:22 +0000 (19:53 +0000)]
* gcc.c (validate_all_switches): Also handle `%W{...}'.

From-SVN: r50505

22 years agobtest-gcc.sh: For crosses, assume newlib and GNU binutils.
Geoffrey Keating [Sat, 9 Mar 2002 19:41:11 +0000 (19:41 +0000)]
btest-gcc.sh: For crosses, assume newlib and GNU binutils.

* btest-gcc.sh: For crosses, assume newlib and GNU binutils.
* site.exp: Correct mips-elf triplet.

From-SVN: r50504

22 years agoIn gcc/:
Geoffrey Keating [Sat, 9 Mar 2002 19:14:15 +0000 (19:14 +0000)]
In gcc/:

* config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
In gcc/testsuite/:
* gcc.dg/ppc-ldstruct.c: New test.

From-SVN: r50503

22 years agolocale_facets.tcc (collate::do_transform): Rewrite to fix problems with long transfor...
Paolo Carlini [Sat, 9 Mar 2002 16:44:34 +0000 (17:44 +0100)]
locale_facets.tcc (collate::do_transform): Rewrite to fix problems with long transformed strings.

2002-03-09  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (collate::do_transform):
        Rewrite to fix problems with long transformed strings.

From-SVN: r50500

22 years agoparse.y (java_complete_lhs): Check if patch_assignment returned an error-mark.
Per Bothner [Sat, 9 Mar 2002 16:31:52 +0000 (08:31 -0800)]
parse.y (java_complete_lhs): Check if patch_assignment returned an error-mark.

* parse.y (java_complete_lhs):  Check if patch_assignment
returned an error-mark.

* parse.y (try_builtin_assignconv):  Don't special-case zero.

From-SVN: r50499

22 years ago* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
Per Bothner [Sat, 9 Mar 2002 16:25:13 +0000 (08:25 -0800)]
* gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.

* gnu/gcj/xlib/XImage.java:  Likewise.
* gnu/gcj/xlib/XColor.java:  Likewise.

From-SVN: r50498

22 years ago* gcc.c-torture/execute/va-arg-22.c: New test.
Jakub Jelinek [Sat, 9 Mar 2002 13:27:11 +0000 (14:27 +0100)]
* gcc.c-torture/execute/va-arg-22.c: New test.

From-SVN: r50497

22 years agore PR middle-end/5877 (negative offset to array index leads to inefficient code)
Jakub Jelinek [Sat, 9 Mar 2002 13:23:44 +0000 (14:23 +0100)]
re PR middle-end/5877 (negative offset to array index leads to inefficient code)

PR middle-end/5877
* expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
even for non-representable constants.

From-SVN: r50495

22 years agoemit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
Richard Kenner [Sat, 9 Mar 2002 12:53:21 +0000 (12:53 +0000)]
emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.

* emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
* function.c (fixup_var_refs): Add MAY_SHARE parameter.
(fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
(fixup_var_refs_insn, fixup_var_refs_1): Likewise.
(pop_function_context): Compute MAY_SHARE parameter for
fixup_var_refs.
(fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
(gen_mem_addressof): Call fixup_var_refs with new parm.

From-SVN: r50493

22 years ago* combine.c (make_extraction): Don't make extension of CONST_INT.
Richard Kenner [Sat, 9 Mar 2002 12:26:57 +0000 (12:26 +0000)]
* combine.c (make_extraction): Don't make extension of CONST_INT.

From-SVN: r50491

22 years agoWin32Process.java (ConcreteProcess): Now throws an IOException so that Throwable...
Adam Megacz [Sat, 9 Mar 2002 08:47:40 +0000 (08:47 +0000)]
Win32Process.java (ConcreteProcess): Now throws an IOException so that Throwable.printStackTrace fails correctly.

2002-03-09  Adam Megacz  <adam@xwt.org>

        * java/lang/Win32Process.java (ConcreteProcess): Now throws an
        IOException so that Throwable.printStackTrace fails correctly.

From-SVN: r50488

22 years agoDaily bump.
GCC Administrator [Sat, 9 Mar 2002 08:18:08 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r50486

22 years agonatPlainSocketImpl.cc (read, [...]): Formatting fixed.
Adam Megacz [Sat, 9 Mar 2002 07:56:55 +0000 (07:56 +0000)]
natPlainSocketImpl.cc (read, [...]): Formatting fixed.

2002-03-08  Adam Megacz  <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
        fixed.

From-SVN: r50481

22 years agomips.c (function_arg_pass_by_reference): Force to 0 in o32 and o64 ABIs.
Alexandre Oliva [Sat, 9 Mar 2002 06:05:27 +0000 (06:05 +0000)]
mips.c (function_arg_pass_by_reference): Force to 0 in o32 and o64 ABIs.

* config/mips/mips.c (function_arg_pass_by_reference): Force to 0
in o32 and o64 ABIs.
* config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
but getting fixed-size structs passed in registers regardless of
padding in o32 and o64 ABIs.

From-SVN: r50480

22 years agoposix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get truncated to int.
Bryce McKinlay [Sat, 9 Mar 2002 05:48:38 +0000 (05:48 +0000)]
posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get truncated to int.

        * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
        truncated to int.

From-SVN: r50479

22 years agomips.c (mips_va_arg): Apply big-endianness address offset before loading address...
Alexandre Oliva [Sat, 9 Mar 2002 05:48:21 +0000 (05:48 +0000)]
mips.c (mips_va_arg): Apply big-endianness address offset before loading address of argument passed...

* config/mips/mips.c (mips_va_arg): Apply big-endianness address
offset before loading address of argument passed by transparent
reference.

From-SVN: r50478

22 years ago* t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
John David Anglin [Sat, 9 Mar 2002 04:08:54 +0000 (04:08 +0000)]
* t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.

From-SVN: r50476

22 years agomips.c (mips_expand_prologue): Set regno of vararg marker such that registers after...
Alexandre Oliva [Sat, 9 Mar 2002 04:03:03 +0000 (04:03 +0000)]
mips.c (mips_expand_prologue): Set regno of vararg marker such that registers after it are saved.

* config/mips/mips.c (mips_expand_prologue): Set regno of vararg
marker such that registers after it are saved.

From-SVN: r50475

22 years agocp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void.
Craig Rodrigues [Sat, 9 Mar 2002 02:22:43 +0000 (02:22 +0000)]
cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void.

2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of
        conditional return void.

From-SVN: r50473

22 years agoc_locale_generic.cc: Move to...
Benjamin Kosnik [Sat, 9 Mar 2002 02:16:36 +0000 (02:16 +0000)]
c_locale_generic.cc: Move to...

2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>

* c_locale_generic.cc: Move to...
* generic/c_locale.cc
* c_locale_generic.h: Move to...
* generic/c_locale.h
* codecvt_specializations_generic.h: Move to...
* generic/codecvt_specializations.h
* collate_members_generic.cc: Move to...
* generic/collate_members.cc
* ctype_members_generic.cc: Move to...
* generic/ctype_members.cc
* messages_members_generic.cc: Move to...
* generic/messages_members.cc
* messages_members_generic.h: Move to...
* generic/messages_members.h
* moneypunct_members_generic.cc: Move to...
* generic/monetary_members.cc
* numpunct_members_generic.cc: Move to...
* generic/numeric_members.cc
* time_members_generic.cc: Move to...
* generic/time_members.cc
* c_locale_gnu.cc: Move to...
* gnu/c_locale.cc
* c_locale_gnu.h: Move to...
* gnu/c_locale.h
* collate_members_gnu.cc: Move to...
* gnu/collate_members.cc
* ctype_members_gnu.cc: Move to...
* gnu/ctype_members.cc
* messages_members_gnu.cc: Move to...
* gnu/messages_members.cc
* messages_members_gnu.h: Move to...
* gnu/messages_members.h
* moneypunct_members_gnu.cc: Move to...
* gnu/monetary_members.cc
* numpunct_members_gnu.cc: Move to...
* gnu/numeric_members.cc
* time_members_gnu.cc: Move to...
* gnu/time_members.cc
* c_locale_ieee_1003.1-200x.cc: Move to...
* ieee_1003.1-2001/c_locale.cc
* c_locale_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/c_locale.h
* codecvt_specializations_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/codecvt_specializations.h
* messages_members_ieee_1003.1-200x.cc: Move to...
* ieee_1003.1-2001/messages_members.cc
* messages_members_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/messages_members.h

* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): Change to monetary and numeric.
* src/Makefile.in: Regenerate.
* docs/html/configopts.html: Update to ieee_1003.1-2001.

From-SVN: r50472

22 years agolocale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.
Scott Snyder [Sat, 9 Mar 2002 02:12:30 +0000 (02:12 +0000)]
locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.

2002-03-08  scott snyder  <snyder@fnal.gov>

libstdc++/5875
* include/bits/locale_facets.tcc (num_put::_M_convert_float):
Allow one more digit of precision.
* testsuite/27_io/ostream_inserter_arith.cc: Test that we can

From-SVN: r50471

22 years agolocale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.
Scott Snyder [Sat, 9 Mar 2002 02:01:34 +0000 (02:01 +0000)]
locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision.

2002-03-08  scott snyder  <snyder@fnal.gov>

libstdc++/5875
* include/bits/locale_facets.tcc (num_put::_M_convert_float):
Allow one more digit of precision.
* testsuite/27_io/ostream_inserter_arith.cc: Test that we can
write a double and read back in the same value.

From-SVN: r50470

22 years ago* sparc.c (arith_4096_operand): Fix error in last change.
Kaveh R. Ghazi [Sat, 9 Mar 2002 01:31:03 +0000 (01:31 +0000)]
* sparc.c (arith_4096_operand): Fix error in last change.

From-SVN: r50468

22 years agomips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate defaults for MEABI.
Alexandre Oliva [Sat, 9 Mar 2002 01:13:28 +0000 (01:13 +0000)]
mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate defaults for MEABI.

* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
defaults for MEABI.

From-SVN: r50467

22 years agoadadecode.c, [...]: New files.
Geert Bosch [Fri, 8 Mar 2002 22:49:35 +0000 (23:49 +0100)]
adadecode.c, [...]: New files.

* adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
switch-m.adb, switch-m.ads : New files.

From-SVN: r50466

22 years agogensupport.c (first_dir_md_include): Renamed from include; change all references.
Matt Hiller [Fri, 8 Mar 2002 22:44:21 +0000 (22:44 +0000)]
gensupport.c (first_dir_md_include): Renamed from include; change all references.

2002-03-07  Matt Hiller  <hiller@redhat.com>

* gensupport.c (first_dir_md_include): Renamed from include;
change all references.
(last_dir_md_include): Renamed from last_include; change all
references.
(init_md_reader): Unconditionally initialize base_dir whether or
not filename is a relative path.

From-SVN: r50465

22 years agors6000.c (rs6000_va_arg): Fix alignment for vectors.
Aldy Hernandez [Fri, 8 Mar 2002 22:38:00 +0000 (22:38 +0000)]
rs6000.c (rs6000_va_arg): Fix alignment for vectors.

2002-03-08  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
        vectors.

From-SVN: r50463

22 years agoadd comment
Aldy Hernandez [Fri, 8 Mar 2002 22:32:04 +0000 (22:32 +0000)]
add comment

From-SVN: r50462

22 years agosysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
Aldy Hernandez [Fri, 8 Mar 2002 22:26:03 +0000 (22:26 +0000)]
sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.

2002-03-08  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.

From-SVN: r50460

22 years ago* include/jni.h: Include stdio.h.
Tom Tromey [Fri, 8 Mar 2002 21:37:46 +0000 (21:37 +0000)]
* include/jni.h: Include stdio.h.

From-SVN: r50457

22 years agore PR java/5812 (GCJ 3.0.2 segfaults on class file from Sun JDK 1.3 compiler)
Per Bothner [Fri, 8 Mar 2002 20:59:52 +0000 (12:59 -0800)]
re PR java/5812 (GCJ 3.0.2 segfaults on class file from Sun JDK 1.3 compiler)

Fix for PR java/5812.
* expr.c (build_java_jsr):  Take pc arguments, and do lookup_label
gere instead of in JSR macro.  Likewise with load_type_state call.
Do the latter on if the return_pc has been verified (the jsr returns).
(JSR):  No just call build_java_jsr.

From-SVN: r50455

22 years agocfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been removed; fix return...
Jan Hubicka [Fri, 8 Mar 2002 20:32:15 +0000 (21:32 +0100)]
cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been removed; fix return value.

* cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
removed; fix return value.
* combine.c (combine_instructions): Dirtify blocks where we failed to
update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
* toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.

From-SVN: r50454

22 years ago* gcse.c (insert_insn_end_bb): Fix typo in last change.
Kaveh R. Ghazi [Fri, 8 Mar 2002 20:23:55 +0000 (20:23 +0000)]
* gcse.c (insert_insn_end_bb): Fix typo in last change.

From-SVN: r50453

22 years ago* recog.c (peephole2_optimize): Re-distribute EH edges.
Jan Hubicka [Fri, 8 Mar 2002 20:14:04 +0000 (21:14 +0100)]
* recog.c (peephole2_optimize): Re-distribute EH edges.

From-SVN: r50452

22 years ago41intnam.ads, [...]: Merge in ACT changes.
Geert Bosch [Fri, 8 Mar 2002 20:11:04 +0000 (21:11 +0100)]
41intnam.ads, [...]: Merge in ACT changes.

* 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.

* 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files

* 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed

* mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
to mdll-fil.ad[bs] and mdll-util.ad[bs]

* mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
from mdllfile.ad[bs] and mdlltool.ad[bs]

From-SVN: r50451

22 years agoexpr.c (expand_expr): Use unsave lang hook.
Neil Booth [Fri, 8 Mar 2002 19:21:04 +0000 (19:21 +0000)]
expr.c (expand_expr): Use unsave lang hook.

* expr.c (expand_expr): Use unsave lang hook.
* langhooks-def.h (LANG_HOOKS_UNSAVE): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New hook unsave.
* tree.c (lang_unsave, lang_unsave_expr_now): Remove.
(unsave_expr_1): Remove unused lang_unsave_expr_now.
(unsave_expr_now_r): Rename lhd_unsave.  Update. Return input.
(unsave_expr_now): Remove.
* tree.h (unsave_expr_now, lang_unsave,
lang_unsave_expr_now): Remove.
(lhd_unsave): New.
cp:
* cp-lang.c (LANG_HOOKS_UNSAVE): Redefine.
* cp-tree.h (cxx_unsave): New.
* tree.c (cp_unsave): Rename cxx_unsave, update prototype.
(init_tree): Update.

From-SVN: r50449

22 years agostd_limits.h: Move static const data members out of generic template...
Benjamin Kosnik [Fri, 8 Mar 2002 17:59:14 +0000 (17:59 +0000)]
std_limits.h: Move static const data members out of generic template...

2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/std_limits.h: Move static const data members out of
generic template, into base class __numeric_limits_base.
* src/limits.cc: Add definitions.
* config/linker-map.gnu: Add __numeric_limits_base.
* testsuite/18_support/numeric_limits.cc: Declare test in scope.

From-SVN: r50447

22 years ago* flow.c (propagate_block_delete_insn): Remove unused variable.
Andreas Jaeger [Fri, 8 Mar 2002 17:34:00 +0000 (18:34 +0100)]
* flow.c (propagate_block_delete_insn): Remove unused variable.

From-SVN: r50446

22 years agoh8300.c (h8300_adjust_insn_length): Tighten insn length for memory load/store.
Kazu Hirata [Fri, 8 Mar 2002 16:51:08 +0000 (16:51 +0000)]
h8300.c (h8300_adjust_insn_length): Tighten insn length for memory load/store.

* config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
insn length for memory load/store.

From-SVN: r50445

22 years agoinstall.texi (--with-libiconv-prefix): Document.
Craig Rodrigues [Fri, 8 Mar 2002 16:44:50 +0000 (16:44 +0000)]
install.texi (--with-libiconv-prefix): Document.

2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (--with-libiconv-prefix): Document.

From-SVN: r50444

22 years agoposix.cc (internal_gettimeofday): New function.
Tom Tromey [Fri, 8 Mar 2002 16:31:28 +0000 (16:31 +0000)]
posix.cc (internal_gettimeofday): New function.

* posix.cc (internal_gettimeofday): New function.
(_Jv_select): Use it.

From-SVN: r50442

22 years ago* doc/sourcebuild.texi: Fix typo.
Michael Y. Brukman [Fri, 8 Mar 2002 14:16:36 +0000 (14:16 +0000)]
* doc/sourcebuild.texi: Fix typo.

From-SVN: r50439

22 years agore PR c/3711 (ICE in instantiate_virtual_regs_1, at function.c:3880)
Jakub Jelinek [Fri, 8 Mar 2002 13:45:13 +0000 (14:45 +0100)]
re PR c/3711 (ICE in instantiate_virtual_regs_1, at function.c:3880)

PR c/3711
* builtins.c (std_expand_builtin_va_arg): Do all computations on
trees.

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

From-SVN: r50438

22 years agortl.c (copy_most_rtx): Move from here ...
Richard Kenner [Fri, 8 Mar 2002 12:29:13 +0000 (12:29 +0000)]
rtl.c (copy_most_rtx): Move from here ...

* rtl.c (copy_most_rtx): Move from here ...
* emit-rtl.c (copy_most_rtx): ... to here.

From-SVN: r50435

22 years agoDaily bump.
GCC Administrator [Fri, 8 Mar 2002 08:17:38 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r50430

22 years agostl_alloc.h: Add extern implicit allocator instantiations.
Benjamin Kosnik [Fri, 8 Mar 2002 06:05:21 +0000 (06:05 +0000)]
stl_alloc.h: Add extern implicit allocator instantiations.

2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_alloc.h: Add extern implicit allocator
instantiations.
* include/bits/basic_string.tcc: Tweak.
* include/bits/locale_facets.tcc: Remove default args. Add
has_facet, use_facet extern instantiations.
* src/stl-inst.cc: Add explicit instantiation.
* src/locale-inst.cc: Clean. Remove locale member template
instantiations.

* testsuite/22_locale/operators.cc (test02): Enable.

From-SVN: r50426

22 years agomips.h (LONG_MAX_SPEC): Rewrite, along with SUBTARGET_CPP_SIZE_SPEC.
Alexandre Oliva [Fri, 8 Mar 2002 05:59:25 +0000 (05:59 +0000)]
mips.h (LONG_MAX_SPEC): Rewrite, along with SUBTARGET_CPP_SIZE_SPEC.

* config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
SUBTARGET_CPP_SIZE_SPEC.
* config/mips/abi64.h (LONG_MAX_SPEC): Delete.

From-SVN: r50425

22 years ago* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
Alexandre Oliva [Fri, 8 Mar 2002 05:17:43 +0000 (05:17 +0000)]
* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.

From-SVN: r50424

22 years agofp-bit.c (_unord_f2): Compile it in even if US_SOFTWARE_GOFAST is enabled.
Alexandre Oliva [Fri, 8 Mar 2002 03:02:00 +0000 (03:02 +0000)]
fp-bit.c (_unord_f2): Compile it in even if US_SOFTWARE_GOFAST is enabled.

* config/fp-bit.c (_unord_f2): Compile it in even if
US_SOFTWARE_GOFAST is enabled.

From-SVN: r50423

22 years agogofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as NULL_RTX.
Alexandre Oliva [Fri, 8 Mar 2002 02:57:13 +0000 (02:57 +0000)]
gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as NULL_RTX.

* config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
NULL_RTX.  Set all HFmode operations as NULL_RTX.
* optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
NULL_RTX, try reversing the comparison and the operands.

From-SVN: r50422

22 years agonatPlainSocketImpl.cc: Changed USE_WINSOCK to WIN32, and added thunks for read()...
Adam Megacz [Fri, 8 Mar 2002 01:46:34 +0000 (01:46 +0000)]
natPlainSocketImpl.cc: Changed USE_WINSOCK to WIN32, and added thunks for read(), write(), and close().

2002-03-07  Adam Megacz  <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
        WIN32, and added thunks for read(), write(), and close().
        * java/net/natPlainSocketImpl.cc (accept, read, read):
        Disabled timeouts on WIN32 pending discussion.

From-SVN: r50418

22 years agowin32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong.
Adam Megacz [Fri, 8 Mar 2002 01:03:56 +0000 (01:03 +0000)]
win32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong.

2002-03-07  Adam Megacz  <adam@xwt.org>

        * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
        returns jlong. Added implementation
        * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
        returns jlong.
        * win32.h (_Jv_platform_gettimeofday): Now takes no args,
        returns jlong.
        * posix.h (_Jv_platform_gettimeofday): Now takes no args,
        returns jlong.
        * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
        _Jv_platform_gettimeofday signature.

From-SVN: r50416

22 years ago- Add Darwin and AIX to supported platforms.
David Edelsohn [Thu, 7 Mar 2002 22:11:35 +0000 (17:11 -0500)]
- Add Darwin and AIX to supported platforms.

From-SVN: r50414

22 years agogenextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
Ulrich Weigand [Thu, 7 Mar 2002 22:03:27 +0000 (22:03 +0000)]
genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.

* genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
and MATCH_OP_DUP.

From-SVN: r50412

22 years agoMake-lang.in (JAVA_TARGET_INSTALL_NAME): Define.
Jeff Sturm [Thu, 7 Mar 2002 20:28:49 +0000 (20:28 +0000)]
Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.

* java/Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.
(java.install-common): Link native driver to
JAVA_TARGET_INSTALL_NAME.

From-SVN: r50411

22 years agoconfigure.in: Enable gprof for mips*-*-linux*.
H.J. Lu [Thu, 7 Mar 2002 19:32:12 +0000 (19:32 +0000)]
configure.in: Enable gprof for mips*-*-linux*.

2002-03-07  H.J. Lu  (hjl@gnu.org)

* configure.in: Enable gprof for mips*-*-linux*.

From-SVN: r50410

22 years agoMakefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
Andreas Tobler [Thu, 7 Mar 2002 18:24:42 +0000 (19:24 +0100)]
Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.

2002-03-07  Andreas Tobler  <toa@pop.agri.ch>
    David Edelsohn  <edelsohn@gnu.org>

* Makefile.am (EXTRA_DIST): Add Darwin and AIX closure files.
(TARGET_SRC_POWERPC_AIX): Add aix_closure.S.
(TARGET_SRC_POWERPC_DARWIN): Add darwin_closure.S.
* Makefile.in: Regenerate.
* include/ffi.h.in: Add AIX and Darwin closure definitions.
* src/powerpc/ffi_darwin.c (ffi_prep_closure): New function.
(flush_icache, flush_range): New functions.
(ffi_closure_helper_DARWIN): New function.
* src/powerpc/aix_closure.S: New file.
* src/powerpc/darwin_closure.S: New file.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r50408

22 years ago* g77.f-torture/compile/20020307-1.f: New test.
Jeff Law [Thu, 7 Mar 2002 17:50:08 +0000 (10:50 -0700)]
* g77.f-torture/compile/20020307-1.f: New test.

From-SVN: r50407

22 years ago* reload1.c (reload_cse_delete_noop_set): Purge dead edges.
Jan Hubicka [Thu, 7 Mar 2002 15:55:03 +0000 (16:55 +0100)]
* reload1.c (reload_cse_delete_noop_set): Purge dead edges.

From-SVN: r50406

22 years agobasic-block.h (fixup_abnormal_edges): Declare.
Jan Hubicka [Thu, 7 Mar 2002 15:38:00 +0000 (16:38 +0100)]
basic-block.h (fixup_abnormal_edges): Declare.

* basic-block.h (fixup_abnormal_edges): Declare.
* reload1.c (fixup_abnormal_edges): New function.
* reg-stack.c (convert_regs): Use it.

* gcse.c (insert_insn_end_bb): Handle trapping insns.

* gcse.c (hash_scan_set): Refuse instructions with EH edges.

From-SVN: r50405

22 years agoAdd 2002 to the copyright dates.
Richard Sandiford [Thu, 7 Mar 2002 13:38:22 +0000 (13:38 +0000)]
Add 2002 to the copyright dates.

From-SVN: r50404

22 years ago* gcc.dg/unordered-1.c: New test.
Richard Sandiford [Thu, 7 Mar 2002 11:39:13 +0000 (11:39 +0000)]
* gcc.dg/unordered-1.c: New test.

From-SVN: r50402

22 years agodefaults.h (MODE_HAS_NANS, [...]): New.
Richard Sandiford [Thu, 7 Mar 2002 11:37:16 +0000 (11:37 +0000)]
defaults.h (MODE_HAS_NANS, [...]): New.

* defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
(MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
* flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
(HONOR_SIGN_DEPENDENT_ROUNDING): New.
* builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
* c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
unless x and y could be infinite.
(expand_unordered_cmp): New, mostly split from expand_tree_builtin.
Check that the common type of both arguments is a real, even for
targets without unordered comparisons.  Allow an integer argument
to be compared against a real.
(expand_tree_builtin): Use expand_unordered_cmp.
* combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
* cse.c (fold_rtx): Likewise.  Fix indentation.
* fold-const.c (fold_real_zero_addition_p): New.
(fold): Use it, and the new HONOR_... macros.
* ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
* jump.c (reversed_comparison_code_parts): After searching for
the true comparison mode, use HONOR_NANS to decide whether it
can be safely reversed.
(reverse_condition_maybe_unordered): Remove IEEE check.
* simplify-rtx.c (simplify_binary_operation): Use the new macros
to decide which simplifications are valid.  Allow the following
simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
and (a - -b) to (a + b).
(simplify_relational_operation): Use HONOR_NANS.
* doc/tm.texi: Document the MODE_HAS_... macros.

From-SVN: r50401

22 years agocombine.c (simplify_comparison): If simplifying a logical shift right and compare...
Richard Earnshaw [Thu, 7 Mar 2002 10:39:50 +0000 (10:39 +0000)]
combine.c (simplify_comparison): If simplifying a logical shift right and compare with constant...

* combine.c (simplify_comparison): If simplifying a logical shift
right and compare with constant, force the comparison to unsigned.

From-SVN: r50400

22 years ago* gcc.c-torture/execute/20020307-1.c: New test.
Richard Earnshaw [Thu, 7 Mar 2002 10:38:25 +0000 (10:38 +0000)]
* gcc.c-torture/execute/20020307-1.c: New test.

From-SVN: r50399

22 years agoDaily bump.
GCC Administrator [Thu, 7 Mar 2002 08:16:59 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r50398

22 years agostl_tree.h (_S_rb_tree_red): Make enum.
Benjamin Kosnik [Thu, 7 Mar 2002 06:53:23 +0000 (06:53 +0000)]
stl_tree.h (_S_rb_tree_red): Make enum.

2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
    Stephen M. Webb  <stephen.webb@bregmasoft.com>

* include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
(_S_rb_tree_black): Make enum.
Clean. Format.
* include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
* include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
(__stl_threshold): _M_threshold, enum.
* src/stl-inst.cc: Same.
* config/linker-map.gnu: Remove.

* testsuite/23_containers/vector_bool.cc: New.

Co-Authored-By: Stephen M. Webb <stephen.webb@bregmasoft.com>
From-SVN: r50393

22 years agoinvoke.texi: Add documentation for -mabi=no-altivec.
Aldy Hernandez [Thu, 7 Mar 2002 06:50:32 +0000 (06:50 +0000)]
invoke.texi: Add documentation for -mabi=no-altivec.

2002-03-07  Aldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi: Add documentation for -mabi=no-altivec.

        * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
        -mabi=no-altivec
        (alt_reg_names): Remove % for vrsave.

From-SVN: r50392

22 years agonatPlainSocketImpl.cc (_Jv_recv): Removed.
Bryce McKinlay [Thu, 7 Mar 2002 01:53:21 +0000 (01:53 +0000)]
natPlainSocketImpl.cc (_Jv_recv): Removed.

* java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
(read): Call recv() directly, not _Jv_recv().

From-SVN: r50391

22 years agoTidy whitespace.
Richard Henderson [Thu, 7 Mar 2002 01:17:14 +0000 (17:17 -0800)]
Tidy whitespace.

From-SVN: r50387

22 years agogenemit.c (gen_exp): New argument used.
Richard Henderson [Thu, 7 Mar 2002 01:15:59 +0000 (17:15 -0800)]
genemit.c (gen_exp): New argument used.

        * genemit.c (gen_exp): New argument used.  Invoke copy_rtx
        if used indicates we've already emitted one copy of an operand.
        (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
        (gen_split): Supply a non-null used.

From-SVN: r50386

22 years agosplay-tree.c (splay_tree_xmalloc_allocate, [...]): Use K&R-style definitions, not...
Jim Blandy [Thu, 7 Mar 2002 00:20:12 +0000 (00:20 +0000)]
splay-tree.c (splay_tree_xmalloc_allocate, [...]): Use K&R-style definitions, not prototyped definitions.

* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
prototyped definitions.  Mark `data' arguments as unused.

From-SVN: r50384

22 years agonatFileDescriptorEcos.cc (init): Don't use GetStdHandle.
Tom Tromey [Wed, 6 Mar 2002 23:23:34 +0000 (23:23 +0000)]
natFileDescriptorEcos.cc (init): Don't use GetStdHandle.

* java/io/natFileDescriptorEcos.cc (init): Don't use
GetStdHandle.
* java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
is negative.
(init): Don't use GetStdHandle.

From-SVN: r50383