aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-09-25ctype_members.cc (ctype<wchar_t>::do_is): Fix.Benjamin Kosnik7-35/+100
2003-09-25 Benjamin Kosnik <bkoz@redhat.com> * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix. * config/locale/generic/ctype_members.cc: Same. * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask. * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same. * config/os/generic/ctype_inline.h: Update. From-SVN: r71780
2003-09-252003-09-25 Michael Koch <konqueror@gmx.de>Michael Koch3-68/+42
* gnu/java/nio/SelectorImpl.java (selectNow): Made final, throws IOException. (select): Likewise. (getFDsAsArray): Made final. (selectedKeys): Likewise. (wakeup): Likewise. (deregisterCancelledKeys): Likewise. (register): Likewise. (ass): Removed. (add_selected): Removed. * gnu/java/nio/natSelectorImpl.cc: No need to include bstring.h or gcj/cni.h. (helper_put_filedescriptors): Rewritten. (helper_get_filedescriptors): Rewritten. From-SVN: r71779
2003-09-25[multiple changes]Michael Koch5-4/+80
2003-09-25 Sascha Brawer <brawer@dandelis.ch> * java/awt/font/FontRenderContext.java (getTransform): Return copy of internal transform object. Add Javadoc. * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same winding rule as Sun J2SE. * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix. 2003-09-25 Ingo Proetel <proetel@aicas.com> * java/rmi/Naming.java: Added comments, now accepts pseudo protocol "rmi". From-SVN: r71777
2003-09-25* acx.m4 (AC_PROG_CPP_WERROR): New.Daniel Jacobowitz2-0/+19
From-SVN: r71776
2003-09-25configure.in: Use AC_PROG_CPP_WERROR.Daniel Jacobowitz3-679/+424
* configure.in: Use AC_PROG_CPP_WERROR. * configure: Regenerated. From-SVN: r71775
2003-09-25DecimalFormat.java (format): Don't immediatly round baseNumber to long.Guilhem Lavaux2-5/+14
2003-09-25 Guilhem Lavaux <guilhem@kaffe.org> * java/text/DecimalFormat.java (format): Don't immediatly round baseNumber to long. (setMinimumIntegerDigits): Call super. (setMinimumFractionDigits): Likewise. (setMaximumIntegerDigits): Likewise. (setMaximumFractionDigits): Likewise. From-SVN: r71773
2003-09-25Makefile.am (version_dep): New variable.Ulrich Weigand3-4/+13
* src/Makefile.am (version_dep): New variable. (libstdc___la_DEPENDENCIES): Use it to add dependency on libstdc++-symbol.ver only when using symbol versioning. * src/Makefile.in: Regenerate. From-SVN: r71772
2003-09-25re PR c++/5655 (Member redeclared within its class definition with a ↵Kriang Lerdsuwanakij5-3/+56
different access specifier is not rejected) PR c++/5655 * parser.c (cp_parser_check_access_in_redeclaration): New function. (cp_parser_member_declaration): Use it. (cp_parser_template_declaration_after_export): Likewise. * g++.dg/parse/access7.C: New test. * g++.old-deja/g++.brendan/crash56.C: Fix redeclaration error. From-SVN: r71771
2003-09-252003-09-25 Michael Koch <konqueror@gmx.de>Michael Koch8-85/+439
* gnu/java/nio/DatagramChannelImpl.java (DatagramChannelImpl): Made class final. (blocking): Made private. (socket): Made it a NIODatagramSocket and private. (DatagramChannelImpl): create NIODatagramSocket instead of DatagramSocket. (implConfigureBlocking): Set socket timeout. (connect): Check that channel is not closed. (write): Implemented. (write): Rewritten. (read): Implemented. (read): Rewritten. (receive): Implemented. (send): Implemented. * gnu/java/nio/SelectionKeyImpl.java (readyOps): Made private. (interestOps): Made private. (impl): Made private. (ch): Made private. (readyOps): Check if selection key is valid. (interestOps): Likewise. * gnu/java/nio/SelectorImpl.java (closed): Removed. (keys): Made private. (selected): Made private. (finalize): New method. (implCloseSelector): Rewritten. (keys): Return unmodifiable Set. (deregisterCancelledKeys): Fixed typo in method name. * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Made class final. (socket): Made it a NIOSocket and private. (blocking): Made private. (connected): Made private. (connectionPending): New member variable. (SocketChannelImpl): New implementation. (finalizer): Use isConnected(). (connect): Rewritten. (finishConnect): Throws IOException, implemented. (isConnectionPending): Return connectionPending. (read): Rewritten. (write): Rewritten. * gnu/java/nio/NIOConstants.java: New file. * Makefile.am (ordinary_java_source_files): Added gnu/java/nio/NIOConstants.java. * Makefile.in: Regenerated. From-SVN: r71769
2003-09-25arm.c (all_cores): arm710t, arm720t and arm740t are all based on the ↵Richard Earnshaw2-3/+8
arm7tdmi core. * arm.c (all_cores): arm710t, arm720t and arm740t are all based on the arm7tdmi core. From-SVN: r71768
2003-09-25InetAddress.java: Reorder imports, remove implementation comment.Michael Koch3-20/+32
2003-09-25 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java: Reorder imports, remove implementation comment. (isMulticastAddress): Merged documentation from classpath. * java/net/URLConnection.java (setRequestProperty): Check key for null, fix documentation. (adREquestProperty): Check key for null, remove wrong implementation and replace it with comment to overwrite this method in subclasses, fix documentation. From-SVN: r71767
2003-09-25darwin-protos.h (objc_image_info_section): New prototype.Ziemowit Laski2-0/+6
2003-09-25 Ziemowit Laski <zlaski@apple.com> * config/darwin-protos.h (objc_image_info_section): New prototype. From-SVN: r71766
2003-09-25Proxy.java (generate): Uncomment protection domain code.Tom Tromey11-690/+880
* java/lang/reflect/Proxy.java (generate): Uncomment protection domain code. * java/lang/natClassLoader.cc (defineClass): Added `loader' argument. (linkClass0): Now in VMClassLoader. (markClassErrorState0): Likewise. (getSystemClassLoaderInternal): New method. * java/lang/natClass.cc (initializeClass): Use VMClassLoader::resolveClass. * java/lang/ClassLoader.java: New version, from Classpath. * java/lang/Class.java (getProtectionDomain): protectionDomainPermission and unknownProtectionDomain now in VMClassLoader. * java/lang/Class.h: VMClassLoader now a friend class. * gnu/gcj/runtime/VMClassLoader.java (instance): Now package-private. * gcj/javaprims.h: Regenerated class list. * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass. * java/lang/VMClassLoader.java: New version from Classpath; modified for libgcj use. From-SVN: r71765
2003-09-25Makefile.in (stub-objc.o): Depend on $(GGC_H).Ziemowit Laski2-2/+7
2003-09-25 Ziemowit Laski <zlaski@apple.com> * Makefile.in (stub-objc.o): Depend on $(GGC_H). From-SVN: r71764
2003-09-25config.gcc: Get rid of more gratuitious 'x'es.Nathanael Nerode2-41/+37
* config.gcc: Get rid of more gratuitious 'x'es. Actually allow tsc701 as a --with-cpu, --with-tune setting for sparc. From-SVN: r71763
2003-09-25cp-parse.in (objc_try_stmt): Do not specify a %type.Ziemowit Laski2-1/+5
2003-09-25 Ziemowit Laski <zlaski@apple.com> * cp-parse.in (objc_try_stmt): Do not specify a %type. From-SVN: r71762
2003-09-25config.gcc: New 'widely ported system' clause for rtems.Nathanael Nerode2-36/+10
* config.gcc: New 'widely ported system' clause for rtems. Set thread file there, not in individual clauses. From-SVN: r71761
2003-09-25mips.c (mips_va_arg): Handle arguments that must be passed on the stack.Richard Sandiford2-0/+24
* config/mips/mips.c (mips_va_arg): Handle arguments that must be passed on the stack. From-SVN: r71760
2003-09-25config.gcc (widely ported systems section): Mostly alphabetize by system.Nathanael Nerode2-75/+78
* config.gcc (widely ported systems section): Mostly alphabetize by system. Comment the case where we can't. From-SVN: r71759
2003-09-25Forgot to add in last commit.Michael Koch2-3/+5
From-SVN: r71758
2003-09-25ByteBufferHelper.java: New file.Michael Koch5-395/+711
2003-09-25 Michael Koch <konqueror@gmx.de> * java/nio/ByteBufferHelper.java: New file. * java/nio/ByteBufferImpl.java, java/nio/DirectByteBufferImpl.java, java/nio/MappedByteBufferImpl.java (getType,putType): Use new helper class ByteBufferHelper. * Makefile.am (ordinary_java_source_files): Added java/nio/ByteBufferHelper.java. * Makefile.in: Regenerated. From-SVN: r71757
2003-09-25* config.gcc (widely ported systems section): Reindent and clean up.Nathanael Nerode2-142/+148
From-SVN: r71756
2003-09-25config.gcc: Remove some unnecessary uses of 'x' in case statements.Nathanael Nerode2-29/+32
* config.gcc: Remove some unnecessary uses of 'x' in case statements. Actually allow ep9312 as an arm --with-arch setting. From-SVN: r71755
2003-09-25* config.gcc (*-hpux11): Disable fixproto.Nathanael Nerode2-0/+7
From-SVN: r71752
2003-09-25re PR pch/12112 (Putting PCH files in a directory completely broken)Phil Edwards2-7/+16
2003-09-24 Phil Edwards <phil@codesourcery.com> PR pch/12112 * gcc/cppfiles.c (pch_open_file): Return based on combined result of all files. (validate_pch): Return validate flag for current file. From-SVN: r71751
2003-09-25re PR libgcj/12388 (mingw32 target fails to build libjava)Bryce McKinlay2-0/+7
* gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes. PR libgcj/12388. From-SVN: r71750
2003-09-25re PR bootstrap/12358 (Bootstrap comparison failure!)Roger Sayle2-10/+6
PR bootstrap/12358 * fold-const.c (tree_swap_operands_p): Only reorder operands when one of the operands is constant. From-SVN: r71749
2003-09-25MERGE OF objc-improvements-branch into MAINLINE.Ziemowit Laski120-1479/+5734
2003-09-24 Ziemowit Laski <zlaski@apple.com> MERGE OF objc-improvements-branch into MAINLINE. See 'gcc/ChangeLog' and 'gcc/testsuite/ChangeLog' for the gory details. From-SVN: r71748
2003-09-25Daily bump.GCC Administrator2-2/+2
From-SVN: r71746
2003-09-24cpplib.c (do_pragma): Reintroduce cb_line_change call in the code path that ↵Alexandre Oliva2-2/+17
calls a handler. * cpplib.c (do_pragma): Reintroduce cb_line_change call in the code path that calls a handler. From-SVN: r71744
2003-09-24* gcc.dg/cpp/Wunknown-pragmas-1.c: New test.Alexandre Oliva2-0/+33
From-SVN: r71743
2003-09-24config.gcc (c4x-*, [...]): Disable fixproto.Nathanael Nerode2-0/+6
* config.gcc (c4x-*, tic4x-*, d30v-*, mmix-knuth-mmixware): Disable fixproto. From-SVN: r71740
2003-09-24config.gcc: Clean up and reindent $with_cpu=yes|no clause and the section ↵Nathanael Nerode2-92/+90
giving $with_cpu... * config.gcc: Clean up and reindent $with_cpu=yes|no clause and the section giving $with_cpu defaults by target. From-SVN: r71738
2003-09-24config.gcc (arm-*-coff*, [...]): Disable fixproto.Nathanael Nerode2-0/+18
* config.gcc (arm-*-coff*, armel-*-coff*, arm*-*-ecos-elf, arm*-*-elf, ep9312-*-elf, arm*-wince-pe*, arm*-*-pe*, arm*-*-pe*, rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*, rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*, rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*, i[34567]86-pc-msdosdjgpp*): Disable fixproto. From-SVN: r71737
2003-09-24rs6000.md (movti_power): Collapse case 1 and 2 together.David Edelsohn2-3/+8
* config/rs6000/rs6000.md (movti_power): Collapse case 1 and 2 together. Protect load string instruction with TARGET_STRING. (movti_string): Collapse case 1 and 2 together. From-SVN: r71736
2003-09-24* class.c (build_utf8_ref): Test for HAVE_GAS_SHF_MERGE value.Rainer Orth2-17/+22
From-SVN: r71733
2003-09-24* c-common.c (c_common_type_for_mode): Check for VOIDmode.Nathan Sidwell2-0/+7
From-SVN: r71732
2003-09-24arm.h (ASM_OUTPUT_REG_PUSH, [...]): Wrap in do...while(0)Richard Earnshaw2-11/+22
* arm.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Wrap in do...while(0) From-SVN: r71731
2003-09-24* config/t-darwin (crt2.o): Add stmp-int-hdrs to dependencies.Geoffrey Keating2-1/+3
From-SVN: r71728
2003-09-24StringBuffer.java (substring): Don't set `shared' on small Strings, even if ↵Bryce McKinlay2-4/+10
buffer is already shared. * java/lang/StringBuffer.java (substring): Don't set `shared' on small Strings, even if buffer is already shared. From-SVN: r71726
2003-09-24acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.Michael Koch2-1/+6
2003-09-24 Michael Koch <konqueror@gmx.de> * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h. From-SVN: r71725
2003-09-24PlainSocketImpl.java (read): Remove declaration.Bryce McKinlay9-457/+84
* gnu/java/net/PlainSocketImpl.java (read): Remove declaration. (write): Likewise. (SocketInputStream, SocketOutputStream): Declare `read' and `write' native. Remove implementations which called back into PlainSocketImpl. Remove unneccessary overridden methods. * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation to inner class PlainSocketImpl.SocketInputStream. (write): Likewise. * gnu/java/net/natPlainSocketImplPosix.cc: As above. * gnu/java/net/natPlainSocketImplWin32.cc: As above. * gnu/java/net/SocketInputStream.java: Remove unused file. * gnu/java/net/SocketOutputStream.java: Likewise. * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream and SocketOutputStream. * Makefile.in: Rebuilt. From-SVN: r71724
2003-09-24config.gcc: Move use_fixproto=no from generic vxworks clause to specific one.Nathanael Nerode2-1/+4
* config.gcc: Move use_fixproto=no from generic vxworks clause to specific one. From-SVN: r71723
2003-09-24config.gcc (powerpc-*-gnu-gnualtivec*): Disable fixproto (accidentally ↵Nathanael Nerode2-0/+6
missed in last pass). * config.gcc (powerpc-*-gnu-gnualtivec*): Disable fixproto (accidentally missed in last pass). From-SVN: r71722
2003-09-23re PR bootstrap/12383 (Bootstrap fails in dwarf2out with ↵Andrew Pinski2-80/+92
`HAVE_GAS_SHF_MERGE' undeclared) 2003-09-23 Andrew Pinski <apinski@apple.com> PR bootstrap/12383 * configure: Regenerate. From-SVN: r71721
2003-09-24config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally missed in ↵Nathanael Nerode2-0/+6
last pass). * config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally missed in last pass). From-SVN: r71720
2003-09-24mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe constant.Alexandre Oliva2-2/+7
* config/mn10300/mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe constant. From-SVN: r71718
2003-09-24* config.gcc: Move vax-*-vms* unsupported notice up with the rest.Nathanael Nerode2-4/+3
From-SVN: r71715
2003-09-24config.gcc (alpha64*-dec-*vms*, [...]): Disable fixproto.Nathanael Nerode2-0/+10
* config.gcc (alpha64*-dec-*vms*, alpha*-dec-*vms*, powerpc-*-eabisim*, powerpc-*-eabi*, powerpcle-*-eabisim*, powerpcle-*-eabi*): Disable fixproto. From-SVN: r71714
2003-09-24config.gcc: Move use_fixproto=no from generic FreeBSD clause to specific ↵Nathanael Nerode2-1/+9
FreeBSD clauses. * config.gcc: Move use_fixproto=no from generic FreeBSD clause to specific FreeBSD clauses. From-SVN: r71713