1. 12 Feb, 2003 5 commits
  2. 11 Feb, 2003 35 commits
    • Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu which refers to obsolete... · 76438597
      	* Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
      	which refers to obsolete directories.
      
      From-SVN: r62738
      Nathanael Nerode committed
    • * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New. · 09b568fc
      From-SVN: r62736
      Richard Henderson committed
    • i386.c (override_options): Define c3-2 as a 686 with SSE. · a0777b62
              * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
              * doc/invoke.texi: Extra alias.
      
      From-SVN: r62735
      Richard Henderson committed
    • i386.c (contains_128bit_aligned_vector_p): New function. · 8b978a57
      	* i386.c (contains_128bit_aligned_vector_p): New function.
      	(ix86_function_arg_boundary): Properly align vector modes.
      
      From-SVN: r62732
      Jan Hubicka committed
    • locale_facets.h (__num_base): Add _S_atoms_out. · ce3039af
      
      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.
      
      Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
      
      From-SVN: r62731
      Jerry Quinn committed
    • xtensa.md (set_frame_ptr): Change rtl to set reg a7. · a3259be8
              * 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.
      
      From-SVN: r62730
      Bob Wilson committed
    • Add missing log entry from commit. · 16ddb599
      From-SVN: r62729
      John David Anglin committed
    • Fix double applied patch. · a81f80bc
      From-SVN: r62728
      Richard Henderson committed
    • ra-build.c (compare_and_free_webs): Relax checking. · d58f6584
      
      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.
      
      From-SVN: r62724
      Dale Johannesen committed
    • 2003-02-11 Ranjit Mathew <rmathew@hotmail.com> · 668ec083
      	* java/io/natFileDescriptorWin32.cc
      	(java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
      	returns with Win32 error code ERROR_BROKEN_PIPE.
      
      From-SVN: r62722
      Ranjit Mathew committed
    • inclhack.def (hpux_long_double, [...]): New hacks. · 2026dcf9
      	* 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.
      
      From-SVN: r62718
      John David Anglin committed
    • re PR rtl-optimization/9651 ([Alpha] FPE with NAN in spite of isnan protection) · 22fd5743
              PR optimization/9651
              * rtlanal.c (may_trap_p): Handle FIX.
      
      From-SVN: r62717
      Falk Hueffner committed
    • i386.c (override_options): Define c3-2 as a 686 with SSE. · 3462df62
              * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
              * doc/invoke.texi: Extra alias.
      
      From-SVN: r62716
      Dave Jones committed
    • * config/rs6000/host-darwin.c: Fix comment. · a693fbb9
      From-SVN: r62715
      Geoffrey Keating committed
    • rs6000.md (divmodsi4): Use register_operand predicate for mod result. · bb157ff4
              * config/rs6000/rs6000.md (divmodsi4): Use register_operand
              predicate for mod result.
      
      From-SVN: r62714
      David Edelsohn committed
    • re PR libstdc++/9659 (3.3/3.4 seekoff overload problem with optimization) · 74db1461
      2003-02-11  Scott Snyder  <snyder@fnal.gov>
      
      	PR libstdc++/9659
      	* include/bits/fstream.tcc (seekoff): Avoid operator+
      	for pos_type.
      
      From-SVN: r62712
      Scott Snyder committed
    • i386.c (ix86_expand_movstr): Fail if esi or edi appropriated as globals. · d0a5295a
              * 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.
      
      From-SVN: r62710
      Richard Henderson committed
    • * config/h8300/h8300.md (a peephole2): Add a case of 255. · 9672132f
      From-SVN: r62709
      Kazu Hirata committed
    • optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2. · b5e01d4b
      
      	* 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.
      
      From-SVN: r62708
      Roger Sayle committed
    • gcconfig.h: undefine MPROTECT_VDB for MACOSX · 290a4db9
      2003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>
      
              * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
      
      From-SVN: r62705
      Andreas Tobler committed
    • combine.c (combine_simplify_rtx): Fix folding of nested float_truncates. · cb119f82
      	* combine.c (combine_simplify_rtx): Fix folding of
      	nested float_truncates.
      
      From-SVN: r62702
      Jan Hubicka committed
    • * config/h8300/h8300.md (a peephole2): Fix a typo. · a05566a3
      From-SVN: r62701
      Kazu Hirata committed
    • 2003-02-11 Michael Koch <konqueror@gmx.de> · 68441a3b
             * Makefile.in
             (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
      
      From-SVN: r62700
      Michael Koch committed
    • arm.mc (return_address_mask): Use CC_REGNUM for the condition code register number. · 20ae4500
      * arm.mc (return_address_mask): Use CC_REGNUM for the condition code
      register number.
      
      From-SVN: r62699
      Richard Earnshaw committed
    • h8300-protos.h: Add a prototype for gtuleu_operator. · 717d8b71
      	* 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.
      
      From-SVN: r62696
      Kazu Hirata committed
    • * sched-ebb.c (schedule_ebbs): Do not verify_flow_info. · e36e8f52
      From-SVN: r62694
      Jan Hubicka committed
    • ByteBufferImpl.java: Reformated and removed some code. · 248606ee
      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.
      
      From-SVN: r62692
      Michael Koch committed
    • re PR libstdc++/9320 (Incorrect usage of traits_type::int_type in stdio_filebuf) · dfc7d899
      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.
      
      From-SVN: r62691
      Paolo Carlini committed
    • re PR libstdc++/9318 (i/ostream::operator>>/<<(streambuf*) broken) · da61d022
      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.
      
      Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
      
      From-SVN: r62689
      Paolo Carlini committed
    • 2003-02-11 Michael Koch <konqueror@gmx.de> · 194ea9ce
      	* 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.
      
      From-SVN: r62688
      Michael Koch committed
    • 2003-02-11 Michael Koch <konqueror@gmx.de> · d19e783c
      	* 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.
      
      From-SVN: r62685
      Michael Koch committed
    • 2003-02-11 Michael Koch <konqueror@gmx.de> · c0da2641
      	* 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.
      
      From-SVN: r62684
      Michael Koch committed