Commit Graph

45351 Commits

Author SHA1 Message Date
Alan Modra a7215b3224 * gcc.c-torture/execute/loop-15.c: New.
From-SVN: r57557
2002-09-27 08:35:57 +09:30
Alan Modra b5a77fef8c doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop increment, not loop increment.
* doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
	by absolute loop increment, not loop increment.

From-SVN: r57556
2002-09-27 08:31:31 +09:30
Kazu Hirata 40f0365880 c-common.h: Follow spelling conventions.
* c-common.h: Follow spelling conventions.
	* cpplex.c: Likewise.
	* cpplib.h: Likewise.
	* gthr-dce.h: Likewise.
	* gthr-posix.h: Likewise.
	* optabs.c: Likewise.
	* output.h: Likewise.
	* profile.c: Likewise.
	* protoize.c: Likewise.
	* ra-rewrite.c: Likewise.
	* real.c: Likewise.
	* recog.c: Likewise.
	* reg-stack.c: Likewise.
	* regclass.c: Likewise.
	* regmove.c: Likewise.
	* reload.c: Likewise.
	* reload.h: Likewise.
	* reload1.c: Likewise.
	* reorg.c: Likewise.
	* resource.c: Likewise.
	* rtl.h: Likewise.
	* rtlanal.c: Likewise.

From-SVN: r57555
2002-09-26 22:25:14 +00:00
Steve Ellcey ee8a73d6e7 ia64.c (ia64_expand_load_address): Ensure correct mode for symbol address.
* config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
	for symbol address.

From-SVN: r57554
2002-09-26 21:50:42 +00:00
Eric Christopher 2eb2bbdc29 elf.h: Add HANDLE_SYSV_PRAGMA.
2002-09-24  Eric Christopher  <echristo@redhat.com>

        * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
        * config/mips/elf64.h: Ditto.

From-SVN: r57553
2002-09-26 21:42:52 +00:00
Eric Christopher 0ab3841807 except.c (expand_builtin_extract_return_address): Handle case where Pmode != ptr_mode.
2002-09-24  Eric Christopher  <echristo@redhat.com>

        * except.c (expand_builtin_extract_return_address): Handle case
	where Pmode != ptr_mode.

From-SVN: r57552
2002-09-26 21:39:14 +00:00
Steve Ellcey 68bb91b1e0 * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
From-SVN: r57551
2002-09-26 21:34:46 +00:00
Steve Ellcey 5429802d9f * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
From-SVN: r57550
2002-09-26 21:30:17 +00:00
Igor Shevlyakov 855c3a2e32 combine.c (simplify_set): Don't call to force_to_mode if size of integer type is larger than...
* combine.c (simplify_set): Don't call to force_to_mode if size
        of integer type is larger than HOST_BITS_PER_WIDE_INT.

From-SVN: r57549
2002-09-26 14:15:26 -07:00
Janis Johnson d57f8a7152 README.QMTEST: Fix typo.
2002-09-26  Janis Johnson  <janis187@us.ibm.com>

	* README.QMTEST: Fix typo.

From-SVN: r57548
2002-09-26 19:49:48 +00:00
Janis Johnson 2d556baf13 Makefile.in (qmtest-g++): Fix file name.
2002-09-26  Janis Johnson  <janis187@us.ibm.com>

	* Makefile.in (qmtest-g++): Fix file name.

From-SVN: r57547
2002-09-26 19:29:29 +00:00
Ulrich Weigand b784617e85 * gcc.dg/20020926-1.c: New test.
From-SVN: r57544
2002-09-26 18:26:08 +00:00
Ulrich Weigand 1717e19e2f expr.c (expand_expr): Convert A - const to A + (-const) on RTX level, even for unsigned types.
* expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
	A + (-const) on RTX level, even for unsigned types.

