OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
gerald [Wed, 12 Feb 2003 15:06:40 +0000 (15:06 +0000)]
* doc/install.texi (Specific): Update AVR- and Darwin-related URLs.

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

21 years ago * gcc.c-torture/execute/20030209-1.c: Disable the test if
kazu [Wed, 12 Feb 2003 14:33:24 +0000 (14:33 +0000)]
* gcc.c-torture/execute/20030209-1.c: Disable the test if
STACK_SIZE is too small.

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

21 years ago * predict.c (estimate_probability): Fix roundoff error.
hubicka [Wed, 12 Feb 2003 14:23:20 +0000 (14:23 +0000)]
* predict.c (estimate_probability):  Fix roundoff error.

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

21 years ago * config/h8300/h8300.md (a peephole2): Don't handle 65535.
kazu [Wed, 12 Feb 2003 14:10:21 +0000 (14:10 +0000)]
* config/h8300/h8300.md (a peephole2): Don't handle 65535.
(two peephole2): New.

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

21 years ago * config/h8300/h8300.md (several peephole2): Replace
kazu [Wed, 12 Feb 2003 13:57:56 +0000 (13:57 +0000)]
* config/h8300/h8300.md (several peephole2): Replace
find_regno_note with peep2_reg_dead_p.

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

21 years ago2003-02-12 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 12 Feb 2003 10:10:28 +0000 (10:10 +0000)]
2003-02-12  Michael Koch  <konqueror@gmx.de>

* java/nio/channels/Channels.java: New file.
* Makefile.am
(ordinary_java_source_files): Added java/nio/channels/Channels.java.
* Makefile.in: Regenerated.

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

21 years ago2003-02-12 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 12 Feb 2003 08:01:10 +0000 (08:01 +0000)]
2003-02-12  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBuffer.java
(allocate): Implemented.
(wrap): Implemented.
* java/nio/CharBuffer.java:
Some documentation added and reworked.
(endian): Removed.
(allocate): Implemented.
(wrap): Implemented.
(array): Throw exceptions.
(arrayOffset): Throw exceptions.
(toString): Implemented.
(length): Implemented.
(put): Implemented.
(charAt): Implemented.

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

21 years ago * gcse.c (lookup_set): Remove unused argument PAT. Update
rth [Wed, 12 Feb 2003 06:14:12 +0000 (06:14 +0000)]
    * gcse.c (lookup_set): Remove unused argument PAT.  Update
        both callers.

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

21 years agoWrote better ChangeLog entry
tromey [Wed, 12 Feb 2003 01:26:49 +0000 (01:26 +0000)]
Wrote better ChangeLog entry

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

21 years ago2003-02-11 John Leuner <jewel@debian.org>
tromey [Wed, 12 Feb 2003 01:25:08 +0000 (01:25 +0000)]
2003-02-11  John Leuner  <jewel@debian.org>

* java/util/zip/ZipInputStream.java: idem

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

21 years ago * diagnostic.c (real_abort): New.
geoffk [Wed, 12 Feb 2003 01:05:47 +0000 (01:05 +0000)]
* diagnostic.c (real_abort): New.
(diagnostic_report_diagnostic): Call real_abort on error.
* diagnostic.h (diagnostic_abort_on_error): New.
(struct diagnostic_context): Add abort_on_error field.
* toplev.c (setup_core_dumping): New.
(decode_d_option): Handle 'H' case.
* doc/invoke.texi (Debugging Options): Document -dH.

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

21 years ago2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 12 Feb 2003 00:54:39 +0000 (00:54 +0000)]
2003-02-11  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am (stamp-std-precompile): Add rule.
* include/Makefile.in: Regenerated.

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

