Commit Graph

46066 Commits

Author SHA1 Message Date
Loren J. Rittle 2b298bb772 locale.cc (std::locale::classic()): Weaken locking protocol.
libstdc++/7445
	* src/locale.cc (std::locale::classic()): Weaken locking protocol.

From-SVN: r59078
2002-11-13 14:55:32 +00:00
Michael Koch 70c73a4d1d AlreadyConnectedException.java: Removed unneeded import.
2002-11-13  Michael Koch <konqueror@gmx.de>

	* java/nio/channels/AlreadyConnectedException.java:
	Removed unneeded import.
	(AlreadyConnectedException): Documentation added.
	* java/nio/channels/Pipe.java
	(SinkChannel.SinkChannel): Documentation added.
	(SinkChannel.validOps): New method.
	(SourceChannel.SourceChannel): Documentation added.
	(SourceChannel.validOps): New method.
	(Pipe): Documentation added.
	(open): Documentation added.
	(SinkChannel.channel): Documentation added.
	(SourceChannel.channel): Documentation added.
	* java/nio/channel/SelectableChannel.java
	(SelectableChannel): Documentation added.
	(blockingLock): Documentation added.
	(configureBlocking):Documentation added.
	(isBlocking):Documentation added.
	(isRegistered):Documentation added.
	(keyFor):Documentation added.
	(provider):Documentation added.
	(register): Documentation added.
	(validOps): Documentation added.
	* jaba/nio/channels/SelectionKey.java
	(SelectionKey): Documentation added.
	(attach): Documentation added.
	(attachment): Documentation added.
	(isAcceptable): Documentation added.
	(isConnetable): Documentation added.
	(isReadable): Documentation added.
	(isWritable): Documentation added.
	(cancel): Documentation added.
	(channel): Documentation added.
	(interestOps): Documentation added.
	(isValid): Documentation added.
	(readyOps): Documentation added.
	(selector): Documentation added.
	* jaba/nio/channels/Selector.java
	(Selector): Documentation added.
	(open): Documentation added.
	(close): Documentation added.
	(isOpen): Documentation added.
	(keys): Documentation added.
	(provider): Documentation added.
	(select): Documentation added.
	(selectedKeys): Documentation added.
	(selectNow): Documentation added.
	(wakeup): Documentation added.
	* java/nio/channels/spi/AbstractInterruptibleChannel.java
	(AbstractInterruptibleChannel): Documentation added.
	(opened): Default to true;
	(begin): Documentation added.
	(close): Set opened to false, documentation added.
	(isOpen): Documentation added.
	* java/nio/channels/spi/AbstractSelectionKey.java
	(AbstractSelectionKey): Documentation added.
	(cancel): Documentation added.
	(isValid): Documentation added.
	* java/nio/channels/spi/AbstractSelector.java
	(AbstractSelector): Documentation added.
	(begin): Documentation added.
	(close): Documentation added.
	(isOpen): Documentation added.
	(deregister): Documentation added.
	(end): Documentation added.
	(provider): Documentation added.
	(implCloseSelector): Documentation added.
	(register): Documentation added.
	* java/nio/channels/spi/SelectorProvider.java
	(SelectorProvider): Documentation added.
	(openDatagramChannel): Documentation added.
	(openPipe): Documentation added.
	(openSelector): Documentation added.
	(openServerSocketChannel): Documentation added.
	(openSocketChannel): Documentation added.
	(provider): Documentation added.

From-SVN: r59077
2002-11-13 13:52:47 +00:00
Kazu Hirata e6179f4596 * gthr-solaris.h: Fix formatting.
From-SVN: r59076
2002-11-13 13:48:15 +00:00
Michael Koch 93f93f9f28 Buffer.java: Implemented.
2002-11-13  Michael Koch <konqueror@gmx.de>

	* java/nio/Buffer.java: Implemented.
	* java/nio/CharBuffer.java: New file.
	* java/nio/InvalidMarkException.java: New file.
	* java/nio/channels/DatagramChannel.java: Implemented.
	* java/nio/channels/ServerSocketChannel.java: Implemented.
	* java/nio/channels/SocketChannel.java: Implemented.
	* java/nio/channels/spi/AbstractChannel.java: Removed.
	* java/nio/channels/spi/AbstractSelectableChannel.java:
	Implemented.
	* java/nio/charset/Charset.java:
	Merge from Classpath.
	* java/nio/charset/CharsetDecoder.java: New file.
	* java/nio/charset/CharsetEncoder.java: New file.
	* java/nio/charset/CoderResult.java: New file.
	* Makefile.am (ordinary_java_source_files): Added new files.
	* Makefile.in: Regenerated.

