1. 26 Sep, 2003 10 commits
    • expr.c (emit_move_insn_1): If there is no move pattern for the original mode... · 5581fc91
      	* expr.c (emit_move_insn_1): If there is no move pattern for the
      	original mode, try using a pattern for the corresponding integer mode.
      
      From-SVN: r71816
      Richard Sandiford committed
    • * combine.c (if_then_else_cond): Tighten mode check. · 9eb54558
      From-SVN: r71815
      Richard Sandiford committed
    • cppcharset.c, cpphash.h: Rename 'struct strbuf' to 'struct _cpp_strbuf'. · a8016863
      	* cppcharset.c, cpphash.h: Rename 'struct strbuf' to
      	'struct _cpp_strbuf'.
      
      From-SVN: r71814
      Nathanael Nerode committed
    • netbsd-elf.h, [...]: Replace "GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC". · a805d35f
      	* config/i386/netbsd-elf.h, config/i386/netbsd64.h,
      	config/i386/netware.h, config/i386/nto.h, config/i386/openbsd.h,
      	config/i386/pentium.md, config/i386/pmmintrin.h, config/i386/ppro.md,
      	config/i386/ptx4-i.h, config/i386/rtemself.h, config/i386/sco5.h,
      	config/i386/sol2.h, config/i386/svr3gas.h, config/i386/sysv3.h,
      	config/i386/sysv4-cpp.h, config/i386/sysv4.h, config/i386/sysv5.h,
      	config/i386/unix.h, config/i386/uwin.h, config/i386/vsta.h,
      	config/i386/xm-cygwin.h, config/i386/xm-djgpp.h,
      	config/i386/xm-mingw32.h, config/i386/xmmintrin.h: Replace
      	"GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC".
      
      From-SVN: r71813
      Nathanael Nerode committed
    • Fix build failure. · eac559b6
      * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
      (select): Likewise.
      (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
      
      From-SVN: r71812
      Jeff Sturm committed
    • i386-aout.h, [...]: GNU CC -> GCC. · 188fc5b5
      	* config/i386/i386-aout.h, config/i386/i386-coff.h,
      	config/i386/i386-interix.h, config/i386/i386-interix3.h,
      	config/i386/i386-modes.def, config/i386/i386-protos.h,
      	config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
      	config/i386/i386elf.h, config/i386/k6.md, config/i386/kaos-i386.h,
      	config/i386/linux-aout.h, config/i386/linux.h, config/i386/linux64.h,
      	config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
      	config/i386/mmintrin.h, config/i386/moss.h: GNU CC -> GCC.
      	"GNU compiler" -> GCC.
      
      From-SVN: r71811
      Nathanael Nerode committed
    • att.h, [...]: GNU CC -> GCC. · e20285ad
      	* config/i386/att.h, config/i386/beos-elf.h, config/i386/biarch64.h,
      	config/i386/bsd.h, config/i386/crtdll.h, config/i386/cygming.h,
      	config/i386/cygwin.h, config/i386/cygwin1.c, config/i386/cygwin2.c,
      	config/i386/darwin.h, config/i386/djgpp.h, config/i386/emmintrin.h,
      	config/i386/freebsd-aout.h, config/i386/freebsd.h,
      	config/i386/freebsd64.h, config/i386/gas.h: GNU CC -> GCC.
      
      From-SVN: r71810
      Nathanael Nerode committed
    • re PR libstdc++/12352 (Exception safety problems in src/localename.cc) · 91675f9d
      2003-09-25  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/12352
      	* src/localename.cc (locale::_Impl::_Impl(const _Impl&,
      	size_t)): Don't leak if memory allocations for _M_facets,
      	_M_caches, and _M_names fail.
      	(locale::_Impl::_Impl(const char*, size_t)): Ditto.
      	(locale::_Impl::_M_replace_categories(const _Impl*,
      	category)): Ditto.
      	(locale::_Impl::_M_install_facet(const locale::id*,
      	const facet*)): Ditto.
      	* include/bits/locale_classes.h (locale::locale(const locale&,
      	_Facet*)): Don't leak memory.
      	* testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
      
      	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
      	bool)): Qualify with std:: strcpy, tweak.
      	* include/bits/locale_classes.h
      	(locale::_Impl::_M_check_same_name): Qualify strcmp.
      
      From-SVN: r71808
      Paolo Carlini committed
    • Daily bump. · 81a1dd18
      From-SVN: r71806
      GCC Administrator committed
    • cgraph.c (dump_cgraph): Don't output newline before dump. · 7d82fe7c
      2003-09-23  Kelley Cook  <kelleycook@wideopenwest.com>
      
      	* cgraph.c (dump_cgraph):  Don't output newline before dump.  Add in
      	"local" to the callgraph dump.  Output "after inlining" earlier.
      	* cgraphunit.c: Fix dumpfile whitespace and commonize headers of the
      	callgraph dumps.  Correct misspellings.
      	(cgraph_decide_inlining):  Output number of insns before inlining.
      	Output the calling function into which a function is inlined.
      	(cgraph_decide_small_functions): Format dump file like always_inline.
      
      From-SVN: r71804
      Kelley Cook committed
  2. 25 Sep, 2003 30 commits
    • s390.c (s390_emit_prologue): Simplify accesses to FPR slots in the save area. · 7333171f
      	* config/s390/s390.c (s390_emit_prologue): Simplify accesses to
      	FPR slots in the save area.
      	(s390_emit_epilogue): Likewise.
      
      From-SVN: r71799
      Ulrich Weigand committed
    • [multiple changes] · 775ee48e
      
      2003-09-25  Brad Spencer  <spencer@infointeractive.com>
      
      	PR libstdc++/6072
      	* acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
      	wcstof, iswblank.
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* crossconfig.m4: Add in wchar_t bits for solaris crosses.
      	* config/io/basic_file_stdio.cc: Guard unistd.h.
      	* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
      	* include/c_std/std_cwchar.h: Same.
      	* include/c_std/std_cwctype.h: Same.
      
      2003-09-25  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/11065
      	* 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: r71798
      Benjamin Kosnik committed
    • 2003-09-25 Michael Koch <konqueror@gmx.de> · 1bfb64ff
      	* gnu/java/nio/DatagramChannelImpl.java
      	(getNativeFD): New method.
      	* gnu/java/nio/SelectionKeyImpl.java
      	(SelectionKeyImpl): Class made abstract.
      	(fd): Removed.
      	(SelectionKeyImpl): Remove fd argument.
      	(getNativeFD): New method.
      	* gnu/java/nio/SocketChannelImpl.java
      	(getNativeFD): New method.
      	gnu/java/nio/DatagramChannelSelectionKey.java,
      	* gnu/java/nio/SocketChannelSelectionKey.java:
      	New files.
      	* Makefile.am (ordinary_java_source_files):
      	Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
      	gnu/java/nio/SocketChannelSelectionKey.java.
      	* Makefile.in: Regenerated.
      
      From-SVN: r71797
      Michael Koch committed
    • 2003-09-25 Michael Koch <konqueror@gmx.de> · 73a1415e
      	* java/lang/reflect/Proxy.java
      	(getProxyClass): Remove workaround for gcj 3.0.x.
      
      From-SVN: r71796
      Michael Koch committed
    • re PR c++/6072 (3.2 g++ testsuite breakage on cygwin) · 2b1be54b
      
      2003-09-25  Brad Spencer  <spencer@infointeractive.com>
      
      	PR libstdc++/6072
      	* acinclude.m4:
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* crossconfig.m4: Add in wchar_t bits for solaris crosses.
      	* config/io/basic_file_stdio.cc: Guard unistd.h.
      	* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
      	* include/c_std/std_cwchar.h: Same.
      	* include/c_std/std_cwctype.h: Same.
      
      From-SVN: r71795
      Brad Spencer committed
    • 2003-09-25 Michael Koch <konqueror@gmx.de> · bf172f54
      	* gnu/java/net/PlainDatagramSocketImpl.java
      	(finalize): Moved to directly after constructor.
      	(getNativeFD): New method.
      	* gnu/java/net/PlainSocketImpl.java
      	(getNativeFD): New method.
      
      From-SVN: r71792
      Michael Koch committed
    • ObjectOutputStream.java: Allow putFields be called more than once. · 9481d818
      2003-09-25  Ingo Proetel  <proetel@aicas.com>
      
      	* java/io/ObjectOutputStream.java:
      	Allow putFields be called more than once.
      
      From-SVN: r71791
      Ingo Proetel committed
    • Really commit the files. · 864135da
      From-SVN: r71790
      Sascha Brawer committed
    • Raster.java (Raster): Interpret null origin as (0,0). · 2ccba5f0
      2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
      
      	* java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
      	* java/awt/image/WritableRaster.java(WritableRaster): Likewise.
      	* java/awt/image/BufferedImage.java (toString): Implement.
      
      From-SVN: r71789
      Sascha Brawer committed
    • aclocal.m4: Rebuilt. · 0d9c8a12
      * aclocal.m4: Rebuilt.
      * configure: Rebuilt.
      
      From-SVN: r71788
      Jeff Sturm committed
    • cgraph.h (cgraph_remove_edge): Declare. · cb967da5
      	* cgraph.h (cgraph_remove_edge): Declare.
      	* cgraph.c (cgraph_remove_edge): Make extern.
      	* cgraphunit.c (cgraph_finalize_function): Call cgraph_remove_edge
      	instead of cgraph_remove_call.
      
      From-SVN: r71784
      Richard Sandiford committed
    • * objc/objc-act.c (gen_declaration_1): Fix printf format. · 1992534f
      From-SVN: r71783
      Ulrich Weigand committed
    • SimpleDateFormat.java (parse): Don't use class calendar field. · cc9556b9
      2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
      
      	* java/text/SimpleDateFormat.java (parse): Don't use class calendar
      	field.
      
      From-SVN: r71782
      Guilhem Lavaux committed
    • 2003-09-25 Michael Koch <konqueror@gmx.de> · c5fd8041
      	* gnu/java/nio/SelectorImpl.java
      	(implSelect): Renamed from java_do_select.
      	(select): Call native implSelect() and add support for Thread
      	interruption.
      	* gnu/java/nio/natSelectorImpl.cc
      	(implSelect): Renamed from java_do_select.
      
      From-SVN: r71781
      Michael Koch committed
    • ctype_members.cc (ctype<wchar_t>::do_is): Fix. · 465ad0c7
      
      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
      Benjamin Kosnik committed
    • 2003-09-25 Michael Koch <konqueror@gmx.de> · 6cbaf038
      	* 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
      Michael Koch committed
    • [multiple changes] · bc7ac0d8
      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
      Michael Koch committed
    • * acx.m4 (AC_PROG_CPP_WERROR): New. · 029e256e
      From-SVN: r71776
      Daniel Jacobowitz committed
    • configure.in: Use AC_PROG_CPP_WERROR. · b033df90
      	* configure.in: Use AC_PROG_CPP_WERROR.
      	* configure: Regenerated.
      
      From-SVN: r71775
      Daniel Jacobowitz committed
    • DecimalFormat.java (format): Don't immediatly round baseNumber to long. · eaaad728
      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
      Guilhem Lavaux committed
    • Makefile.am (version_dep): New variable. · 7b865c36
      	* 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
      Ulrich Weigand committed
    • re PR c++/5655 (Member redeclared within its class definition with a different… · 37d407a1
      re PR c++/5655 (Member redeclared within its class definition with a 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
      Kriang Lerdsuwanakij committed
    • 2003-09-25 Michael Koch <konqueror@gmx.de> · 21e69789
      	* 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
      Michael Koch committed
    • arm.c (all_cores): arm710t, arm720t and arm740t are all based on the arm7tdmi core. · 131b9f3d
      * arm.c (all_cores): arm710t, arm720t and arm740t are all based on the
      arm7tdmi core.
      
      From-SVN: r71768
      Richard Earnshaw committed
    • InetAddress.java: Reorder imports, remove implementation comment. · 194c91ec
      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
      Michael Koch committed
    • darwin-protos.h (objc_image_info_section): New prototype. · 26d8a393
      2003-09-25  Ziemowit Laski  <zlaski@apple.com>
      
              * config/darwin-protos.h (objc_image_info_section):
              New prototype.
      
      From-SVN: r71766
      Ziemowit Laski committed
    • Proxy.java (generate): Uncomment protection domain code. · b9f42bb0
      	* 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
      Tom Tromey committed
    • Makefile.in (stub-objc.o): Depend on $(GGC_H). · d70f15d2
      2003-09-25  Ziemowit Laski  <zlaski@apple.com>
      
              * Makefile.in (stub-objc.o): Depend on $(GGC_H).
      
      From-SVN: r71764
      Ziemowit Laski committed
    • config.gcc: Get rid of more gratuitious 'x'es. · 16aa42c0
      	* config.gcc: Get rid of more gratuitious 'x'es.  Actually allow
      	tsc701 as a --with-cpu, --with-tune setting for sparc.
      
      From-SVN: r71763
      Nathanael Nerode committed