21 years agoDaily bump.
gccadmin [Wed, 12 Feb 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
neroden [Tue, 11 Feb 2003 22:24:40 +0000 (22:24 +0000)]
* Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
which refers to obsolete directories.

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

21 years ago * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.
rth [Tue, 11 Feb 2003 22:15:20 +0000 (22:15 +0000)]
    * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.

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

21 years ago * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
rth [Tue, 11 Feb 2003 22:13:57 +0000 (22:13 +0000)]
    * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
        * doc/invoke.texi: Extra alias.

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

21 years ago * i386.c (contains_128bit_aligned_vector_p): New function.
hubicka [Tue, 11 Feb 2003 21:58:09 +0000 (21:58 +0000)]
* i386.c (contains_128bit_aligned_vector_p): New function.
(ix86_function_arg_boundary): Properly align vector modes.

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

21 years ago2003-02-11 Jerry Quinn <jlquinn@optonline.net>
bkoz [Tue, 11 Feb 2003 21:55:49 +0000 (21:55 +0000)]
2003-02-11 Jerry Quinn  <jlquinn@optonline.net>
           Benjamin Kosnik  <benjamin@redhat.com>

* include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
Add indexes into this array.
(__num_base::_S_atoms): To _S_atoms_in.
(num_put::_M_insert): Rename to _M_pad.
(num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
(num_put::_M_widen_int): Rename to _M_group_int.
(num_put::_M_widen_float): Rename to _M_group_float.
* include/bits/locale_facets.tcc (__int_to_char): New inline
function and adapter functions.
(num_put::_M_group_int): Streamline.
(num_put::_M_group_float): Streamline.
(num_put::_M_convert_int): Remove unused parameter names. Choose
large enough buffer for text.  Use __int_to_char instead of
__convert_from_v.  Formatted text is now at the end of the buffer.
(num_put::_M_convert_float): Preliminary fixups.
* src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
(__int_to_char<unsigned long long>): Same.
(__int_to_char<char, unsigned long>): New.
(__int_to_char<char, unsigned long long>): New.
(__int_to_char<wchar_t, unsigned long>): New.
(__int_to_char<wchar_t, unsigned long long>): New.

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

21 years ago * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
bwilson [Tue, 11 Feb 2003 21:42:31 +0000 (21:42 +0000)]
    * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
        * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
        as a SET pattern.

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

21 years ago Add missing log entry from commit.
danglin [Tue, 11 Feb 2003 21:28:29 +0000 (21:28 +0000)]
Add missing log entry from commit.

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

21 years agoFix double applied patch.
rth [Tue, 11 Feb 2003 21:26:48 +0000 (21:26 +0000)]
Fix double applied patch.

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

21 years ago * builtins.c: Fix failures caused by commit of the wrong patch.
sayle [Tue, 11 Feb 2003 21:15:26 +0000 (21:15 +0000)]
* builtins.c: Fix failures caused by commit of the wrong patch.

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

21 years ago2003-02-11 Dale Johannesen <dalej@apple.com>
dalej [Tue, 11 Feb 2003 20:58:36 +0000 (20:58 +0000)]
2003-02-11  Dale Johannesen  <dalej@apple.com>
        * ra-build.c (compare_and_free_webs):  Relax checking.
        * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME):  Define.
        (UNLIKELY_EXECUTED_TEXT_SECTION_NAME):  Define.

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

21 years ago2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 11 Feb 2003 20:55:26 +0000 (20:55 +0000)]
2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>

* java/io/natFileDescriptorWin32.cc
(java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
returns with Win32 error code ERROR_BROKEN_PIPE.

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

21 years ago * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
danglin [Tue, 11 Feb 2003 20:43:41 +0000 (20:43 +0000)]
* inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
* fixincl.x: Rebuilt.
* tests/base/stdlib.h: Update.
* tests/base/ctype.h: New file.

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

21 years ago PR optimization/9651
rth [Tue, 11 Feb 2003 20:43:06 +0000 (20:43 +0000)]
    PR optimization/9651
        * rtlanal.c (may_trap_p): Handle FIX.

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

21 years ago * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
rth [Tue, 11 Feb 2003 20:41:13 +0000 (20:41 +0000)]
    * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
        * doc/invoke.texi: Extra alias.

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

21 years ago * config/rs6000/host-darwin.c: Fix comment.
geoffk [Tue, 11 Feb 2003 20:39:07 +0000 (20:39 +0000)]
* config/rs6000/host-darwin.c: Fix comment.

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

21 years ago * config/rs6000/rs6000.md (divmodsi4): Use register_operand
dje [Tue, 11 Feb 2003 20:38:28 +0000 (20:38 +0000)]
    * config/rs6000/rs6000.md (divmodsi4): Use register_operand
        predicate for mod result.

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

21 years ago2003-02-11 Scott Snyder <snyder@fnal.gov>
paolo [Tue, 11 Feb 2003 19:53:51 +0000 (19:53 +0000)]
2003-02-11  Scott Snyder  <snyder@fnal.gov>

PR libstdc++/9659
* include/bits/fstream.tcc (seekoff): Avoid operator+
for pos_type.

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

21 years ago * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
hubicka [Tue, 11 Feb 2003 19:47:30 +0000 (19:47 +0000)]
* emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.

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

21 years ago * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
rth [Tue, 11 Feb 2003 19:44:46 +0000 (19:44 +0000)]
    * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
        appropriated as globals.
        (ix86_expand_clrstr): Similarly.
        * config/i386/i386.md (cmpstrsi): Similarly.

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

21 years ago * config/h8300/h8300.md (a peephole2): Add a case of 255.
kazu [Tue, 11 Feb 2003 19:36:49 +0000 (19:36 +0000)]
* config/h8300/h8300.md (a peephole2): Add a case of 255.

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

21 years ago * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
sayle [Tue, 11 Feb 2003 19:34:11 +0000 (19:34 +0000)]
* optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
(pow_optab, atan2_optab): Define corresponding macros.
* optabs.c (init_optabs): Initialize pow_optab and atan2_optab.
* genopinit.c (optabs): Implement pow_optab and atan2_optab
using pow?f3 and atan2?f3 patterns.
* builtins.c (expand_errno_check): New function to update errno
if necessary, split out from expand_builtin_mathfn.
(expand_builtin_mathfn): Use expand_errno_check.
(expand_builtin_mathfn_2): New function to handle expanding binary
math functions, reusing the code in expand_errno_check.
(expand_builtin): Handle the pow and atan2 math built-ins,
BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function
expand_builtin_mathfn_2.

* doc/md.texi: Document new pow?f3 and atan2?f3 patterns.

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

21 years ago2003-02-11 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Tue, 11 Feb 2003 18:22:08 +0000 (18:22 +0000)]
2003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>

        * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX

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