From-SVN: r59075
2002-11-13 12:21:26 +00:00
GCC Administrator 7b53becc10 Daily bump.
From-SVN: r59071
2002-11-13 08:17:23 +00:00
Kazu Hirata fe83a9ce5a * gthr-posix.h: Fix formatting.
From-SVN: r59064
2002-11-13 05:09:51 +00:00
Kazu Hirata eed13f9bdf * config/h8300/h8300.md (*andorsi3): New.
From-SVN: r59063
2002-11-13 01:11:58 +00:00
Jonathan Wakely fcff7028dc install.html, [...]: HTML fix.
2002-11-13  Jonathan Wakely  <redi@gcc.gnu.org>

	* docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.

From-SVN: r59062
2002-11-13 01:04:03 +00:00
Franz Sirl e8a7b0c264 install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.

From-SVN: r59059
2002-11-12 21:16:22 +00:00
Kazu Hirata 94aec8dd49 h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately.
* config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
	expressions appropriately.

From-SVN: r59057
2002-11-12 18:53:39 +00:00
Eric Botcazou 110c25efd7 re PR c/8439 (empty struct causes crash)
PR c/8439
	* gcc.dg/20021110.c: Move to ...
	* gcc.c-torture/compile/20021110.c: .... here.

From-SVN: r59054
2002-11-12 16:27:36 +00:00
Kazu Hirata fc98f5cbf4 * gthr-win32.h: Fix formatting.
From-SVN: r59051
2002-11-12 14:22:43 +00:00
Kazu Hirata e27051f71b h8300.c (single_one_operand): Correctly compute mask when mode is SImode.
* config/h8300/h8300.c (single_one_operand): Correctly compute
	mask when mode is SImode.
	(single_zero_operand): Likewise.
	* config/h8300/h8300.md (two new anonymous insns): New.

From-SVN: r59050
2002-11-12 14:01:33 +00:00
Gerald Pfeifer 10bb8214f8 contrib.texi (Contributors): Use GCJ instead of gcj to refer to that entire project.
* doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
	to that entire project.

From-SVN: r59048
2002-11-12 12:14:32 +00:00
Rainer Orth ffe11c6b2f t-iris6 (MULTILIB_OSDIRNAMES): Restore old directories.
* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
	directories.

