Bruce Korb
d3ac17c9c5
syntactic cleanup
...
From-SVN: r59111
2002-11-14 19:44:41 +00:00
Tom Tromey
06fa6442a3
natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.
...
* java/lang/natRuntime.cc (insertSystemProperties): Set
gnu.classpath.home.
From-SVN: r59108
2002-11-14 18:28:07 +00:00
Gabriel Dos Reis
b54983130e
MAINTAINERS: Remove from write-after-approval list.
...
* MAINTAINERS: Remove from write-after-approval list. Uniformize
emails.
From-SVN: r59107
2002-11-14 18:07:31 +00:00
Mark Mitchell
9567595065
class.c (dfs_find_final_overrider): Adjust so that the most derived object is a binfo, rather than a class type.
...
* class.c (dfs_find_final_overrider): Adjust so that the most
derived object is a binfo, rather than a class type.
(find_final_overrider): Likewise.
(add_vcall_offset_vtbl_entries_1): Simplify accordingly.
(add_vcall_offset): Likewise.
* g++.dg/abi/vcall1.C: New test.
From-SVN: r59104
2002-11-14 16:59:23 +00:00
GCC Administrator
3dfce4e4fc
Daily bump.
...
From-SVN: r59103
2002-11-14 08:17:18 +00:00
Jakub Jelinek
7eca317a0f
varasm.c (output_addressed_constants): Clear reloc if both operands contain local relocations.
...
* varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
both operands contain local relocations.
(categorize_decl_for_section): Don't use mergeable sections if
initializer has any relocations.
* gcc.dg/20021029-1.c: New test.
* gcc.dg/20021029-2.c: New test.
From-SVN: r59097
2002-11-14 08:56:54 +01:00
Kazu Hirata
57751dd6cb
* gthr-vxworks.h: Fix formatting.
...
From-SVN: r59095
2002-11-14 05:42:37 +00:00
John David Anglin
1fccfa1e44
* g++.dg/abi/vague1.C (dg-final): Return if target is hppa*-*-hpux*.
...
From-SVN: r59094
2002-11-13 23:06:03 +00:00
Benjamin Kosnik
7c577c75ea
acconfig.h (HAVE_DRAND48): Add.
...
2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (HAVE_DRAND48): Add.
(HAVE_GETPAGESIZE): Add.
(HAVE_SETENV): Add.
(HAVE_SIGSETJMP): Add.
* config.h.in: Regenerate.
* configure: Regenerate.
From-SVN: r59093
2002-11-13 22:49:20 +00:00
John David Anglin
b6ef3ef68f
os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define on hppa when there is no weak support.
...
* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
on hppa when there is no weak support.
From-SVN: r59092
2002-11-13 22:36:39 +00:00
Benjamin Kosnik
48d1c3c568
re PR libstdc++/8230 (Buggy allocator behaviour)
...
2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8230
* include/bits/vector.tcc (vector::reserve): Throw length_error if
requested size is bigger than max_size().
* include/bits/stl_bvector.h (vector<bool>::reserve): Same.
* testsuite/23_containers/vector_capacity.cc (test02): Add.
From-SVN: r59090
2002-11-13 22:15:17 +00:00
Nathanael Nerode
1a083c0e90
re PR ada/6919 (Ada patches applied to 3.1 branch only)
...
PR ada/6919
* adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
GNU/Linux.
From-SVN: r59089
2002-11-13 21:48:22 +00:00
Nathanael Nerode
cc41268d05
re PR ada/6558 (Wrongly reverted patches)
...
2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/6558
* config-lang.in: Remove diff_excludes.
From-SVN: r59088
2002-11-13 21:19:51 +00:00
Janis Johnson
f702e70065
install.texi (Testing): Document extra Java testing.
...
2002-11-13 Janis Johnson <janis187@us.ibm.com>
* doc/install.texi (Testing): Document extra Java testing.
* doc/sourcebuild.texi (Test Suites): Document libgcj testing.
From-SVN: r59085
2002-11-13 20:55:02 +00:00
John David Anglin
08ec53e798
pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the beginning of the spec.
...
* pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
beginning of the spec.
(LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
(LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable. Add comment
regarding problems with global constructors when using GNU ld.
From-SVN: r59084
2002-11-13 20:38:13 +00:00
Michael Koch
61d318260a
2002-11-13 Michael Koch <konqueror@gmx.de>
...
* java/nio/ByteBuffer.java
(allocate): New method.
(wrap): New method.
(put): New method.
(get): New method.
From-SVN: r59082
2002-11-13 18:43:20 +00:00
Benjamin Kosnik
4a1338ed66
linker-map.gnu: Export all _S_construct.
...
2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Export all _S_construct.
From-SVN: r59080
2002-11-13 18:27:37 +00:00
Stuart Hastings
cbf78ae4d1
* MAINTAINERS: Add myself to write-after-approval list.
...
From-SVN: r59079
2002-11-13 18:13:34 +00:00
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