21 years ago * combine.c (combine_simplify_rtx): Fix folding of
hubicka [Tue, 11 Feb 2003 18:05:55 +0000 (18:05 +0000)]
* combine.c (combine_simplify_rtx): Fix folding of
nested float_truncates.

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

21 years ago * config/h8300/h8300.md (a peephole2): Fix a typo.
kazu [Tue, 11 Feb 2003 17:41:33 +0000 (17:41 +0000)]
* config/h8300/h8300.md (a peephole2): Fix a typo.

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

21 years ago2003-02-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 15:41:31 +0000 (15:41 +0000)]
2003-02-11  Michael Koch  <konqueror@gmx.de>

       * Makefile.in
       (libgcj_la_OBJECTS): Removed natSelctorImpl.la.

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

21 years ago* arm.mc (return_address_mask): Use CC_REGNUM for the condition code
rearnsha [Tue, 11 Feb 2003 14:44:35 +0000 (14:44 +0000)]
* arm.mc (return_address_mask): Use CC_REGNUM for the condition code
register number.

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

21 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Tue, 11 Feb 2003 13:43:20 +0000 (13:43 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
gtuleu_operator.
* config/h8300/h8300.c (gtuleu_operator): New.
* config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator.
* config/h8300/h8300.md (a peephole2): New.

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

21 years ago * sched-ebb.c (schedule_ebbs): Do not verify_flow_info.
hubicka [Tue, 11 Feb 2003 12:33:52 +0000 (12:33 +0000)]
* sched-ebb.c (schedule_ebbs): Do not verify_flow_info.

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

21 years ago2003-02-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 11:16:18 +0000 (11:16 +0000)]
2003-02-11  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java:
Reformated and removed some code.
(backing_buffer): Removed.
(array_offset): Removed.
(ro): Renamed to readOnly.
(ByteBufferImpl): Use parent constructor, initialize readOnly.
* gnu/java/nio/CharBufferImpl.java:
Reformated and removed some code.
(array_offset): Removed.
(ro): Renamed to readOnly.
(CharBufferImpl): Use parent constructor, initialize readOnly.
(inc_pos): Removed.
(order): New method.
* gnu/java/nio/DoubleBufferImpl.java:
Reformated and removed some code.
(array_offset): Removed.
(ro): Renamed to readOnly.
(DoubleBufferImpl): Use parent constructor, initialize readOnly.
(inc_pos): Removed.
(order): New method.
* gnu/java/nio/FloatBufferImpl.java:
Reformated and removed some code.
(array_offset): Removed.
(ro): Renamed to readOnly.
(FloatBufferImpl): Use parent constructor, initialize readOnly.
(inc_pos): Removed.
(order): New method.
* gnu/java/nio/IntBufferImpl.java:
Reformated and removed some code.
(array_offset): Removed.
(ro): Renamed to readOnly.
(IntBufferImpl): Use parent constructor, initialize readOnly.
(inc_pos): Removed.
(order): New method.
* gnu/java/nio/LongBufferImpl.java:
Reformated and removed some code.
(array_offset): Removed.
(ro): Renamed to readOnly.
(LongBufferImpl): Use parent constructor, initialize readOnly.
(inc_pos): Removed.
(order): New method.
* gnu/java/nio/ShortBufferImpl.java:
Reformated and removed some code.
(array_offset): Removed.
(ro): Renamed to readOnly.
(ShortBufferImpl): Use parent constructor, initialize readOnly.
(inc_pos): Removed.
(order): New method.
* Makefile.am
(ordinary_java_source_files): Added the following files:
gnu/java/nio/ByteBufferImpl.java
gnu/java/nio/CharBufferImpl.java
gnu/java/nio/DoubleBufferImpl.java
gnu/java/nio/FloatBufferImpl.java
gnu/java/nio/IntBufferImpl.java
gnu/java/nio/LongBufferImpl.java
gnu/java/nio/ShortBufferImpl.java
java/nio/DoubleBuffer.java
java/nio/FloatBuffer.java
java/nio/IntBuffer.java
java/nio/LongBuffer.java
java/nio/ShortBuffer.java
(nat_source_files): Added the following files:
gnu/java/nio/natByteBufferImpl.cc
gnu/java/nio/natCharBufferImpl.cc
gnu/java/nio/natDoubleBufferImpl.cc
gnu/java/nio/natFloatBufferImpl.cc
gnu/java/nio/natIntBufferImpl.cc
gnu/java/nio/natLongBufferImpl.cc
gnu/java/nio/natShortBufferImpl.cc
* Makefile.in: Regenerated.

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

21 years ago2003-02-11 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 11 Feb 2003 10:43:49 +0000 (10:43 +0000)]
2003-02-11  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9320
* include/ext/stdio_filebuf.h
(stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
Change to take a __size parameter of type size_t, not
of type (template parameter dependent) int_type.
* src/ios.cc (ios_base::Init::_S_ios_create): Change type of
size vars to size_t.
* testsuite/ext/stdio_filebuf.cc: Add.

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

21 years ago2003-02-11 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 11 Feb 2003 09:59:19 +0000 (09:59 +0000)]
2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/9318
* include/bits/streambuf.tcc (__copy_streambufs):
Don't conditionalize the copy to __testput.
* testsuite/27_io/streambuf_members.cc (test09, test10): Add.

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

