OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years agolibjava:
bryce [Sun, 10 Mar 2002 03:53:16 +0000 (03:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50523 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-09 Adam Megacz <adam@xwt.org>
megacz [Sun, 10 Mar 2002 03:34:27 +0000 (03:34 +0000)]
2002-03-09  Adam Megacz  <adam@xwt.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50519 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agolibjava:
bryce [Sun, 10 Mar 2002 03:31:08 +0000 (03:31 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50518 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c4x.c (c4x_fp_reglist): Const-ify.
ghazi [Sun, 10 Mar 2002 01:39:04 +0000 (01:39 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50517 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc_release: Build diffs for ada and chill. Make "bzip2" a new
jsm28 [Sun, 10 Mar 2002 01:08:52 +0000 (01:08 +0000)]
* gcc_release: Build diffs for ada and chill.  Make "bzip2" a new
major mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50516 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-09 Adam Megacz <adam@xwt.org>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50515 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-09 Adam Megacz <adam@xwt.org>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50511 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
geoffk [Sat, 9 Mar 2002 21:02:13 +0000 (21:02 +0000)]
* 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>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50509 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50507 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50505 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * btest-gcc.sh: For crosses, assume newlib and GNU binutils.
geoffk [Sat, 9 Mar 2002 19:41:11 +0000 (19:41 +0000)]
* btest-gcc.sh: For crosses, assume newlib and GNU binutils.
* site.exp: Correct mips-elf triplet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50504 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoIn gcc/:
geoffk [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50503 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-09 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 9 Mar 2002 16:44:34 +0000 (16:44 +0000)]
2002-03-09  Paolo Carlini  <pcarlini@unitus.it>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50500 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * parse.y (java_complete_lhs): Check if patch_assignment
bothner [Sat, 9 Mar 2002 16:31:52 +0000 (16:31 +0000)]
* parse.y (java_complete_lhs):  Check if patch_assignment
returned an error-mark.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50499 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
bothner [Sat, 9 Mar 2002 16:25:13 +0000 (16:25 +0000)]
* gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
* gnu/gcj/xlib/XImage.java:  Likewise.
* gnu/gcj/xlib/XColor.java:  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50498 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50497 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR middle-end/5877
jakub [Sat, 9 Mar 2002 13:23:44 +0000 (13:23 +0000)]
PR middle-end/5877
* expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
even for non-representable constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50495 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
kenner [Sat, 9 Mar 2002 12:53:21 +0000 (12:53 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50493 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50491 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50488 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50486 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50481 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mips/mips.c (function_arg_pass_by_reference): Force to 0
aoliva [Sat, 9 Mar 2002 06:05:27 +0000 (06:05 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50480 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
bryce [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50479 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mips/mips.c (mips_va_arg): Apply big-endianness address
aoliva [Sat, 9 Mar 2002 05:48:21 +0000 (05:48 +0000)]
* config/mips/mips.c (mips_va_arg): Apply big-endianness address
offset before loading address of argument passed by transparent
reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50478 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50476 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50475 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Sat, 9 Mar 2002 02:22:43 +0000 (02:22 +0000)]
2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50473 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 9 Mar 2002 02:16:36 +0000 (02:16 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50472 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-08 scott snyder <snyder@fnal.gov>
bkoz [Sat, 9 Mar 2002 02:12:30 +0000 (02:12 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50471 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-08 scott snyder <snyder@fnal.gov>
bkoz [Sat, 9 Mar 2002 02:01:34 +0000 (02:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50470 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50468 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
aoliva [Sat, 9 Mar 2002 01:13:28 +0000 (01:13 +0000)]
* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
defaults for MEABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50467 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
bosch [Fri, 8 Mar 2002 22:49:35 +0000 (22:49 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50466 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-07 Matt Hiller <hiller@redhat.com>
hiller [Fri, 8 Mar 2002 22:44:21 +0000 (22:44 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50465 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-08 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 8 Mar 2002 22:38:00 +0000 (22:38 +0000)]
2002-03-08  Aldy Hernandez  <aldyh@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50463 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50462 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-08 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 8 Mar 2002 22:26:03 +0000 (22:26 +0000)]
2002-03-08  Aldy Hernandez  <aldyh@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50460 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50457 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Fix for PR java/5812.
bothner [Fri, 8 Mar 2002 20:59:52 +0000 (20:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50455 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
hubicka [Fri, 8 Mar 2002 20:32:15 +0000 (20:32 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50454 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50453 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50452 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
bosch [Fri, 8 Mar 2002 20:11:04 +0000 (20:11 +0000)]
* 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]

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50451 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expr.c (expand_expr): Use unsave lang hook.
neil [Fri, 8 Mar 2002 19:21:04 +0000 (19:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50449 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 8 Mar 2002 17:59:14 +0000 (17:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50447 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50446 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50445 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Fri, 8 Mar 2002 16:44:50 +0000 (16:44 +0000)]
2002-03-08  Craig Rodrigues  <rodrigc@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50444 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * posix.cc (internal_gettimeofday): New function.
tromey [Fri, 8 Mar 2002 16:31:28 +0000 (16:31 +0000)]
* posix.cc (internal_gettimeofday): New function.
(_Jv_select): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50442 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50439 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c/3711
jakub [Fri, 8 Mar 2002 13:45:13 +0000 (13:45 +0000)]
PR c/3711
* builtins.c (std_expand_builtin_va_arg): Do all computations on
trees.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50438 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rtl.c (copy_most_rtx): Move from here ...
kenner [Fri, 8 Mar 2002 12:29:13 +0000 (12:29 +0000)]
* rtl.c (copy_most_rtx): Move from here ...
* emit-rtl.c (copy_most_rtx): ... to here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50435 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50430 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 8 Mar 2002 06:05:21 +0000 (06:05 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50426 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
aoliva [Fri, 8 Mar 2002 05:59:25 +0000 (05:59 +0000)]
* config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
SUBTARGET_CPP_SIZE_SPEC.
* config/mips/abi64.h (LONG_MAX_SPEC): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50425 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50424 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/fp-bit.c (_unord_f2): Compile it in even if
aoliva [Fri, 8 Mar 2002 03:02:00 +0000 (03:02 +0000)]
* config/fp-bit.c (_unord_f2): Compile it in even if
US_SOFTWARE_GOFAST is enabled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50423 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
aoliva [Fri, 8 Mar 2002 02:57:13 +0000 (02:57 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50422 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-07 Adam Megacz <adam@xwt.org>
megacz [Fri, 8 Mar 2002 01:46:34 +0000 (01:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50418 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-07 Adam Megacz <adam@xwt.org>
megacz [Fri, 8 Mar 2002 01:03:56 +0000 (01:03 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50416 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50414 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
uweigand [Thu, 7 Mar 2002 22:03:27 +0000 (22:03 +0000)]
* genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
and MATCH_OP_DUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50412 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.
jsturm [Thu, 7 Mar 2002 20:28:49 +0000 (20:28 +0000)]
* java/Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.
(java.install-common): Link native driver to
JAVA_TARGET_INSTALL_NAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50411 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-07 H.J. Lu (hjl@gnu.org)
hjl [Thu, 7 Mar 2002 19:32:12 +0000 (19:32 +0000)]
2002-03-07  H.J. Lu  (hjl@gnu.org)

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50410 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-07 Andreas Tobler <toa@pop.agri.ch>
dje [Thu, 7 Mar 2002 18:24:42 +0000 (18:24 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50408 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50407 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50406 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * basic-block.h (fixup_abnormal_edges): Declare.
hubicka [Thu, 7 Mar 2002 15:38:00 +0000 (15:38 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50405 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50404 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50402 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
rsandifo [Thu, 7 Mar 2002 11:37:16 +0000 (11:37 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50401 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* combine.c (simplify_comparison): If simplifying a logical shift
rearnsha [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, force the comparison to unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50400 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50399 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50398 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 7 Mar 2002 06:53:23 +0000 (06:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50393 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-07 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 7 Mar 2002 06:50:32 +0000 (06:50 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50392 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
bryce [Thu, 7 Mar 2002 01:53:21 +0000 (01:53 +0000)]
* java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
(read): Call recv() directly, not _Jv_recv().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50391 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50387 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * genemit.c (gen_exp): New argument used. Invoke copy_rtx
rth [Thu, 7 Mar 2002 01:15:59 +0000 (01:15 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50386 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* splay-tree.c (splay_tree_xmalloc_allocate,
jimb [Thu, 7 Mar 2002 00:20:12 +0000 (00:20 +0000)]
* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
prototyped definitions.  Mark `data' arguments as unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50384 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/io/natFileDescriptorEcos.cc (init): Don't use
tromey [Wed, 6 Mar 2002 23:23:34 +0000 (23:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50383 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * include/config.h.in: Rebuilt.
tromey [Wed, 6 Mar 2002 23:11:18 +0000 (23:11 +0000)]
* include/config.h.in: Rebuilt.
* configure: Rebuilt.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50381 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * reload1.c (reload): Unshare all rtl after reload is done.
uweigand [Wed, 6 Mar 2002 23:07:08 +0000 (23:07 +0000)]
    * reload1.c (reload): Unshare all rtl after reload is done.

* simplify-rtx.c (simplify_plus_minus): Do not abort,
but simply fail if the expression is too complex to simplify.
(simplify_gen_binary): Handle simplify_plus_minus failures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50380 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-06 Adam Megacz <adam@xwt.org>
megacz [Wed, 6 Mar 2002 22:37:26 +0000 (22:37 +0000)]
2002-03-06  Adam Megacz  <adam@xwt.org>

        * java/io/FileDescriptor.java: Initialize in/out/err in init().
        * java/io/natFileDescriptorWin32.cc (init()): Added function.
        * java/io/natFileDescriptorPosix.cc (init()): Added function.
        * java/io/natFileDescriptorEcos.cc (init()): Added function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50378 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-06 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 6 Mar 2002 21:22:56 +0000 (21:22 +0000)]
2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/user.cfg.in:  Also document deprecated entries.
* docs/html/Makefile:  Example rule to rebuild porting-howto.html.
* docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
referring to the collection as a whole.  New section on which macros
can be redefined by the user.
* docs/html/19_diagnostics/howto.html:  Update note for concepts.
* docs/html/20_util/howto.html:  Update link to SGI.
* docs/html/faq/index.html:  Update snapshot versions.  New entry
on why g++ (but not gcc) must currently predefine certain macros.
* docs/html/faq/index.txt:  Regenerated.

* include/bits/basic_string.h (basic_string::_S_construct):  Fix
names in declaration.
(basic_string::compare):  These are no longer optional.
* include/bits/ostream.tcc:  Tweak closing brace placement.
* include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
* include/std/std_sstream.h:  Fix typo in comment.
* include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
* src/locale.cc:  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50376 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-06 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 6 Mar 2002 20:08:18 +0000 (20:08 +0000)]
2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/5734
* include/bits/stl_vector.h (vector::push_back()):  Guard with
_GLIBCPP_DEPRECATED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50375 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
law [Wed, 6 Mar 2002 19:56:21 +0000 (19:56 +0000)]
    * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
        after completing fast dead code elimination.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50374 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * toplev.c (rest_of_compilation): Do jump threading before SSA path;
hubicka [Wed, 6 Mar 2002 19:34:36 +0000 (19:34 +0000)]
* toplev.c (rest_of_compilation): Do jump threading before SSA path;
consistently call delete_trivially_dead_insns after CSE and GCSE;
fix DFI_life dumping; do jump threading after liveness; do crossjumping
after liveness2; update comment in last crossjumping.
* cfgcleanup.c (try_crossjump_to_edge): Dirtify block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50373 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
law [Wed, 6 Mar 2002 19:25:13 +0000 (19:25 +0000)]
    * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
        COMPARE operator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50372 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix ChangeLog date typo
ericb [Wed, 6 Mar 2002 19:15:09 +0000 (19:15 +0000)]
Fix ChangeLog date typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50371 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-04 Eric Blake <ebb9@email.byu.edu>
ericb [Wed, 6 Mar 2002 18:54:45 +0000 (18:54 +0000)]
2002-03-04  Eric Blake  <ebb9@email.byu.edu>

* scripts/unicode-decomp.pl: Move from chartables.pl, and remove
the code for generating include/java-chartables.h.
* scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
merge with Classpath.
* scripts/unicode-muncher.pl: Copy from Classpath.
* scritps/MakeCharTables.java: New file.
* gnu/gcj/convert/Blocks-3.txt: New file.
* gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
* gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
* gnu/java/lang/CharData.java: Copy from Classpath.
* Makefile.am (ordinary_java_source_files): Add
gnu/java/lang/CharData.java.
* configure.in: Remove --enable-fast-character option.
* java/lang/Character.java: Merge algorithms and Javadoc with
Classpath.
* java/lang/natCharacter.cc: Implement Unicode lookup table more
efficiently.
* include/java-chardecomp.h: Regenerate.
* include/java-chartables.h: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50368 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-06 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 6 Mar 2002 18:42:56 +0000 (18:42 +0000)]
2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* libF77/Version.c:  Fix misplaced leading blanks on first line.
* libI77/Version.c:  Likewise.
* libU77/Version.c:  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50367 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-06 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 6 Mar 2002 18:40:56 +0000 (18:40 +0000)]
2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* version.c:  Fix misplaced leading blanks on first line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50366 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-06 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 6 Mar 2002 18:37:39 +0000 (18:37 +0000)]
2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/c++config:  Fix misplaced leading blanks on first line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50365 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-03-06 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 6 Mar 2002 18:35:57 +0000 (18:35 +0000)]
2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

* update_version:  Don't indent the version string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50364 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
hubicka [Wed, 6 Mar 2002 18:09:51 +0000 (18:09 +0000)]
* cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50363 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgcleanup.c (mentions_nonequal_regs): New function.
hubicka [Wed, 6 Mar 2002 17:16:22 +0000 (17:16 +0000)]
* cfgcleanup.c (mentions_nonequal_regs): New function.
(thread_jump): Use it.
* toplev.c (rest_of_compilation): Run jump threading after
liveness.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50361 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
jakub [Wed, 6 Mar 2002 16:53:07 +0000 (16:53 +0000)]
* ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50359 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * predict.c (estimate_bb_frequencies): Do not reload the
hubicka [Wed, 6 Mar 2002 10:29:11 +0000 (10:29 +0000)]
* predict.c (estimate_bb_frequencies): Do not reload the
frequencies from notes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50356 138bc75d-0d04-0410-961f-82ee72b054a4