Roger Sayle [Fri, 26 Sep 2003 18:23:33 +0000 (18:23 +0000)]
re PR rtl-optimization/11741 (internal compiler error at gcse.c:5318)
PR optimization/11741
* gcse.c (pre_insert_copy_insn): Tweak the logic for finding the
appropriate set to match that in hash_scan_insn. Fall back to
the original copy method, if we can't validate changing insn.
(pre_delete): Only delete instructions that have a single_set,
instead of aborting when we encounter an PARALLEL insn with more
then one SET.
* gcc.dg/
20030926-1.c: New test case.
From-SVN: r71827
Andreas Krebbel [Fri, 26 Sep 2003 16:41:58 +0000 (16:41 +0000)]
s390.md ("builtin_setjmp_setup"): Insn deleted.
2003-09-26 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md ("builtin_setjmp_setup"): Insn deleted.
("builtin_longjmp"): Insn deleted.
("save_stack_nonlocal"): Save literal pool base pointer behind
backchain and stack pointer.
("restore_stack_nonlocal"): Restore literal pool base pointer.
* config/s390/s390.h (STACK_SAVEAREA_MODE): Double size of
the stack save area for the nonlocal goto case.
From-SVN: r71826
Michael Koch [Fri, 26 Sep 2003 16:22:09 +0000 (16:22 +0000)]
ByteBufferHelper.java: Totally reworked with help from Eric Blake.
2003-09-26 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBufferHelper.java:
Totally reworked with help from Eric Blake.
From-SVN: r71823
John David Anglin [Fri, 26 Sep 2003 16:03:12 +0000 (16:03 +0000)]
re PR bootstrap/12358 (Bootstrap comparison failure!)
PR bootstrap/12358
* pa.c (output_bvb): Fix typo.
From-SVN: r71822
Gabriel Dos Reis [Fri, 26 Sep 2003 15:21:30 +0000 (15:21 +0000)]
decl.c (pop_binding_level, [...]): Merge into leave_scope.
* decl.c (pop_binding_level, suspend_binding_level,
find_class_binding_level): Merge into leave_scope. Remove.
(leave_scope): New function.
(poplevel): Update.
(poplevel_class): Likewise.
(pop_namespace): Likewise.
From-SVN: r71821
Tom Tromey [Fri, 26 Sep 2003 15:14:21 +0000 (15:14 +0000)]
RoundRectangle2D.java (getPathIterator): Wrote.
* java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
* java/awt/geom/PathIterator.java: Documentation fixes.
From-SVN: r71820
Richard Sandiford [Fri, 26 Sep 2003 13:28:45 +0000 (13:28 +0000)]
expmed.c (store_bit_field): Don't search for an integer mode unless we need the result.
* expmed.c (store_bit_field): Don't search for an integer mode
unless we need the result.
From-SVN: r71819
Richard Sandiford [Fri, 26 Sep 2003 06:08:48 +0000 (06:08 +0000)]
expr.c (emit_move_insn_1): If there is no move pattern for the original mode...
* 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 [Fri, 26 Sep 2003 06:05:48 +0000 (06:05 +0000)]
* combine.c (if_then_else_cond): Tighten mode check.
From-SVN: r71815
Nathanael Nerode [Fri, 26 Sep 2003 05:52:43 +0000 (05:52 +0000)]
cppcharset.c, cpphash.h: Rename 'struct strbuf' to 'struct _cpp_strbuf'.
* cppcharset.c, cpphash.h: Rename 'struct strbuf' to
'struct _cpp_strbuf'.
From-SVN: r71814
Nathanael Nerode [Fri, 26 Sep 2003 04:07:46 +0000 (04:07 +0000)]
netbsd-elf.h, [...]: Replace "GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC".
* 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
Jeff Sturm [Fri, 26 Sep 2003 03:50:45 +0000 (03:50 +0000)]
Fix build failure.
* gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
(select): Likewise.
(register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
From-SVN: r71812
Nathanael Nerode [Fri, 26 Sep 2003 03:46:06 +0000 (03:46 +0000)]
i386-aout.h, [...]: GNU CC -> GCC.
* 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 [Fri, 26 Sep 2003 03:28:27 +0000 (03:28 +0000)]
att.h, [...]: GNU CC -> GCC.
* 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
Paolo Carlini [Fri, 26 Sep 2003 00:22:01 +0000 (02:22 +0200)]
re PR libstdc++/12352 (Exception safety problems in src/localename.cc)
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
GCC Administrator [Fri, 26 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r71806
Kelley Cook [Fri, 26 Sep 2003 00:14:28 +0000 (00:14 +0000)]
cgraph.c (dump_cgraph): Don't output newline before dump.
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
Loren J. Rittle [Thu, 25 Sep 2003 23:58:19 +0000 (23:58 +0000)]
* config/i386/i386.h (ix86_return_in_memory): Add prototype.
From-SVN: r71803
Ulrich Weigand [Thu, 25 Sep 2003 21:38:43 +0000 (21:38 +0000)]
s390.c (s390_emit_prologue): Simplify accesses to FPR slots in the save area.
* config/s390/s390.c (s390_emit_prologue): Simplify accesses to
FPR slots in the save area.
(s390_emit_epilogue): Likewise.
From-SVN: r71799
Benjamin Kosnik [Thu, 25 Sep 2003 21:32:14 +0000 (21:32 +0000)]
[multiple changes]
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
Michael Koch [Thu, 25 Sep 2003 21:14:43 +0000 (21:14 +0000)]
2003-09-25 Michael Koch <konqueror@gmx.de>
* 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 [Thu, 25 Sep 2003 20:46:14 +0000 (20:46 +0000)]
2003-09-25 Michael Koch <konqueror@gmx.de>
* java/lang/reflect/Proxy.java
(getProxyClass): Remove workaround for gcj 3.0.x.
From-SVN: r71796
Brad Spencer [Thu, 25 Sep 2003 20:30:20 +0000 (20:30 +0000)]
re PR c++/6072 (3.2 g++ testsuite breakage on cygwin)
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
Michael Koch [Thu, 25 Sep 2003 19:22:32 +0000 (19:22 +0000)]
2003-09-25 Michael Koch <konqueror@gmx.de>
* 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
Ingo Proetel [Thu, 25 Sep 2003 19:06:20 +0000 (19:06 +0000)]
ObjectOutputStream.java: Allow putFields be called more than once.
2003-09-25 Ingo Proetel <proetel@aicas.com>
* java/io/ObjectOutputStream.java:
Allow putFields be called more than once.
From-SVN: r71791
Sascha Brawer [Thu, 25 Sep 2003 18:35:44 +0000 (18:35 +0000)]
Really commit the files.
From-SVN: r71790
Sascha Brawer [Thu, 25 Sep 2003 18:31:48 +0000 (18:31 +0000)]
Raster.java (Raster): Interpret null origin as (0,0).
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
Jeff Sturm [Thu, 25 Sep 2003 18:26:53 +0000 (18:26 +0000)]
aclocal.m4: Rebuilt.
* aclocal.m4: Rebuilt.
* configure: Rebuilt.
From-SVN: r71788
Richard Sandiford [Thu, 25 Sep 2003 18:11:19 +0000 (18:11 +0000)]
cgraph.h (cgraph_remove_edge): Declare.
* 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
Ulrich Weigand [Thu, 25 Sep 2003 17:53:41 +0000 (17:53 +0000)]
* objc/objc-act.c (gen_declaration_1): Fix printf format.
From-SVN: r71783
Guilhem Lavaux [Thu, 25 Sep 2003 17:25:15 +0000 (17:25 +0000)]
SimpleDateFormat.java (parse): Don't use class calendar field.
2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/SimpleDateFormat.java (parse): Don't use class calendar
field.
From-SVN: r71782
Michael Koch [Thu, 25 Sep 2003 17:09:23 +0000 (17:09 +0000)]
2003-09-25 Michael Koch <konqueror@gmx.de>
* 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
Benjamin Kosnik [Thu, 25 Sep 2003 16:37:24 +0000 (16:37 +0000)]
ctype_members.cc (ctype<wchar_t>::do_is): Fix.
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
Michael Koch [Thu, 25 Sep 2003 15:35:21 +0000 (15:35 +0000)]
2003-09-25 Michael Koch <konqueror@gmx.de>
* 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 [Thu, 25 Sep 2003 14:38:02 +0000 (14:38 +0000)]
[multiple changes]
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
Daniel Jacobowitz [Thu, 25 Sep 2003 14:27:52 +0000 (14:27 +0000)]
* acx.m4 (AC_PROG_CPP_WERROR): New.
From-SVN: r71776
Daniel Jacobowitz [Thu, 25 Sep 2003 14:27:45 +0000 (14:27 +0000)]
configure.in: Use AC_PROG_CPP_WERROR.
* configure.in: Use AC_PROG_CPP_WERROR.
* configure: Regenerated.
From-SVN: r71775
Guilhem Lavaux [Thu, 25 Sep 2003 13:21:27 +0000 (13:21 +0000)]
DecimalFormat.java (format): Don't immediatly round baseNumber to long.
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
Ulrich Weigand [Thu, 25 Sep 2003 12:56:10 +0000 (12:56 +0000)]
Makefile.am (version_dep): New variable.
* 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
Kriang Lerdsuwanakij [Thu, 25 Sep 2003 12:51:39 +0000 (12:51 +0000)]
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
Michael Koch [Thu, 25 Sep 2003 10:17:00 +0000 (10:17 +0000)]
2003-09-25 Michael Koch <konqueror@gmx.de>
* 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
Richard Earnshaw [Thu, 25 Sep 2003 08:53:49 +0000 (08:53 +0000)]
arm.c (all_cores): arm710t, arm720t and arm740t are all based on the arm7tdmi core.
* arm.c (all_cores): arm710t, arm720t and arm740t are all based on the
arm7tdmi core.
From-SVN: r71768
Michael Koch [Thu, 25 Sep 2003 08:22:56 +0000 (08:22 +0000)]
InetAddress.java: Reorder imports, remove implementation comment.
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
Ziemowit Laski [Thu, 25 Sep 2003 08:09:42 +0000 (08:09 +0000)]
darwin-protos.h (objc_image_info_section): New prototype.
2003-09-25 Ziemowit Laski <zlaski@apple.com>
* config/darwin-protos.h (objc_image_info_section):
New prototype.
From-SVN: r71766
Tom Tromey [Thu, 25 Sep 2003 07:46:19 +0000 (07:46 +0000)]
Proxy.java (generate): Uncomment protection domain code.
* 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
Ziemowit Laski [Thu, 25 Sep 2003 07:33:38 +0000 (07:33 +0000)]
Makefile.in (stub-objc.o): Depend on $(GGC_H).
2003-09-25 Ziemowit Laski <zlaski@apple.com>
* Makefile.in (stub-objc.o): Depend on $(GGC_H).
From-SVN: r71764
Nathanael Nerode [Thu, 25 Sep 2003 07:30:57 +0000 (07:30 +0000)]
config.gcc: Get rid of more gratuitious 'x'es.
* config.gcc: Get rid of more gratuitious 'x'es. Actually allow
tsc701 as a --with-cpu, --with-tune setting for sparc.
From-SVN: r71763
Ziemowit Laski [Thu, 25 Sep 2003 07:17:02 +0000 (07:17 +0000)]
cp-parse.in (objc_try_stmt): Do not specify a %type.
2003-09-25 Ziemowit Laski <zlaski@apple.com>
* cp-parse.in (objc_try_stmt): Do not specify a %type.
From-SVN: r71762
Nathanael Nerode [Thu, 25 Sep 2003 07:12:41 +0000 (07:12 +0000)]
config.gcc: New 'widely ported system' clause for rtems.
* config.gcc: New 'widely ported system' clause for rtems.
Set thread file there, not in individual clauses.
From-SVN: r71761
Richard Sandiford [Thu, 25 Sep 2003 07:04:05 +0000 (07:04 +0000)]
mips.c (mips_va_arg): Handle arguments that must be passed on the stack.
* config/mips/mips.c (mips_va_arg): Handle arguments that must be
passed on the stack.
From-SVN: r71760
Nathanael Nerode [Thu, 25 Sep 2003 07:00:01 +0000 (07:00 +0000)]
config.gcc (widely ported systems section): Mostly alphabetize by system.
* config.gcc (widely ported systems section): Mostly alphabetize
by system. Comment the case where we can't.
From-SVN: r71759
Michael Koch [Thu, 25 Sep 2003 06:56:06 +0000 (06:56 +0000)]
Forgot to add in last commit.
From-SVN: r71758
Michael Koch [Thu, 25 Sep 2003 06:43:52 +0000 (06:43 +0000)]
ByteBufferHelper.java: New file.
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
Nathanael Nerode [Thu, 25 Sep 2003 06:29:23 +0000 (06:29 +0000)]
* config.gcc (widely ported systems section): Reindent and clean up.
From-SVN: r71756
Nathanael Nerode [Thu, 25 Sep 2003 05:52:28 +0000 (05:52 +0000)]
config.gcc: Remove some unnecessary uses of 'x' in case statements.
* config.gcc: Remove some unnecessary uses of 'x' in case statements.
Actually allow ep9312 as an arm --with-arch setting.
From-SVN: r71755
Nathanael Nerode [Thu, 25 Sep 2003 05:25:18 +0000 (05:25 +0000)]
* config.gcc (*-hpux11): Disable fixproto.
From-SVN: r71752
Phil Edwards [Thu, 25 Sep 2003 04:46:44 +0000 (04:46 +0000)]
re PR pch/12112 (Putting PCH files in a directory completely broken)
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
Bryce McKinlay [Thu, 25 Sep 2003 03:04:41 +0000 (03:04 +0000)]
re PR libgcj/12388 (mingw32 target fails to build libjava)
* gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
PR libgcj/12388.
From-SVN: r71750
Roger Sayle [Thu, 25 Sep 2003 02:12:13 +0000 (02:12 +0000)]
re PR bootstrap/12358 (Bootstrap comparison failure!)
PR bootstrap/12358
* fold-const.c (tree_swap_operands_p): Only reorder operands when
one of the operands is constant.
From-SVN: r71749
Ziemowit Laski [Thu, 25 Sep 2003 01:26:01 +0000 (01:26 +0000)]
MERGE OF objc-improvements-branch into MAINLINE.
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
GCC Administrator [Thu, 25 Sep 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r71746
Alexandre Oliva [Wed, 24 Sep 2003 23:53:07 +0000 (23:53 +0000)]
cpplib.c (do_pragma): Reintroduce cb_line_change call in the code path that calls a handler.
* cpplib.c (do_pragma): Reintroduce cb_line_change call in the
code path that calls a handler.
From-SVN: r71744
Alexandre Oliva [Wed, 24 Sep 2003 23:52:32 +0000 (23:52 +0000)]
* gcc.dg/cpp/Wunknown-pragmas-1.c: New test.
From-SVN: r71743
Nathanael Nerode [Wed, 24 Sep 2003 22:33:00 +0000 (22:33 +0000)]
config.gcc (c4x-*, [...]): Disable fixproto.
* config.gcc (c4x-*, tic4x-*, d30v-*, mmix-knuth-mmixware):
Disable fixproto.
From-SVN: r71740
Nathanael Nerode [Wed, 24 Sep 2003 21:34:14 +0000 (21:34 +0000)]
config.gcc: Clean up and reindent $with_cpu=yes|no clause and the section 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
Nathanael Nerode [Wed, 24 Sep 2003 21:24:44 +0000 (21:24 +0000)]
config.gcc (arm-*-coff*, [...]): Disable fixproto.
* 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
David Edelsohn [Wed, 24 Sep 2003 19:32:46 +0000 (19:32 +0000)]
rs6000.md (movti_power): Collapse case 1 and 2 together.
* 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
Rainer Orth [Wed, 24 Sep 2003 13:07:25 +0000 (13:07 +0000)]
* class.c (build_utf8_ref): Test for HAVE_GAS_SHF_MERGE value.
From-SVN: r71733
Nathan Sidwell [Wed, 24 Sep 2003 09:15:21 +0000 (09:15 +0000)]
* c-common.c (c_common_type_for_mode): Check for VOIDmode.
From-SVN: r71732
Richard Earnshaw [Wed, 24 Sep 2003 09:06:32 +0000 (09:06 +0000)]
arm.h (ASM_OUTPUT_REG_PUSH, [...]): Wrap in do...while(0)
* arm.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Wrap in
do...while(0)
From-SVN: r71731
Geoffrey Keating [Wed, 24 Sep 2003 07:49:13 +0000 (07:49 +0000)]
* config/t-darwin (crt2.o): Add stmp-int-hdrs to dependencies.
From-SVN: r71728
Bryce McKinlay [Wed, 24 Sep 2003 06:19:24 +0000 (06:19 +0000)]
StringBuffer.java (substring): Don't set `shared' on small Strings, even if 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
Michael Koch [Wed, 24 Sep 2003 05:39:23 +0000 (05:39 +0000)]
acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2003-09-24 Michael Koch <konqueror@gmx.de>
* acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
From-SVN: r71725
Bryce McKinlay [Wed, 24 Sep 2003 05:38:36 +0000 (05:38 +0000)]
PlainSocketImpl.java (read): Remove declaration.
* 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
Nathanael Nerode [Wed, 24 Sep 2003 04:09:00 +0000 (04:09 +0000)]
config.gcc: Move use_fixproto=no from generic vxworks clause to specific one.
* config.gcc: Move use_fixproto=no from generic vxworks clause to
specific one.
From-SVN: r71723
Nathanael Nerode [Wed, 24 Sep 2003 04:03:46 +0000 (04:03 +0000)]
config.gcc (powerpc-*-gnu-gnualtivec*): Disable fixproto (accidentally missed in last pass).
* config.gcc (powerpc-*-gnu-gnualtivec*): Disable fixproto
(accidentally missed in last pass).
From-SVN: r71722
Andrew Pinski [Wed, 24 Sep 2003 03:56:49 +0000 (03:56 +0000)]
re PR bootstrap/12383 (Bootstrap fails in dwarf2out with `HAVE_GAS_SHF_MERGE' undeclared)
2003-09-23 Andrew Pinski <apinski@apple.com>
PR bootstrap/12383
* configure: Regenerate.
From-SVN: r71721
Nathanael Nerode [Wed, 24 Sep 2003 03:52:29 +0000 (03:52 +0000)]
config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally missed in last pass).
* config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally
missed in last pass).
From-SVN: r71720
Alexandre Oliva [Wed, 24 Sep 2003 02:56:46 +0000 (02:56 +0000)]
mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe constant.
* config/mn10300/mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe
constant.
From-SVN: r71718
Nathanael Nerode [Wed, 24 Sep 2003 02:42:13 +0000 (02:42 +0000)]
* config.gcc: Move vax-*-vms* unsupported notice up with the rest.
From-SVN: r71715
Nathanael Nerode [Wed, 24 Sep 2003 02:37:52 +0000 (02:37 +0000)]
config.gcc (alpha64*-dec-*vms*, [...]): Disable fixproto.
* config.gcc (alpha64*-dec-*vms*, alpha*-dec-*vms*,
powerpc-*-eabisim*, powerpc-*-eabi*, powerpcle-*-eabisim*,
powerpcle-*-eabi*): Disable fixproto.
From-SVN: r71714
Nathanael Nerode [Wed, 24 Sep 2003 02:28:51 +0000 (02:28 +0000)]
config.gcc: Move use_fixproto=no from generic FreeBSD clause to specific FreeBSD clauses.
* config.gcc: Move use_fixproto=no from generic FreeBSD clause to
specific FreeBSD clauses.
From-SVN: r71713
Nathanael Nerode [Wed, 24 Sep 2003 02:19:38 +0000 (02:19 +0000)]
config.gcc: Move use_fixproto=no from generic NetBSD clause to specific NetBSD clauses.
* config.gcc: Move use_fixproto=no from generic NetBSD clause to
specific NetBSD clauses.
From-SVN: r71712
Nathanael Nerode [Wed, 24 Sep 2003 02:10:04 +0000 (02:10 +0000)]
config.gcc: Move use_fixproto=no from generic OpenBSD clause to specific OpenBSD clauses.
* config.gcc: Move use_fixproto=no from generic OpenBSD clause
to specific OpenBSD clauses.
From-SVN: r71711
Nathanael Nerode [Wed, 24 Sep 2003 01:56:56 +0000 (01:56 +0000)]
* java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
From-SVN: r71710
John David Anglin [Wed, 24 Sep 2003 01:38:32 +0000 (01:38 +0000)]
pa.c (hppa_expand_prologue): Do pic register save in frame marker without adding a frame note.
* pa.c (hppa_expand_prologue): Do pic register save in frame marker
without adding a frame note.
* pa.md (allocate_stack): Save pic register in new frame marker when
generating pic code.
From-SVN: r71709
GCC Administrator [Wed, 24 Sep 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r71706
Kelley Cook [Wed, 24 Sep 2003 00:05:42 +0000 (00:05 +0000)]
cgraphunit.c (cgraph_expand_all_functions): Renamed from cgraph_expand_functions.
2003-09-23 Kelley Cook <kelleycook@wideopenwest.com>
* cgraphunit.c (cgraph_expand_all_functions): Renamed from
cgraph_expand_functions.
From-SVN: r71704
Kaveh R. Ghazi [Tue, 23 Sep 2003 22:57:53 +0000 (22:57 +0000)]
Makefile.in (gnucompare*): Merge into ...
* Makefile.in (gnucompare*): Merge into ...
(slowcompare*): ... here.
(fastcompare*): New targets.
* aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): Add checks for
other "fast" cmp programs.
* configure: Regenerate.
From-SVN: r71703
Rainer Orth [Tue, 23 Sep 2003 22:33:30 +0000 (22:33 +0000)]
targhooks.c: Include output.h.
* targhooks.c: Include output.h.
* Makefile.in (targhooks.o): Add output.h to dependency list.
From-SVN: r71702
Rainer Orth [Tue, 23 Sep 2003 22:29:01 +0000 (22:29 +0000)]
* config.host: Removed superfluous newline.
From-SVN: r71701
Nathanael Nerode [Tue, 23 Sep 2003 21:51:44 +0000 (21:51 +0000)]
config.gcc: Use ${target}, not $machine.
* config.gcc: Use ${target}, not $machine.
* configure.in: Don't set $machine.
* configure: Regenerate.
From-SVN: r71700
Nathanael Nerode [Tue, 23 Sep 2003 21:42:40 +0000 (21:42 +0000)]
Float.java, [...]: Add GCJ LOCAL markers.
* java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
markers.
From-SVN: r71699
Geoffrey Keating [Tue, 23 Sep 2003 21:37:32 +0000 (21:37 +0000)]
rs6000.c (function_arg_pass_by_reference): Don't pass zero-size arrays by reference.
2003-09-23 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (function_arg_pass_by_reference): Don't
pass zero-size arrays by reference.
(rs6000_va_arg): Likewise.
2003-09-23 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-abi-1.c: New file.
From-SVN: r71698
Nathanael Nerode [Tue, 23 Sep 2003 20:16:59 +0000 (20:16 +0000)]
config.gcc: Set use_fixproto=no in each specific *-gnu* configuration...
* config.gcc: Set use_fixproto=no in each specific *-gnu*
configuration, rather than the generic one.
From-SVN: r71695
Benjamin Kosnik [Tue, 23 Sep 2003 20:03:30 +0000 (20:03 +0000)]
locale_facets.tcc: Tweak to avoid warnings.
2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Tweak to avoid warnings.
* testsuite/testsuite_hooks.h: Same.
* testsuite/*/*.cc: Same.
From-SVN: r71693
Richard Henderson [Tue, 23 Sep 2003 20:02:48 +0000 (13:02 -0700)]
tree-inline.c (remap_save_expr): Map new save_expr to identity rather than to error_mark_node.
* tree-inline.c (remap_save_expr): Map new save_expr to identity
rather than to error_mark_node.
From-SVN: r71692
Rainer Orth [Tue, 23 Sep 2003 19:47:00 +0000 (19:47 +0000)]
configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
* configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
Update description.
* configure: Regenerate.
* config.in: Likewise.
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test for
HAVE_GAS_SHF_MERGE value.
* varasm.c (mergeable_string_section): Likewise.
(mergeable_constant_section): Likewise.
From-SVN: r71691
Rainer Orth [Tue, 23 Sep 2003 19:29:56 +0000 (19:29 +0000)]
except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO value.
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO
value.
From-SVN: r71690
Rainer Orth [Tue, 23 Sep 2003 19:17:49 +0000 (19:17 +0000)]
target.h (struct gcc_target): New member external_libcall.
* target.h (struct gcc_target): New member external_libcall.
* target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default.
(TARGET_ASM_OUT): Use it.
* doc/tm.texi (TARGET_ASM_EXTERNAL_LIBCALL): Document.
* targhooks.c: Convert to ISO C 90.
(default_external_libcall): New function.
* targhooks.h (default_external_libcall): Declare.
* varasm.c (assemble_external_libcall): Use
targetm.asm_out.external_libcall instead of
ASM_OUTPUT_EXTERNAL_LIBCALL.
* config/mips/mips-protos.h [TARGET_IRIX5 || TARGET_IRIX 6]
(mips_output_external_libcall): Declare.
* config/mips/mips.c (mips_output_external_libcall): Change
definition guard.
Change to match TARGET_ASM_EXTERNAL_LIBCALL.
Only operate for O32 ABI.
* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Define
instead of ASM_OUTPUT_EXTERNAL_LIBCALL.
* config/mips/iris6.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Don't undef,
superceded by TARGET_ASM_EXTERNAL_LIBCALL.
From-SVN: r71689