From-SVN: r59047
2002-11-12 11:15:48 +00:00
GCC Administrator 91bc0940c0 Daily bump.
From-SVN: r59045
2002-11-12 08:17:27 +00:00
DJ Delorie 6bee537279 * configure.in: Look for common files in the right place.
From-SVN: r59039
2002-11-11 23:45:57 -05:00
Zack Weinberg 3788cc1761 params.def (ggc-min-expand, [...]): New parameters.
* params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
	* doc/invoke.texi: Document them.

	* ggc-page.c: Include params.h.  Remove definitions of
	GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED.  Replace
	GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
	(init_gcc): Don't set G.allocated_last_gc here.
	(ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
	PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
	perform collection.
	* ggc-simple.c: Similarly.
	* Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
	dependencies.

From-SVN: r59034
2002-11-12 00:27:31 +00:00
Kazu Hirata dd697f8c1d * gthr-dce.h: Fix formatting.
From-SVN: r59032
2002-11-12 00:01:34 +00:00
Benjamin Kosnik 6eeb7d7ae0 re PR libstdc++/6746 (ifstream::readsome() always returns zero)
2002-11-11  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/6746
        * include/bits/fstream.tcc (filebuf::open): Set input pointers.
	* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
	__p_mode as well.
	(__basic_file::open): Set to non-block for input.
	* testsuite/27_io/istream_unformatted.cc (test12): Add.
	(test13): Same.

From-SVN: r59030
2002-11-11 23:18:05 +00:00
Tom Tromey 90e76e864a dostime.c (dos2unixtime): Mask for seconds is 0x1f.
* dostime.c (dos2unixtime): Mask for seconds is 0x1f.  Correctly
	compute month.
	(unix2dostime): Handle years before 1980.  Correctly compute month
	and day of month.

From-SVN: r59027
2002-11-11 22:20:56 +00:00
Franz Sirl 303b90b001 re PR c/8467 (Bug in sibling call optimization)
2002-11-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR c/8467
	* gcc.c-torture/execute/20021111-1.c

From-SVN: r59026
2002-11-11 21:29:19 +00:00
Janis Johnson e84371652c contrib.texi: Merge in the list from the libstdc++ web pages.
2002-11-11  Janis Johnson  <janis187@us.ibm.com>

	* doc/contrib.texi: Merge in the list from the libstdc++ web pages.

From-SVN: r59024
2002-11-11 21:01:35 +00:00
Jan Hubicka 12f5c45e40 * i386.c (construct_container): Fix handling of SSE_CLASS.
From-SVN: r59020
2002-11-11 11:12:09 +00:00
GCC Administrator aaea99dc5e Daily bump.
From-SVN: r59019
2002-11-11 08:17:12 +00:00
Jesse Rosenstock 8a423d779f ISO_8859_1.java, [...]: New files.
2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

	* gnu/java/nio/charset/ISO_8859_1.java,
	gnu/java/nio/charset/Provider.java,
	gnu/java/nio/charset/US_ASCII.java,
	gnu/java/nio/charset/UTF_16.java,
	gnu/java/nio/charset/UTF_16BE.java,
	gnu/java/nio/charset/UTF_16Decoder.java,
	gnu/java/nio/charset/UTF_16Encoder.java,
	gnu/java/nio/charset/UTF_16LE.java,
	gnu/java/nio/charset/UTF_8.java: New files.
	* Makefile.am ():
	Added new files.
	* Makefile.in: Regenerated.

From-SVN: r59013
2002-11-11 07:36:41 +00:00
Michael Koch ac7bc6bb2f CharacterCodingException.java: This class must be public.
2002-11-11  Michael Koch <konqueror@gmx.de>

	* java/nio/charset/CharacterCodingException.java:
	This class must be public.
	* java/nio/charset/CoderMalfunctionError.java:
	This class must be public.
	* java/nio/charset/CodingErrorAction.java:
	This class must be public.
	* java/nio/charset/IllegalCharsetNameException.java:
	This class must be public, better implementation.
	* java/nio/charset/MalformedInputException.java:
	This class must be public, better implementation.
	* java/nio/charset/UnmappableCharacterException.java:
	This class must be public, better implementation.
	* java/nio/charset/UnsupportedCharsetException.java:
	This class must be public, better implementation.

From-SVN: r59012
2002-11-11 07:12:07 +00:00
Michael Koch dba90b0cc6 BufferOverflowException.java, [...]: New file.
2002-11-11  Michael Koch <konqueror@gmx.de>

	* java/nio/BufferOverflowException.java,
	java/nio/BufferUnderflowException.java: New file.
	* Makefile.am (ordinary_java_source_files):
	Added new files.
	* Makefile.in: Regenerated.

From-SVN: r59011
2002-11-11 07:00:29 +00:00
Tom Tromey 459c4c517e Container.java (validate): Use tree lock.
* java/awt/Container.java (validate): Use tree lock.
	(getComponent): Likewise.
	(getComponents): Likewise.
	(addImpl): Likewise.
	(remove): Likewise.
	(removeAll): Likewise.
	(processEvent): Fixed indentation.
	(getComponentAt): Use tree lock.
	(findComponentAt): Likewise.
	(removeNotify): Likewise.
	(isAncestorOf): Likewise.
	(list): Likewise.
	(visitChildren): Likewise.
	(findNextFocusComponent): Likewise.
	(addNotifyContainerChildren): Likewise.
	(getAccessibleChildrenCount): Likewise.
	(getAccessibleChild): Likewise.

From-SVN: r59009
2002-11-11 06:33:08 +00:00
Joel Sherrill f981a754fc t-crtstuff (crti.o): Use this...
* config/m68k/t-crtstuff (crti.o): Use this...
	($(T)crti.o): ... instead.
	(crtn.o): Use this...
	($(T)crtn.o): ... instead.

From-SVN: r59008
2002-11-11 06:02:20 +00:00
Eric Botcazou 45ed7228db re PR c/8439 (empty struct causes crash)
PR c/8439
	* recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
	if there is something new to be simplified.

From-SVN: r59005
2002-11-11 05:38:22 +00:00
Stan Shebs 5aad4daaba Retire common MPW configury bits.
* mpw-mh-mpw: Remove.
        * mpw: Remove directory along with all of its files.

From-SVN: r59004
2002-11-11 05:15:36 +00:00
H.J. Lu 2da4124d3d calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
2002-11-10  H.J. Lu <hjl@gnu.org>

	* calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
	* expr.c (PUSH_ARGS_REVERSED): Likewise.

	* config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.

From-SVN: r59002
2002-11-10 19:13:18 -08:00
Mark Mitchell 0631587180 * g++.dg/abi/vthunk3.C: Run only on x86.
From-SVN: r59001
2002-11-11 02:20:37 +00:00
Jonathan Wakely cfe17bd93b howto.html: Make "chapter 22 notes" a link.
* docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
	* docs/html/faq/index.html: Mention that GCC ships with a newer
	version of the library than the last snapshot. Make "see below" a
	link. Add missing <html> tag.
	* docs/html/faq/index.txt: Regenerate.
	* docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
	docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
	docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
	docs/html/27_io/howto.html, docs/html/ext/howto.html,
	docs/html/ext/sgiexts.html: Add missing <html> tag.

From-SVN: r59000
2002-11-11 01:10:44 +00:00
Jonathan Wakely d47839991f * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r58999
2002-11-11 00:50:09 +00:00
Tom Tromey 924af605fe GridLayout.java (layoutContainer): Use tree lock.
* java/awt/GridLayout.java (layoutContainer): Use tree lock.
	(getSize): Likewise.
	* java/awt/FlowLayout.java (layoutContainer): Use tree lock.
	(getSize): Likewise.
	* java/awt/BorderLayout.java (layoutContainer): Use tree lock.
	(calcSize): Likewise.
	* java/awt/CardLayout.java (getSize): Use tree lock.
	(gotoComponent): Likewise.
	(layoutContainer): Likewise.

From-SVN: r58998
2002-11-10 23:11:21 +00:00
Tom Tromey a6b5bd3b6b natFileDescriptorWin32.cc (read): Handle case where count is 0.
* java/io/natFileDescriptorWin32.cc (read): Handle case where
	count is 0.
	* java/io/natFileDescriptorPosix.cc (read): Handle case where
	count is 0.

From-SVN: r58997
2002-11-10 22:23:53 +00:00
Tom Tromey f18590c620 Externalizable.java, [...]: New versions from Classpath.
* java/io/Externalizable.java, java/io/FilePermission.java,
	java/io/ObjectStreamConstants.java, java/io/Serializable.java,
	java/io/SerializablePermission.java, java/text/Format.java,
	java/util/AbstractMap.java, java/util/HashMap.java,
	java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
	versions from Classpath.

From-SVN: r58996
2002-11-10 22:06:49 +00:00
Jakub Jelinek 99c49d11c1 Fix typo.
From-SVN: r58995
2002-11-10 22:26:20 +01:00
Anthony Green 1323d7a92b Attributes.java (Name): Fix name check.
2002-11-10  Anthony Green  <green@redhat.com>

	* java/util/jar/Attributes.java (Name): Fix name check.

From-SVN: r58992
2002-11-10 21:13:44 +00:00
Mark Wielaard c0cd8f67f1 natClass.cc (initializeClass): Throw NoClassDefFoundError with getName() as message.
* java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
	with getName() as message.
	(_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
	type as message.

	* java/lang/natVMThrowable.cc: Don't declare parameter t, it is
	unused.

From-SVN: r58991
2002-11-10 21:07:27 +00:00
Jakub Jelinek 9d8f417b41 jartool.c (add_to_jar): Only compare file to jarfile if jarfile is non-NULL.
* jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
	non-NULL.

	* configure.in (AC_CHECK_HEADERS): Add limits.h.
	* configure, config.h.in: Rebuilt.

From-SVN: r58990
2002-11-10 22:04:24 +01:00
Zack Weinberg 7bb9f927b8 sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
* config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
	* config/rs6000/linux.h, config/rs6000/linux64.h,
	config/rs6000/windiss.h: ... not here.

From-SVN: r58989
2002-11-10 20:47:45 +00:00
Jan Hubicka 04989d158c FOrgot to commit the file itself. Changelog entry is already at:
* reg-stack.c (compensate_edge): Fix sanity check.

From-SVN: r58988
2002-11-10 19:59:26 +00:00
Jason Thorpe d898608275 netbsd.h (TARGET_OS_CPP_BUILTINS): Define __ABICALLS__ if TARGET_ABICALLS.
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
__ABICALLS__ if TARGET_ABICALLS.

From-SVN: r58987
2002-11-10 18:28:39 +00:00
Jan Hubicka 2e64c6362c * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
From-SVN: r58986
2002-11-10 17:52:50 +00:00
Ranjit Mathew a2eb270a7e jni.h (JNIIMPORT, [...]): Linker defines for Win32.
2002-11-08  Ranjit Mathew <rmathew@hotmail.com>

	* include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
	for Win32. JNICALL has been defined to __stdcall to be compatible
	with Sun's JDKs.

From-SVN: r58985
2002-11-10 17:38:08 +00:00
Tom Tromey 44e8d1f006 GridLayout.java (setColumns): Check newCols, not cols.
* java/awt/GridLayout.java (setColumns): Check newCols, not cols.
	(setRows): Check newRows, not rows.

From-SVN: r58984
2002-11-10 17:35:13 +00:00
Joseph Myers 04e6db94f8 c-decl.c (grokdeclarator): Make error for duplicate type qualifiers into a pedwarn, disabled for C99.
* c-decl.c (grokdeclarator): Make error for duplicate type
	qualifiers into a pedwarn, disabled for C99.

testsuite:
	* gcc.dg/c90-idem-qual-2.c, gcc.dg/c99-idem-qual-2.c: New tests.

From-SVN: r58983
2002-11-10 16:24:26 +00:00