From-SVN: r57543
2002-09-26 18:23:55 +00:00
Ulrich Weigand 6cabe79eab reload.c (dup_replacements): New function.
* reload.c (dup_replacements): New function.
	(find_reloads): Use it to duplicate replacements at the top level
	of match_dup operands.

From-SVN: r57542
2002-09-26 18:21:10 +00:00
Miles Bader 0855247a1c * v850.md ("length"): Change default value to 4.
From-SVN: r57541
2002-09-26 10:55:30 -06:00
Kazu Hirata 6335b0aac3 ChangeLog.1: Follow spelling conventions.
* ChangeLog.1: Follow spelling conventions.
	* ChangeLog.4: Likewise.
	* ChangeLog.6: Likewise.
	* FSFChangeLog.11: Likewise.
	* doc/cpp.texi: Likewise.
	* doc/invoke.texi: Likewise.
	* doc/tm.texi: Likewise.

From-SVN: r57539
2002-09-26 12:29:45 +00:00
Nick Clifton 09818236a2 Add x prefix to v850e case for handling --with-cpu=v850e.
From-SVN: r57538
2002-09-26 10:42:04 +00:00
David S. Miller 8a3996fd32 re PR target/7842 ([REGRESSION] sparc code gen bug)
2002-09-25  David S. Miller  <davem@redhat.com>

	PR target/7842
	* config/sparc/sparc.c (set_extends): SImode ASHIFT does not
	extend.

From-SVN: r57534
2002-09-26 03:18:05 -07:00
David S. Miller 065fa8a136 re PR target/7842 ([REGRESSION] sparc code gen bug)
2002-09-25  David S. Miller  <davem@redhat.com>

	PR target/7842
	* gcc.c-torture/execute/shiftdi.c: New test.

From-SVN: r57533
2002-09-26 03:16:44 -07:00
Richard Earnshaw 1c88948f1b gcc.exp (gcc_init): Use a filename for the testglue that is unique to the tool.
* lib/gcc.exp (gcc_init): Use a filename for the testglue that is
unique to the tool.
* lib/g77.exp (g77_init): Likewise.
* lib/g++.exp (g++_init): Likewise.
* lib/objc.exp (objc_init): Likewise.

From-SVN: r57532
2002-09-26 09:51:45 +00:00
GCC Administrator a84dfda426 Daily bump.
From-SVN: r57531
2002-09-26 07:17:13 +00:00
Benjamin Kosnik ca017eef3a Makefile.am (target_headers): Remove cpu_limits.h.
2002-09-25  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am (target_headers): Remove cpu_limits.h.
	* include/Makefile.in: Regenerate.
	* configure.in (CPU_LIMITS_INC_SRCDIR): Remove
	* configure: Regenerate.
	* configure.target (CPULIMITS): Remove.

	* include/std/std_limits.h: Remove cpu_limits.h include.

	* config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
	Remove.
	* config/os/irix/irix6.5/os_defines.h
	(__glibcpp_long_double_bits): Remove.
	(__glibcpp_wchar_t_bits): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/irix/irix5.2/os_defines.h
	(__glibcpp_long_double_bits): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
	* config/os/bsd/freebsd/os_defines.h:
	(__glibcpp_long_double_bits): Remove.
	* config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
	(__glibcpp_wchar_t_is_signed): Remove.
	(__glibcpp_long_bits): Remove.
	* config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
	(__glibcpp_long_double_bits): Remove.

	* config/os/osf/osf5.0/cpu_limits.h: Remove.
	* config/cpu/alpha/cpu_limits.h: Remove.
	* config/cpu/arm/cpu_limits.h: Remove.
	* config/cpu/cris/cpu_limits.h: Remove.
	* config/cpu/generic/cpu_limits.h: Remove.
	* config/cpu/generic/limits.h: Remove.
	* config/cpu/ia64/cpu_limits.h: Remove.
	* config/cpu/m68k/cpu_limits.h: Remove.
	* config/cpu/mmix/cpu_limits.h: Remove.
	* config/cpu/powerpc/cpu_limits.h: Remove.
	* config/cpu/S390/cpu_limits.h: Remove.

