- 11 Feb, 2003 32 commits
-
-
From-SVN: r62715
Geoffrey Keating committed -
* config/rs6000/rs6000.md (divmodsi4): Use register_operand predicate for mod result. From-SVN: r62714
David Edelsohn committed -
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 -
From-SVN: r62711
Jan Hubicka committed -
* 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 -
From-SVN: r62709
Kazu Hirata committed -
* 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 -
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. From-SVN: r62702
Jan Hubicka committed -
From-SVN: r62701
Kazu Hirata committed -
* 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. From-SVN: r62699
Richard Earnshaw committed -
* 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 -
From-SVN: r62694
Jan Hubicka committed -
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 -
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 -
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 -
* 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 -
From-SVN: r62686
Jan Hubicka committed -
* 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 -
* 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 -
* java/nio/channels/SelectionKey.java (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct values. From-SVN: r62683
Michael Koch committed -
* 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. From-SVN: r62682
Michael Koch committed -
2003-02-11 Michael Koch <konqueror@gmx.de> * gnu/java/nio/FileLockImpl.java, java/nio/channels/FileLock.java: New files. From-SVN: r62681
Michael Koch committed -
* 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. From-SVN: r62680
Michael Koch committed -
* acinclude.m4: Check for native targets that can't link at this point in the build. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r62679
DJ Delorie committed -
* javax/sql/ConnectionEvent.java (serialVersionUID): New field. (ex): Renamed from sqlException. From-SVN: r62678
Tom Tromey committed -
* 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. From-SVN: r62672
John David Anglin committed -
* 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. From-SVN: r62671
Roger Sayle committed -
From-SVN: r62669
GCC Administrator committed -
eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not override options which have been specified on the command line. 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. Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r62662
Nick Clifton committed -
SHA1PRNG.java (ensureIsSeeded): new method used to ensure seeding has occurred and that a specific seed can be... 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. From-SVN: r62660
Raif S. Naffah committed
-
- 10 Feb, 2003 8 commits
-
-
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. From-SVN: r62657
Ranjit Mathew committed -
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. From-SVN: r62656
Raif S. Naffah committed -
* config/h8300/h8300.md (abssf2): New. (*abssf2_h8300): Likewise. (*abssf2_h8300hs): Likewise. From-SVN: r62654
Kazu Hirata committed -
2003-02-10 Phil Edwards <pme@gcc.gnu.org> * tree.c (build_tree_list): Fix parameter names in comment. From-SVN: r62653
Phil Edwards committed -
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. From-SVN: r62652
Janis Johnson committed -
From-SVN: r62649
David Edelsohn committed -
* java/sql/Timestamp.java (compareTo(Object)): New method. (compareTo(Timestamp)): Likewise. (serialVersionUID): Updated. From-SVN: r62648
Tom Tromey committed -
* 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. From-SVN: r62645
Josef Zlomek committed
-