21 years ago2003-02-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 09:44:57 +0000 (09:44 +0000)]
2003-02-11  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/natCharBufferImpl.cc
(nio_cast): Removed.
(nio_put_*): Removed.
(nio_get_*): Removed.
* gnu/java/nio/natDoubleBufferImpl.cc
(nio_cast): Removed.
(nio_put_*): Removed.
(nio_get_*): Removed.
* gnu/java/nio/natFloatBufferImpl.cc
(nio_cast): Removed.
(nio_put_*): Removed.
(nio_get_*): Removed.
* gnu/java/nio/natIntBufferImpl.cc
(nio_cast): Removed.
(nio_put_*): Removed.
(nio_get_*): Removed.
* gnu/java/nio/natLongBufferImpl.cc
(nio_cast): Removed.
(nio_put_*): Removed.
(nio_get_*): Removed.
* gnu/java/nio/natShortBufferImpl.cc
(nio_cast): Removed.
(nio_put_*): Removed.
(nio_get_*): Removed.
* gnu/java/nio/SelectorProviderImpl.java
(openDatagramChannel): Throws IOException.
(openPipe): Throws IOException.
(openSelector): Throws IOException.
(openServerSocketChannel): Throws IOException.
(openSocketChannel): Throws IOException.
* gnu/java/nio/ServerSocketChannelImpl.java
(ServerSocketChannelImpl): Throws IOException.
(implCloseSelectableChannel): Throws IOException.
(implConfigureBlocking): Throws IOException.
* java/nio/ByteBuffer.java
(readOnly): Removed.
(hasArray): Use isReadOnly() instead of readOnly.
(array): Use isReadOnly() instead of readOnly.
(arrayOffset): Use isReadOnly() instead of readOnly.
* java/nio/CharBuffer.java
(CharBuffer): Implements Cloneable and CharSequence.

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

21 years ago * predict.c (choose_function_section): Choose sections correctly.
hubicka [Tue, 11 Feb 2003 09:05:30 +0000 (09:05 +0000)]
* predict.c (choose_function_section): Choose sections correctly.

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

21 years ago2003-02-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 07:42:17 +0000 (07:42 +0000)]
2003-02-11  Michael Koch  <konqueror@gmx.de>

* java/nio/Buffer.java
(cap, lim, pos, mark): Made private
(Buffer): Added package private constructor.
* java/nio/ByteBuffer.java
(ByteBuffer): Implements Cloneable.
(offset): New member variable.
(readOnly): New member variable.
(backing_buffer): New member variable.
(allocateDirect): Throw exception and tell that direct buffers are
not supported yet, documentation added.
(allocate): Documentation added.
(wrap): Documentation added.
(ByteBuffer): New constructor.
(hasArray): New method.
(array): New method.
(arrayOffset): New method.
(get): Documentation added.
(put): Documentation added.
* java/nio/CharBuffer.java
(CharBuffer): New constructor.
(compareTo): Don't access member variables of Buffer directly.
* java/nio/DoubleBuffer.java
(allocateDirect): Throw exception and tell that direct buffers are
not supported yet.
* java/nio/FloatBuffer.java
(allocateDirect): Throw exception and tell that direct buffers are
not supported yet.
* java/nio/IntBuffer.java
(allocateDirect): Throw exception and tell that direct buffers are
not supported yet.
* java/nio/LongBuffer.java
(allocateDirect): Throw exception and tell that direct buffers are
not supported yet.
* java/nio/MappedByteBuffer.java
(MappedByteBuffer): New method.
(force): New method.
(isLoaded): New method.
(load): New method.
* java/nio/ShortBuffer.java
(allocateDirect): Throw exception and tell that direct buffers are
not supported yet.

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

21 years ago2003-02-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 06:51:34 +0000 (06:51 +0000)]
2003-02-11  Michael Koch  <konqueror@gmx.de>

* java/nio/DoubleBuffer.java
(DoubleBuffer): Implements Comparable.
(endian): Removed.
(array_offset): New member variable.
(DoubleBuffer): New constuctor.
(get): May not be final.
(put): May not be final.
(arrayOffset): Implemented.
(order): Made abstract.
(order): Removed.
(as*Buffer): Removed.
(get*): Removed.
(put*): Removed.
* java/nio/FloatBuffer.java
(FloatBuffer): Implements Comparable.
(endian): Removed.
(array_offset): New member variable.
(FloatBuffer): New constuctor.
(get): May not be final.
(put): May not be final.
(arrayOffset): Implemented.
(order): Made abstract.
(order): Removed.
(as*Buffer): Removed.
(get*): Removed.
(put*): Removed.
* java/nio/IntBuffer.java
(IntBuffer): Implements Comparable.
(endian): Removed.
(array_offset): New member variable.
(IntBuffer): New constuctor.
(get): May not be final.
(put): May not be final.
(arrayOffset): Implemented.
(order): Made abstract.
(order): Removed.
(as*Buffer): Removed.
(get*): Removed.
(put*): Removed.
* java/nio/LongBuffer.java
(LongBuffer): Implements Comparable.
(endian): Removed.
(array_offset): New member variable.
(LongBuffer): New constuctor.
(get): May not be final.
(put): May not be final.
(arrayOffset): Implemented.
(order): Made abstract.
(order): Removed.
(as*Buffer): Removed.
(get*): Removed.
(put*): Removed.
* java/nio/ShortBuffer.java
(ShortBuffer): Implements Comparable.
(endian): Removed.
(array_offset): New member variable.
(ShortBuffer): New constuctor.
(get): May not be final.
(put): May not be final.
(arrayOffset): Implemented.
(order): Made abstract.
(order): Removed.
(as*Buffer): Removed.
(get*): Removed.
(put*): Removed.

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