From-SVN: r57524
2002-09-26 05:25:14 +00:00
Devang Patel 9ced0328fb Move C++ specific ChangeLog entry for "cp_binding_level reorg" patch
from Changelog into cp/Changelog

From-SVN: r57523
2002-09-25 21:36:40 -07:00
Nathanael Nerode 0dffceed44 Makefile.tpl: Make subsituted variables more autoconfy.
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Make subsituted variables more autoconfy.
	* Makefile.in: Regenerate.
	* configure: Make seds more autoconfy.

From-SVN: r57522
2002-09-26 04:14:02 +00:00
Richard Henderson 8580f7a029 emit-rtl.c (const_double_htab_eq): Distinguish integer and fp CONST_DOUBLE; use real_identical.
* emit-rtl.c (const_double_htab_eq): Distinguish integer and
        fp CONST_DOUBLE; use real_identical.

From-SVN: r57520
2002-09-25 16:20:42 -07:00
Jesse Rosenstock 8dc24041f7 re PR libgcj/7786 (TimeZone.getDSTSavings() from JDK1.4 not implemented)
2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

	* java/util/TimeZone.java (getDSTSavings): New method.
	Fixes PR libgcj/7786.

From-SVN: r57518
2002-09-25 21:10:21 +00:00
Jesse Rosenstock 8848a766bc re PR libgcj/7709 (NullPointerException in _Jv_ResolvePoolEntry)
2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

	* resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
	to see if `the_method == 0' before looking up vtable index.
	Fixes PR libgcj/7709.

From-SVN: r57517
2002-09-25 21:02:32 +00:00
Tom Tromey 169f75f384 * java/lang/natClassLoader.cc:
(_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
	* resolve.cc: Include NoClassDefFoundError.h, not
	ClassNotFoundException.h.
	(_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
	* defineclass.cc: Don't include ClassNotFoundException.h.

From-SVN: r57516
2002-09-25 20:57:03 +00:00
Tom Tromey fd44a92df6 resolve.cc: Include StringBuffer.
* resolve.cc: Include StringBuffer.
	(_Jv_ResolvePoolEntry): Use StringBuffer to create error string.

From-SVN: r57515
2002-09-25 20:40:09 +00:00
Tom Tromey 7ea082bbb5 boehm.cc (_Jv_MarkObj): Don't fail if class object has been allocated but not initialized.
* boehm.cc (_Jv_MarkObj): Don't fail if class object has been
	allocated but not initialized.

From-SVN: r57514
2002-09-25 20:14:37 +00:00
Jesse Rosenstock 941b08f273 re PR libgcj/7766 (ZipInputStream.available returns 0 immediately after construction)
2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

	Fix for PR libgcj/7766:
	* java/util/zip/ZipInputStream.java (entryAtEOF): New field.
	(getNextEntry): Set it.
	(closeEntry): Likewise.
	(read): Likewise.
	(close): Likewise.
	(available): Use it.

From-SVN: r57513
2002-09-25 20:10:42 +00:00
Peter Schmid dac2c906db numeric_limits.cc: Check the maximum and minimum values of the wchar_t type.
2002-09-25  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* testsuite/18_support/numeric_limits.cc: Check the maximum and
	minimum values of the wchar_t type.

From-SVN: r57512
2002-09-25 19:37:04 +00:00
Mark Mitchell 956d93056d class.c (contains_empty_class_p): New method.
* cp/class.c (contains_empty_class_p): New method.
	(walk_subobject_offsets): Correct computation of field offset.
	(layout_empty_base): Correct placement of emtpy base classes.
	(layout_class_type): Warn about ABI changes.

	* doc/invoke.texi: Add more -Wabi examples.

	* gcc/testsuite/g++.dg/abi/empty5.C: New test.
	* gcc/testsuite/g++.dg/abi/empty6.C: New test.
	* gcc/testsuite/g++.dg/abi/vbase12.C: New test.

From-SVN: r57508
2002-09-25 19:07:35 +00:00
Mark Mitchell 0b4c7d8042 std_limits.h (numeric_limits<unsigned char>::digits): Fix typo.
* include/std/std_limits.h (numeric_limits<unsigned char>::digits):
	Fix typo.

From-SVN: r57507
2002-09-25 18:32:14 +00:00
Adam Megacz 1e39b2dde4 Fixed misformatted ChangeLog entry
From-SVN: r57505
2002-09-25 17:56:14 +00:00
Nathanael Nerode ec0461f681 Makefile.tpl: Rewrite substituted lines to look autoconfy.
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Rewrite substituted lines to look autoconfy.
	* Makefile.in: Regenerate.
	* configure.in: Rewrite sed statements to look autoconfy.

From-SVN: r57503
2002-09-25 17:22:54 +00:00
Richard Henderson 6190e14740 20010226-1.c: Early exit for too-small long double.
* gcc.c-torture/execute/ieee/20010226-1.c: Early exit for
        too-small long double.

From-SVN: r57502
2002-09-25 10:14:48 -07:00
Michael Koch fc44b85de7 2002-09-25 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
	(DatagramSocket): Initialize new instance variables.
	(close): Reset new instance variables.
	(getLocalAddress): Remove unneeded SecurityManager usage.
	(getLocalPort): Check if socket is already bound.
	(isConnected): New method.
	(getInetAddress): Implemented.
	(getPort): Better Implementation, documentation fixed.
	(getRemoteSocketAddress): New method.
	* java/net/JarURLConnection.java
	(element): Typo fixed.
	(getMainAttributes): New method.
	(getAttributes): New method (stub only).
	(getManifest): New method (stub only).
	* java/net/NetPermission.java: Added serialVersionsUID.
	* java/net/Socket.java
	(connect): Check blocking mode of associated channel,
	documentation added.
	(getLocalSocketAddress): Better implementation.
	(getRemoteSocketAddress): Implemented.
	(isBound): New method.
	(setSendBufferSize): Documentation added.
	* java/net/SocketAddress.java: Added serialVersionsUID.
	* java/net/SocketPermission.java: Added serialVersionsUID.
	* java/net/URL.java
	(URL): Wrap for shorter lines, initialize new instance variables,
	documentation added.
	(equals): Check new instance variables too.
	(getContent): Documentation added.
	(getPath): Documentation added.
	(getAuthority): New method.
	(getHost): Documentation added.
	(getPort): Documentation added.
	(getDefaultPort): New method.
	(getProtocol): Documentation added.
	(getUserInfo): Documentation added.
	(set): Initialize new instance variables, documentation added.
	* java/net/URLStreamHandler.java
	(setURL): New method.
	* java/net/natPlainDatagramSocketImpl.cc
	(connect): Fix exception name.
	(disconnect): Fix exception name.

From-SVN: r57501
2002-09-25 17:14:09 +00:00
Nathanael Nerode 6f950405a0 Really rebuild it this time. :sigh:
From-SVN: r57500
2002-09-25 16:56:30 +00:00
Nathanael Nerode 1db75a864c Makefile.tpl: Autogenerate *-target-* lists...
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
	* Makefile.tpl: Autogenerate *-target-* lists, dependencies of
	all-target-foo on configure-target-foo.
	* Makefile.def: Ditto.
	* Makefile.in: Rebuild.

From-SVN: r57499
2002-09-25 16:49:39 +00:00
Michael Koch 1754e35c31 AbstractSelectableChannel.java: New file.
2002-09-25  Michael Koch  <konqueror@gmx.de>

	* java/nio/channels/spi/AbstractSelectableChannel.java: New file.
	* java/nio/channels/DatagramChannel.java:
	extends AbstractSelectableChannel
	* java/nio/channels/ServerSocketChannel.java:
	extends AbstractSelectableChannel
	* java/nio/channels/SocketChannel.java:
	extends AbstractSelectableChannel
	* Makefile.am (ordinary_java_source_files):
	java/nio/channels/spi/AbstractSelectableChannel.java added.
	* Makefile.in: Regenerated.

	This commit fixes the CVS build problems, Sorry for the trouble.

From-SVN: r57497
2002-09-25 13:04:58 +00:00
Richard Sandiford 3ccbe8195b * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
From-SVN: r57496
2002-09-25 12:40:13 +00:00
Andrew Haley 741a4e89a6 MAINTAINERS: Add aph@redhat.com as Java maintainer.
2002-09-25  Andrew Haley  <aph@redhat.com>

        * MAINTAINERS: Add aph@redhat.com as Java maintainer.

From-SVN: r57495
2002-09-25 11:16:42 +00:00
Michael Koch df79dc1a89 2002-09-25 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
	(DatagramSocket): Exception documentation added.
	(bind): Exception documentation added, addded SecurityManager check,
	added SocketAddress type check.
	(getSoTimeout): Check impl.
	(receive): Fix SecurityManager check, check impl, documentation added.
	(send): Check channel mode, documentation added.
	(connect): New method.
	(disconnect): Implemented.
	(getLocalSocketAddress): New method.
	(getReceiveBufferSize): Check impl.
	(setReuseAddress): Check impl.
	(getReuseAddress): Check impl.
	(setBroadcast): Check impl.
	(getBroadcast): Check impl.
	(setTrafficClass): Check impl, Documentation cleared.
	(getTrafficClass): Check impl.
	(getSendBufferSize): Check impl.
	(setReceiveBufferSize): Check impl, documentation added.
	(setSendBufferSize): Documentation added.
	(setDatagramSocketImplFactory): New method.
	* java/net/HttpURLConnection.java
	(HTTP_INTERNAL_ERROR): The correct code is 500.
	(HTTP_NOT_IMPLEMENTED): Added new constant.
	(setFollowRedirects): Documentation added.
	(getInstanceFollowRedirects): New method.
	(setInstanceFollowRedirects): New method.
	(setRequestMethod): Documentation added.
	(getResponseCode): Documentation added.
	(getResponseMessage): Documentation added.
	* java/net/JarURLConnection.java
	(JarURLConnection): protected since JDK 1.4.
	(getJarEntry): java.io.IOException to IOException, documentation added.
	(getJarFile): Documentation added.
	* java/net/ServerSocket.java
	(ServerSocket): Private to public, exception added.
	(ServerSocket): java.io.IOException to IOException, documentation added.
	(bind): Check socket address type, documentation added.
	(bind): java.io.IOException to IOException, documentation added.
	(accept): Documentation added.
	(implAccept): Check ch is not non-blocking, documentation added.
	(setSoTimeout): Documentation fixed.
	(setReceiveBufferSize): Documentation added.
	* java/net/Socket.java
	(Socket): Documentation added.
	(bind): Documentation added.
	(connect): Check socket address type, documentation added.
	(getRemoteSocketAddress): New method.

From-SVN: r57494
2002-09-25 09:05:53 +00:00
GCC Administrator 33c31b33b5 Daily bump.
From-SVN: r57493
2002-09-25 07:17:34 +00:00
Michael Koch ed08cfe4cd 2002-09-25 Michael Koch <konqueror@gmx.de>
* java/net/DatagramPacket
	(DatagramPacket): Exception documentation added.
	(setData): Likewise.
	(setSocketAddress): Likewise.
	* java/net/DatagramSocketImpl.java
	(peek): Documentation addded.
	(peekData): Documentation addded.
	(send): Documentation addded.
	(receive): Documentation addded.
	(connect): New method.
	(disconnect): New method.
	(joinGroup): New abstract method.
	(leaveGroup): New abstract method.
	* java/net/InetSocketAddress.java
	(InetSocketAddress): Documentation added.
	(equals): final keyword added.
	(getAddress): final keyword added.
	(getHostName): final keyword added.
	(getPort): final keyword added.
	(hashCode): final keyword added.
	(isUnresolved): final keyword added.
	* java/net/MulticastSocket.java
	(MulticastSocket): Documentation added.
	(MulticastSocket): New method.
	(joinGroup): Documentation added.
	(joinGroup): New method.
	(leaveGroup): Documentation added.
	(leaveGroup): New method.
	(send): Documentation added.
	* java/net/NetworkInterface.java
	(getByName): Documentation added.
	(getByInetAddress): Documentation added.
	(getNetworkInterfaces): Documentation added.
	* java/net/PlainDatagramSocketImpl.java
	(connect): New method.
	(disconnect): New method.
	* java/net/SocketImpl.java
	(create): Documentation added.
	(shutdownInput): Convert public to protected, as it always was.
	(shutdownOutput): Convert public to protected, as it always was.
	* java/net/SocketOptions.java
	(whole file): Reintented.
	* java/net/URLClassLoader.java
	(URLClassLoader): SecurityManager check added, documentation added.
	(findResources): Documentation added.
	(findClass): Documentation added.
	(newInstance): More correct method arguments.
	* java/net/URLConnection.java
        (connect): Documentation added.
        (getContent): Documentation added.
        (getPermission): Documentation added.
        (getInputStream): Documentation added.
        (getOutputStream): Documentation added.
        (setDoInput): Throw correct exception, documentation added.
        (setDoOutput): Throw correct exception, documentation added.
        (setAllowUserInteraction): Throw correct exception, documentation added.
        (setUseCaches): Throw correct exception, documentation added.
        (setIfModifiedSince): Throw correct exception, documentation added.
        (setRequestProperty): Throw exception, documentation added.
        (addRequestProperty): Throw exception, documentation added.
        (getRequestProperty): Throw exception, documentation added.
        (getRequestProperties): Documentation added.
        (setContentHandlerFactory): Documentation added.
        (guessContentTypeFromName): protected to public.
        (setFileNameMap): Documentation added.
        * java/net/URLDecoder.java
        (URLDecoder): New method.
        (decode): Documentation added.
        (whole file): Reindented.
        * java/net/URLEncoder.java
        (encode): Documentation added.
        * java/net/natPlainDatagramSocketImpl.cc
        (connect): New method.
        (disconnect): New method.
        * javax/naming/RefAddr:
        (addrType): addrType was never final.
        (equals): Fix typo in method name.
        * javax/naming/BinaryRefAddr:
        (equals): Fix typo in method name.

From-SVN: r57487
2002-09-25 05:05:07 +00:00
Nathanael Nerode 95ddd785f6 Makefile.def: New file.
2002-09-22  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.def: New file.
	* Makefile.tpl: New file.
	* Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'.
	* contrib/gcc_update: Note that Makefile.in is a generated file.

	* configure.in: Minor rearrangement.  Simplify tests.

From-SVN: r57484
2002-09-24 22:51:57 +00:00
Denis Chertykov 2106e42af4 ip2k.c (function_epilogue): Fix wrong numbers in cases of optimizing "add sp,w" to "inc sp".
* config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
	cases of optimizing "add sp,w" to "inc sp".

From-SVN: r57481
2002-09-24 23:15:22 +04:00
Jason Thorpe 179a9cafbe * include/private/gcconfig.h: Fix NetBSD/mips parameters.
From-SVN: r57479
2002-09-24 17:41:01 +00:00
Adam Nemet 58e60158ac (thumb_unexpanded_epilogue): Don't generate epilogue for naked functions.
From-SVN: r57476
2002-09-24 17:30:54 +00:00