21 years ago2003-02-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 06:50:13 +0000 (06:50 +0000)]
2003-02-11   Michael Koch  <konqueror@gmx.de>

* java/nio/channels/SelectionKey.java
(OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
values.

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

21 years ago2003-02-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 06:48:53 +0000 (06:48 +0000)]
2003-02-11  Michael Koch  <konqueror@gmx.de>

* java/nio/channels/DatagramChannel.java
(write): Throws IOException.
(connect): Throws IOException.
(disconnect): Throws IOException.
(read): Throws IOException.
(receive): Throws IOException.
(send): Throws IOException.
* java/nio/channels/Pipe.java
(open): Throws IOException.
* java/nio/channels/SelectableChannel.java
(configureBlocking): Throws IOException.
* java/nio/channels/ServerSocketChannel.java
(accept): Throws IOException.
* java/nio/channels/SocketChannel.java
(SocketChannel): Implements ByteChannel, ScatteringByteChannel,
GatheringByteChannel.
(read): Throws IOException.
(write): Throws IOException.
(finishConnect): Throws IOException.
* java/nio/channels/spi/AbstractInterruptibleChannel.java
(end): Throws AsynchronousCloseException.
* java/nio/channels/spi/AbstractSelectableChannel.java
(configureBlocking): Throws IOException.
(implCloseChannel): Throws IOException.
(implCloseSelectableChannel): Throws IOException.
(implConfigureBlocking): Throws IOException.
* java/nio/channels/spi/SelectorProvider.java
(openDatagramChannel): Throws IOException.
(openPipe): Throws IOException.
(openSelector): Throws IOException.
(openServerSocketChannel): Throws IOException.
(openSocketChannel): Throws IOException.

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

21 years ago2003-02-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 06:47:50 +0000 (06:47 +0000)]
2003-02-11  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileLockImpl.java,
java/nio/channels/FileLock.java: New files.

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

21 years ago2003-02-08 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Feb 2003 06:46:16 +0000 (06:46 +0000)]
2003-02-08  Michael Koch  <konqueror@gmx.de>

* java/nio/charset/IllegalCharsetNameException.java
(serialVersionUID): New member variable.
(charsetName): New member variable.
(IllegalCharsetException): New implementation.
(getCharsetName): New implementation.
* java/nio/charset/UnsupportedCharsetException.java
(serialVersionUID): New member variable.
(charsetName): New member variable.
(UnsupportedCharsetException): New implementation.
(getCharsetName): New implementation.

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

21 years ago* acinclude.m4: Check for native targets that can't link at
dj [Tue, 11 Feb 2003 05:50:01 +0000 (05:50 +0000)]
* acinclude.m4: Check for native targets that can't link at
this point in the build.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

21 years ago * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
tromey [Tue, 11 Feb 2003 05:13:14 +0000 (05:13 +0000)]
* javax/sql/ConnectionEvent.java (serialVersionUID): New field.
(ex): Renamed from sqlException.

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

21 years ago * reload1.c (first_label_num): New.
danglin [Tue, 11 Feb 2003 03:52:28 +0000 (03:52 +0000)]
* reload1.c (first_label_num): New.
(reload): Index offsets_known_at and offsets_at using difference of
label number and first label number.  Don't use offset pointers.
(set_label_offsets, set_initial_label_offsets): Likewise.

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

21 years ago * mips-tfile.c (init_file): Add missing initializers in the
sayle [Tue, 11 Feb 2003 03:47:48 +0000 (03:47 +0000)]
* mips-tfile.c (init_file): Add missing initializers in the
"#ifdef __alpha" case.
(file_offset, max_file_offset): Declare as unsigned long.
(write_varray): Cast to "unsigned long" in comparisons against
either file_offset or max_file_offset.
(write_object): Likewise.
(read_seek): Likewise.
(copy_object): Likewise. Declare "ifd" as int to match its use
in add_ext_symbol, and avoid signed/unsigned conditional warning.

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

21 years agoDaily bump.
gccadmin [Tue, 11 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-02-10 Nick Clifton <nickc@redhat.com>
aldyh [Tue, 11 Feb 2003 00:13:24 +0000 (00:13 +0000)]
2003-02-10  Nick Clifton  <nickc@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
        override options which have been specified on the command line.

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

21 years ago2003-02-10 Raif S. Naffah <raif@fl.net.au>
tromey [Tue, 11 Feb 2003 00:08:32 +0000 (00:08 +0000)]
2003-02-10  Raif S. Naffah  <raif@fl.net.au>

* gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
method used to ensure seeding has occurred and that a specific
seed can be set and used.

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

21 years ago2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
tromey [Mon, 10 Feb 2003 23:52:56 +0000 (23:52 +0000)]
2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>

* java/lang/Win32Process.java (destroy): Declare as native.
(hasExited): New native method.
(exitValue): Define.
(getErrorStream): Likewise.
(getInputStream): Likewise.
(getOutputStream): Likewise.
(waitFor): Declare as native.
(startProcess): New native method.
(cleanup): Likewise.
(ConcreteProcess): Define.
(outputStream, inputStream, errorStream): New members.
(procHandle, exitCode): Likewise.

* java/lang/natWin32Process.cc
(java::lang::ConcreteProcess::cleanup): Define.
(java::lang::ConcreteProcess::destroy): Likewise.
(java::lang::ConcreteProcess::hasExited): Likewise.
(java::lang::ConcreteProcess::waitFor): Likewise.
(new_string): Likewise.
(java::lang::ConcreteProcess::startProcess): Likewise.

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

21 years ago2003-02-10 Raif S. Naffah <raif@fl.net.au>
tromey [Mon, 10 Feb 2003 23:45:31 +0000 (23:45 +0000)]
2003-02-10  Raif S. Naffah <raif@fl.net.au>

* java/math/BigInteger.java:
Updated notice to include years 2002 and 3.
Added 2 private (int) arrays with values from the HAC (Handbook of
Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
and t[] that contains nbr. of tests --used in isProbablePrime().

* java/math/BigInteger.java (make(long)): Merged into valueOf(long).

* java/math/BigInteger.java (make(int[],int), add(int,int),
add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
make(long).

* java/math/BigInteger.java (euclidInv): Reduce number of work vars
(euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
(euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
BIs and returns void.
(modInverse(BI)): Use new signatures of euclidInv().

* java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
static small primes instead of remainder().
Use pre-computed max nbr of trials based on bitlength of BI to test.
Use pre-computed small primes for the trial tests instead of random
numbers.

* java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
not used.

* java/math/BigInteger.java (format(int,StringBuffer)): Removed
invoacation of MPN.chars_per_word().  not used.

* java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
local var and used where needed.

* java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
Combined declaration with initialisation of locals.
Removed unused var.

* java/math/BigInteger.java: Style changes
(pow(int)): Removed 'else' keyword.
(toString(int)): idem.
(doubleValue()): idem.
(bitLength()): idem.
(equals(Object)): Use static methods name in same class w/o prepending
class name.
(doubleValue()): idem.
(setNegative(BI)): idem.
(negate()): idem.
(and(BI,int)): idem.
(and(BI)): idem.
(gcd(BI)): idem.
(byteArrayToIntArray()): Removed casting to (int). this is
std. behaviour.
(canonicalize()): idem.
(alloc(int)): Always instantiate a new BI.

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

21 years ago * config/h8300/h8300.md (abssf2): New.
kazu [Mon, 10 Feb 2003 22:45:39 +0000 (22:45 +0000)]
* config/h8300/h8300.md (abssf2): New.
(*abssf2_h8300): Likewise.
(*abssf2_h8300hs): Likewise.

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

21 years ago2003-02-10 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 10 Feb 2003 20:47:04 +0000 (20:47 +0000)]
2003-02-10  Phil Edwards  <pme@gcc.gnu.org>

* tree.c (build_tree_list):  Fix parameter names in comment.

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

21 years ago2003-02-10 Janis Johnson <janis187@us.ibm.com>
janis [Mon, 10 Feb 2003 20:45:59 +0000 (20:45 +0000)]
2003-02-10  Janis Johnson  <janis187@us.ibm.com>

* config/rs6000/ppc64-fp.c: New file.
* config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.

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

21 years ago- Really commit ctz patch.
dje [Mon, 10 Feb 2003 20:13:01 +0000 (20:13 +0000)]
- Really commit ctz patch.

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

21 years ago * java/sql/Timestamp.java (compareTo(Object)): New method.
tromey [Mon, 10 Feb 2003 19:56:12 +0000 (19:56 +0000)]
* java/sql/Timestamp.java (compareTo(Object)): New method.
(compareTo(Timestamp)): Likewise.
(serialVersionUID): Updated.

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

21 years ago * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
zlomek [Mon, 10 Feb 2003 19:18:42 +0000 (19:18 +0000)]
* Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
* bb-reorder.c (make_reorder_chain): Deleted.
(make_reorder_chain_1): Deleted.
(find_traces): New function.
(rotate_loop): New function.
(mark_bb_visited): New function.
(find_traces_1_round): New function.
(copy_bb): New function.
(bb_to_key): New function.
(better_edge_p): New function.
(connect_traces): New function.
(copy_bb_p): New function.
(get_uncond_jump_length): New function.
(reorder_basic_blocks): Use new functions (Software Trace Cache).
* cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
boundaries.

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

21 years ago2003-02-10 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 10 Feb 2003 18:42:19 +0000 (18:42 +0000)]
2003-02-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.

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

21 years ago * tree.h (struct tree_decl): Remove unused live_range_rtl field.
geoffk [Mon, 10 Feb 2003 17:46:07 +0000 (17:46 +0000)]
* tree.h (struct tree_decl): Remove unused live_range_rtl field.
(DECL_LIVE_RANGE_RTL): Remove.

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

21 years ago * cp-tree.h (struct lang_type_header): Make all fields unsigned
geoffk [Mon, 10 Feb 2003 17:44:55 +0000 (17:44 +0000)]
    * cp-tree.h (struct lang_type_header): Make all fields unsigned
        char.

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

21 years agoReplace occurances of "GNU CC" with "GCC" and reformat as appropriate.
nickc [Mon, 10 Feb 2003 16:33:09 +0000 (16:33 +0000)]
Replace occurances of "GNU CC" with "GCC" and reformat as appropriate.

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

21 years ago * config/h8300/clzsi2.c: Remove.
kazu [Mon, 10 Feb 2003 13:20:54 +0000 (13:20 +0000)]
* config/h8300/clzsi2.c: Remove.
* config/h8300/ctzsi2.c: Likewise.
* config/h8300/paritysi2.c: Likewise.
* config/h8300/popcountsi2.c: Likewise.
* config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
ctzsi2, paritysi2, and popcountsi2.

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

21 years ago PR c/7741
ebotcazou [Mon, 10 Feb 2003 12:45:54 +0000 (12:45 +0000)]
PR c/7741
* c-decl.c (duplicate_decls): Discard the initializer of the
new decl when the types are conflicting.

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

21 years ago * Makefile.in (sreal.o): Added.
zlomek [Mon, 10 Feb 2003 12:34:24 +0000 (12:34 +0000)]
* Makefile.in (sreal.o): Added.
(predict.o): Depends on sreal.h instead of real.h.
* sreal.c: New file.
* sreal.h: New file.
* predict.c: Use sreal.c instead of real.c.

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

21 years ago * gcc.dg/i386-fpcvt-1.c: New test.
hubicka [Mon, 10 Feb 2003 12:12:56 +0000 (12:12 +0000)]
* gcc.dg/i386-fpcvt-1.c:  New test.

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

21 years agooops - omiited from previous delta:
nickc [Mon, 10 Feb 2003 11:46:40 +0000 (11:46 +0000)]
oops - omiited from previous delta:

    * Contributed support for the Cirrus EP9312 "Maverick"
    floating point co-processor.  Written by Aldy Hernandez
    <aldyh@redhat.com>.
    (config/arm/arm.c): Add Cirrus support.
    (config/arm/arm.h): Likewise.
    (config/arm/aout.h): Likewise.
    (config/arm/arm.md): Likewise.
    (config/arm/arm-protos.h): Likewise.
    (config.gcc): Likewise.
    (doc/invoke.texi): Describe new -mcpu value and new
    -mcirrus-fix-invalid-insns switch,
    (cirrus.md): New file.

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

21 years agoAdd support for Cirrus EP9312, an ARM variant.
nickc [Mon, 10 Feb 2003 11:45:26 +0000 (11:45 +0000)]
Add support for Cirrus EP9312, an ARM variant.

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

21 years ago * combine.c (combine_simplify_rtx): Simplify using
hubicka [Mon, 10 Feb 2003 10:56:05 +0000 (10:56 +0000)]
* combine.c (combine_simplify_rtx): Simplify using
(float_truncate (float x)) is (float x)
(float_extend (float_extend x)) is (float_extend x).

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

21 years ago * calls.c (try_to_integrate): Tidy stack_usage_map access.
amodra [Mon, 10 Feb 2003 06:16:53 +0000 (06:16 +0000)]
* calls.c (try_to_integrate): Tidy stack_usage_map access.
(emit_library_call_value_1): Likewise. Formatting.
(store_one_arg): Likewise.

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

21 years ago2003-02-09 Nick Clifton <nickc@redhat.com>
aldyh [Mon, 10 Feb 2003 05:00:17 +0000 (05:00 +0000)]
2003-02-09  Nick Clifton  <nickc@redhat.com>
            Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
        spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
        spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
        spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
        spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
        docs.  Add range test for immediate value.

2003-02-09  Aldy Hernandez  <aldyh@redhat.com>

        Rename spe_evxor to xorv2si3.
        (xorv4hi3): New.
        (xorv1di3): New.

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

21 years ago * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
gerald [Mon, 10 Feb 2003 00:24:44 +0000 (00:24 +0000)]
* doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
tag.

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

21 years agoDaily bump.
gccadmin [Mon, 10 Feb 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * i386.c (vector_move_operand): New predicate.
hubicka [Sun, 9 Feb 2003 23:30:51 +0000 (23:30 +0000)]
* i386.c (vector_move_operand): New predicate.
(ix86_expand_vector_move): Be happy about 0.
* i386.h (PREDICATE_CODES): Add sse-move_operand.
* i386.md (mov*_internal): Add 'C' alternative.

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

21 years ago * i386.md (floathi*): Deal with SSE.
hubicka [Sun, 9 Feb 2003 22:59:20 +0000 (22:59 +0000)]
* i386.md (floathi*): Deal with SSE.

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

21 years ago * simplify-rtx.c (simplify_unary_operation,
hubicka [Sun, 9 Feb 2003 22:55:35 +0000 (22:55 +0000)]
* simplify-rtx.c (simplify_unary_operation,
simplify_binary_operation):  Deal with vector modes
(simplify_ternary_operation):  Deal with no-op VEC_MERGE.

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

21 years ago * toplev.c (rest_of_compilation): Recompute register usage after
rsandifo [Sun, 9 Feb 2003 19:18:54 +0000 (19:18 +0000)]
* toplev.c (rest_of_compilation): Recompute register usage after
split_all_insns.

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

21 years ago * libgcc-std.ver (__clztf2): New.
rth [Sun, 9 Feb 2003 18:35:22 +0000 (18:35 +0000)]
    * libgcc-std.ver (__clztf2): New.
        (__ctztf2, __popcounttf2, __paritytf2): New.
        * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
        __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
        adjust code to match the different type sizes.
        * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
        __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.

        * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
        TImode; select word_mode and twice that.
        (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
        select the modes from float, double, and long double.
        (init_optabs): Remove duplicate initializations.

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

21 years ago * gcc.c-torture/execute/builtin-bitops-1.c: When testing the
kazu [Sun, 9 Feb 2003 13:09:45 +0000 (13:09 +0000)]
* gcc.c-torture/execute/builtin-bitops-1.c: When testing the
int-wide bitops, use the constants of the same width.
Likewise, if long long is 32-bit wide, test bitops using
32-bit constants.

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

21 years ago * doc/install.texi: Squeeze and streamline section on
gerald [Sun, 9 Feb 2003 13:04:01 +0000 (13:04 +0000)]
* doc/install.texi: Squeeze and streamline section on
testing and regression checking.

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

21 years ago * i386.md (ahi?v*3): Set third operand type to TImode.
hubicka [Sun, 9 Feb 2003 12:35:28 +0000 (12:35 +0000)]
* i386.md (ahi?v*3): Set third operand type to TImode.
* i386.c (ix86_expand_binop_builtin): Extend operand when needed.

* simplify-rtx.c (simplify_subreg): Fix conversion from vector into
integer mode.

* rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
Change code so they are arithmetic expressions now.
* simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
simplify_ternary_operation): Deal with VEC_* expressions.

* i386.md (vmaskcmp, pinsrw, movd patterns):  Fix RTL representation.

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

21 years ago * cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
hubicka [Sun, 9 Feb 2003 11:06:41 +0000 (11:06 +0000)]
* cfgrtl.c (verify_flow_info):  Use control_flow_insn_p.
* reload1.c (fixup_abnormal_edges):  Split basic blocks when EH edges
possibly got duplicated.

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

21 years ago * config/alpha/alpha.c (override_options): Turn off explicit
rth [Sun, 9 Feb 2003 05:21:00 +0000 (05:21 +0000)]
    * config/alpha/alpha.c (override_options): Turn off explicit
        relocs until post-peep2 code duplication resolved.

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

21 years ago * optabs.c (expand_unop): Widen clz properly when clz is done
kazu [Sun, 9 Feb 2003 04:25:16 +0000 (04:25 +0000)]
* optabs.c (expand_unop): Widen clz properly when clz is done
via libcall.

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

21 years ago * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
danglin [Sun, 9 Feb 2003 03:23:13 +0000 (03:23 +0000)]
* hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
Correct alignment.
(__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
lock.

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

21 years agoDaily bump.
gccadmin [Sun, 9 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * jcf-io.c (java_or_class_file): Use libiberty's lbasename
sayle [Sat, 8 Feb 2003 18:49:22 +0000 (18:49 +0000)]
* jcf-io.c (java_or_class_file): Use libiberty's lbasename
instead of basename to avoid compiler warnings on Tru64.

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

21 years ago * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
kazu [Sat, 8 Feb 2003 18:27:12 +0000 (18:27 +0000)]
* config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
* config/h8300/crti.asm: Likewise.
* config/h8300/crtn.asm: Likewise.
* config/h8300/ctzsi2.c: Likewise.
* config/h8300/fixunssfsi.c: Likewise.
* config/h8300/h8300-protos.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* config/h8300/paritysi2.c: Likewise.
* config/h8300/popcountsi2.c: Likewise.
* config/h8300/rtems.h: Likewise.

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

21 years ago * doc/invoke.texi: Documentation for my previous commit.
rakdver [Sat, 8 Feb 2003 14:51:06 +0000 (14:51 +0000)]
* doc/invoke.texi: Documentation for my previous commit.
* doc/passes.texi: Ditto.

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

21 years ago * cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
rakdver [Sat, 8 Feb 2003 14:29:00 +0000 (14:29 +0000)]
* cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
Declare.
(DLTHE_FLAG_UPDATE_FREQ): New.
* cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
fix_bb_placement, fix_bb_placements, place_new_loop,
scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
New static functions.
(fix_loop_placement, can_duplicate_loop_p,
duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
New functions.

* cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
unswitch_loops): Declare.
* loop-init.c: New file.
* loop-unswitch.c: New file.
* Makefile.in (loop-init.o, loop-unswitch.o): New.
* params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
* toplev.c (DFI_loop2): New dump.
(flag_unswitch_loops): New.
(lang_independent_options): Add it.
(rest_of_compilation): Call new loop optimizer.
(parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.

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

21 years ago * config/h8300/clzsi2.c: New.
kazu [Sat, 8 Feb 2003 13:22:46 +0000 (13:22 +0000)]
* config/h8300/clzsi2.c: New.
* config/h8300/ctzsi2.c: Likewise.
* config/h8300/paritysi2.c: Likewise.
* config/h8300/popcountsi2.c: Likewise.
* config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.

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