platform/upstream/gcc.git
21 years ago* config/h8300/h8300.md (two anonymous patterns): Fix typos.
Kazu Hirata [Sun, 17 Nov 2002 03:30:25 +0000 (03:30 +0000)]
* config/h8300/h8300.md (two anonymous patterns): Fix typos.

From-SVN: r59181

21 years ago* config/h8300/h8300.md: Fix formatting.
Kazu Hirata [Sun, 17 Nov 2002 03:18:12 +0000 (03:18 +0000)]
* config/h8300/h8300.md: Fix formatting.

From-SVN: r59180

21 years agoIntegrate work by Raif S.
Mark Wielaard [Sun, 17 Nov 2002 00:10:24 +0000 (00:10 +0000)]
Integrate work by Raif S.

Integrate work by Raif S. Naffah (raif@fl.net.au)
* java/security/DummyKeyPairGenerator.java (clone): New method.
* java/security/DummyMessageDigest.java (clone): New method.
(engineUpdate): Now public.
(engineReset): Likewise.
(engineDigest): Likewise.
(engineGetDigestLength): New method.
* java/security/DummySignature.java (clone): New method.
* java/security/KeyPairGenerator.java (provider): Now package private.
(getInstance(String)): Use getInstance(String,Provider).
(getInstance(String,String): Use getInstance(String,Provider)
(getInstance(String,Provider): New method.
(getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
* java/security/KeyPairGeneratorSpi.java (clone): New method.
* java/security/MessageDigest.java (provider): Now package private.
(getInstance(String): Use getInstance(String,Provider).
(getInstance(String,String): Use getInstance(String,Provider)
(getInstance(String,Provider): New method.
* java/security/Provider.java (toCanonicalKey): New method.
(get): New method that uses toCanonicalKey().
(put): Use toCanonicalKey().
(remove): Likewise.
* java/security/Security.java (insertProviderAt): Provider index is one
based, not zero based.
(addProvider): Likewise.
(removeProvider): Likewise.
* java/security/Signature.java (provider): Now package private.
(getInstance(String)): Use getInstance(String,Provider).
(getInstance(String,String): Use getInstance(String,Provider)
(getInstance(String,Provider): New method.
(getInstance(String,String,Provider): Don't cast DummySignature.

From-SVN: r59179

21 years ago* gcc.dg/20021116-1.c: New test.
Jakub Jelinek [Sat, 16 Nov 2002 20:04:40 +0000 (21:04 +0100)]
* gcc.dg/20021116-1.c: New test.

From-SVN: r59178

21 years agoh8300.md: Replace spaces with tabs.
Kazu Hirata [Sat, 16 Nov 2002 19:49:56 +0000 (19:49 +0000)]
h8300.md: Replace spaces with tabs.

* config/h8300/h8300.md: Replace spaces with tabs.
* config/h8300/t-h8300: Remove a trailing empty line.

From-SVN: r59177

21 years ago* tlink.c: Fix formatting.
Kazu Hirata [Sat, 16 Nov 2002 18:33:29 +0000 (18:33 +0000)]
* tlink.c: Fix formatting.

From-SVN: r59176

21 years agoadd PR 8362 note.
David Edelsohn [Sat, 16 Nov 2002 18:04:24 +0000 (13:04 -0500)]
add PR 8362 note.

From-SVN: r59175

21 years agors6000.c (rs6000_outout_load_multiple): New function.
David Edelsohn [Sat, 16 Nov 2002 18:01:51 +0000 (18:01 +0000)]
rs6000.c (rs6000_outout_load_multiple): New function.

        * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
        * config/rs6000/rs6000.md (movti_string): Remove output modifier
        when scratch register never needed.
        (ldmsi[3-8]): New patterns.

From-SVN: r59174

21 years agohard-reg-set.h: Follow spelling conventions.
Kazu Hirata [Sat, 16 Nov 2002 17:52:53 +0000 (17:52 +0000)]
hard-reg-set.h: Follow spelling conventions.

* hard-reg-set.h: Follow spelling conventions.
* real.c: Likewise.
* target.h: Likewise.

From-SVN: r59173

21 years agore PR libstdc++/8230 (Buggy allocator behaviour)
Benjamin Kosnik [Sat, 16 Nov 2002 17:16:31 +0000 (17:16 +0000)]
re PR libstdc++/8230 (Buggy allocator behaviour)

2002-11-15  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@integrable-solutions.net>

PR libstdc++/8230
* include/bits/stl_alloc.h: Use builtin_expect for the most
obvious limit checks.
(__default_alloc_template::allocate): Check for null, throw
bad_alloc.
* include/bits/vector.tcc: Formatting tweaks.
* include/bits/stl_vector.h: Same.
* testsuite/20_util/allocator_members.cc (test02): Add.
* testsuite/23_containers/vector_capacity.cc (test03): Add.

Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>
From-SVN: r59169

21 years ago* config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
Jakub Jelinek [Sat, 16 Nov 2002 13:33:38 +0000 (14:33 +0100)]
* config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.

From-SVN: r59162

21 years agomd5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be used with...
Jakub Jelinek [Sat, 16 Nov 2002 12:38:43 +0000 (13:38 +0100)]
md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be used with arguments in...

* md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
used with arguments in traditional C' warnings.

From-SVN: r59158

21 years agoDaily bump.
GCC Administrator [Sat, 16 Nov 2002 08:18:01 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r59157

21 years ago* optabs.c: Fix formatting.
Kazu Hirata [Sat, 16 Nov 2002 06:08:16 +0000 (06:08 +0000)]
* optabs.c: Fix formatting.

From-SVN: r59151

21 years agoathlon.md, [...]: Handle shift1, rotate1
Jan Hubicka [Sat, 16 Nov 2002 01:09:19 +0000 (02:09 +0100)]
athlon.md, [...]: Handle shift1, rotate1

* athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
* i386.md (attribute type): Add type shift1 and rotate1.
(*_slp): Rewrite to have just two operands to avoid reload problems.

From-SVN: r59147

21 years agoFor PR libgcj/8593:
Tom Tromey [Sat, 16 Nov 2002 00:41:32 +0000 (00:41 +0000)]
For PR libgcj/8593:

* java/util/zip/GZIPInputStream.java (read): Check file size.
Look in inflater for remaining input bytes.
(read4): Added buf and offset arguments.

From-SVN: r59145

21 years ago* config/h8300/h8300.md (4 anonymous patterns): New.
Kazu Hirata [Fri, 15 Nov 2002 22:16:09 +0000 (22:16 +0000)]
* config/h8300/h8300.md (4 anonymous patterns): New.

From-SVN: r59144

21 years agoparams.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
Geoffrey Keating [Fri, 15 Nov 2002 21:27:48 +0000 (21:27 +0000)]
params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.

* params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
* doc/invoke.texi: Correct description of what needs to be done to
force collection at every ggc_collect call.

From-SVN: r59143

21 years ago* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
Rainer Orth [Fri, 15 Nov 2002 19:12:31 +0000 (19:12 +0000)]
* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.

From-SVN: r59141

21 years agoFix typos.
Jakub Jelinek [Fri, 15 Nov 2002 17:22:18 +0000 (18:22 +0100)]
Fix typos.

From-SVN: r59137

21 years agos390.c (optimization_options): Set flag_asynchronous_unwind_tables to 1 by default.
Ulrich Weigand [Fri, 15 Nov 2002 16:59:13 +0000 (16:59 +0000)]
s390.c (optimization_options): Set flag_asynchronous_unwind_tables to 1 by default.

* config/s390/s390.c (optimization_options): Set
flag_asynchronous_unwind_tables to 1 by default.

From-SVN: r59135

21 years agos390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
Ulrich Weigand [Fri, 15 Nov 2002 16:57:49 +0000 (16:57 +0000)]
s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

gcc/ChangeLog:
* config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

libffi/ChangeLog:
* src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.

From-SVN: r59134

21 years agoi386-protos.h (x86_function_profiler): New function
Jan Hubicka [Fri, 15 Nov 2002 14:57:12 +0000 (15:57 +0100)]
i386-protos.h (x86_function_profiler): New function

* i386-protos.h (x86_function_profiler): New function
* i386.h (MCOUNT_NAME): New.
(PROFILE_COUNT_REGISTER): New.
(OUTPUT_FUNCTION_PROFILER): Move offline to ...
* i386.c (x86_function_profiler) ... here; fix 64bit support
* beos-elf.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
* freebsd-aout.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
(PROFILE_COUNT_REGISTER): New.
* linux.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
* x86-64.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.
* freebsd.h (FUNCTION_PROFILER): Kill.
(MCOUNT_NAME): New.

From-SVN: r59132

21 years agoMAINTAINERS (Write After Approval): Add myself.
Eric Botcazou [Fri, 15 Nov 2002 14:48:55 +0000 (15:48 +0100)]
MAINTAINERS (Write After Approval): Add myself.

2002-11-15  Eric Botcazou  <ebotcazou@libertysurf.fr>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r59131

21 years agoFix typos.
Jakub Jelinek [Fri, 15 Nov 2002 13:53:41 +0000 (14:53 +0100)]
Fix typos.

From-SVN: r59130

21 years agoJeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
Jeroen Dobbelaere [Fri, 15 Nov 2002 11:21:36 +0000 (11:21 +0000)]
Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>

Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
* config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
FUNCTION_ARG_PASS_BY_REFERENCE): Define.
* config/arm/arm.c (arm_va_arg,
arm_function_arg_pass_by_reference): New.
* config/arm/arm-protos.h: Add prototypes.

From-SVN: r59127

21 years agoFix two typos.
Jakub Jelinek [Fri, 15 Nov 2002 10:30:53 +0000 (11:30 +0100)]
Fix two typos.

From-SVN: r59125

21 years agoDaily bump.
GCC Administrator [Fri, 15 Nov 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59124

21 years agore PR libstdc++/8399 (sync_with_stdio(false) breaks unformatted input)
Paolo Carlini [Fri, 15 Nov 2002 08:06:35 +0000 (09:06 +0100)]
re PR libstdc++/8399 (sync_with_stdio(false) breaks unformatted input)

2002-11-15  Paolo Carlini  <pcarlini@unitus.it>
    Loren J. Rittle  <ljrittle@acm.org>

PR libstdc++/8399
* acinclude.m4
(GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
check for unistd.h functions.
(GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
in unistd.h.
* configure.in: Call here.
* src/ios.cc (ios_base::Init::_S_ios_create(bool)):
Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
input __in_size = 1 even when sync_with_stdio is false;
otherwise fall back to __in_size = 1.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.

Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
From-SVN: r59118

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Fri, 15 Nov 2002 05:46:34 +0000 (05:46 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* class.c: Likewise.
* decl2.c: Likewise.

From-SVN: r59117

21 years ago* gthr-single.h: Fix formatting.
Kazu Hirata [Fri, 15 Nov 2002 04:53:19 +0000 (04:53 +0000)]
* gthr-single.h: Fix formatting.

From-SVN: r59116

21 years agoCloses PR ada/5856 and PR ada/6919 !
Nathanael Nerode [Fri, 15 Nov 2002 01:45:29 +0000 (01:45 +0000)]
Closes PR ada/5856 and PR ada/6919 !

2002-11-14  Nathanael Nerode  <neroden@gcc.gnu.org>
Closes PR ada/5856 and PR ada/6919 !
* bindgen.adb: Remove all references to Public_Version.
* comperr.adb: Remove all references to Public_Version and
GNATPRO_Version; correct bug reporting instructions.
* comperr.ads: Change to match bug box.
* gnatvsn.ads: Remove all references to Public version and
GNATPRO version.

From-SVN: r59115

21 years agotree.c (tree_vec_elt_check_failed): New function.
Zack Weinberg [Thu, 14 Nov 2002 21:58:38 +0000 (21:58 +0000)]
tree.c (tree_vec_elt_check_failed): New function.

        * tree.c (tree_vec_elt_check_failed): New function.
        * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
        (TREE_VEC_ELT): Use it.

        * tree-inline.c (optimize_inline_calls): Don't copy a
        zero-length vector.
cp:
        * search.c (dfs_push_decls): Do not try to reorder elements
        3..n of method_vec if method_vec has only two elements.
        Reverse order of two tests to avoid accessing unallocated
        memory.

From-SVN: r59114

21 years ago* diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
Gabriel Dos Reis [Thu, 14 Nov 2002 21:34:19 +0000 (21:34 +0000)]
* diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.

From-SVN: r59113

21 years agoAppletContext.java: Fix typo and remove redundant modifiers.
Eric Blake [Thu, 14 Nov 2002 20:35:27 +0000 (20:35 +0000)]
AppletContext.java: Fix typo and remove redundant modifiers.

2002-11-12  Eric Blake  <ebb9@email.byu.edu>

* java/applet/AppletContext.java: Fix typo and remove redundant
modifiers.

From-SVN: r59112

21 years agosyntactic cleanup
Bruce Korb [Thu, 14 Nov 2002 19:44:41 +0000 (19:44 +0000)]
syntactic cleanup

From-SVN: r59111

21 years agonatRuntime.cc (insertSystemProperties): Set gnu.classpath.home.
Tom Tromey [Thu, 14 Nov 2002 18:28:07 +0000 (18:28 +0000)]
natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.

* java/lang/natRuntime.cc (insertSystemProperties): Set
gnu.classpath.home.

From-SVN: r59108

21 years agoMAINTAINERS: Remove from write-after-approval list.
Gabriel Dos Reis [Thu, 14 Nov 2002 18:07:31 +0000 (18:07 +0000)]
MAINTAINERS: Remove from write-after-approval list.

* MAINTAINERS: Remove from write-after-approval list.  Uniformize
emails.

From-SVN: r59107

21 years agoclass.c (dfs_find_final_overrider): Adjust so that the most derived object is a binfo...
Mark Mitchell [Thu, 14 Nov 2002 16:59:23 +0000 (16:59 +0000)]
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

21 years agoDaily bump.
GCC Administrator [Thu, 14 Nov 2002 08:17:18 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59103

21 years agovarasm.c (output_addressed_constants): Clear reloc if both operands contain local...
Jakub Jelinek [Thu, 14 Nov 2002 07:56:54 +0000 (08:56 +0100)]
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

21 years ago* gthr-vxworks.h: Fix formatting.
Kazu Hirata [Thu, 14 Nov 2002 05:42:37 +0000 (05:42 +0000)]
* gthr-vxworks.h: Fix formatting.

From-SVN: r59095

21 years ago* g++.dg/abi/vague1.C (dg-final): Return if target is hppa*-*-hpux*.
John David Anglin [Wed, 13 Nov 2002 23:06:03 +0000 (23:06 +0000)]
* g++.dg/abi/vague1.C (dg-final): Return if target is hppa*-*-hpux*.

From-SVN: r59094

21 years agoacconfig.h (HAVE_DRAND48): Add.
Benjamin Kosnik [Wed, 13 Nov 2002 22:49:20 +0000 (22:49 +0000)]
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

21 years agoos_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define on hppa when there is no weak...
John David Anglin [Wed, 13 Nov 2002 22:36:39 +0000 (22:36 +0000)]
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

21 years agore PR libstdc++/8230 (Buggy allocator behaviour)
Benjamin Kosnik [Wed, 13 Nov 2002 22:15:17 +0000 (22:15 +0000)]
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

21 years agore PR ada/6919 (Ada patches applied to 3.1 branch only)
Nathanael Nerode [Wed, 13 Nov 2002 21:48:22 +0000 (21:48 +0000)]
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

21 years agore PR ada/6558 (Wrongly reverted patches)
Nathanael Nerode [Wed, 13 Nov 2002 21:19:51 +0000 (21:19 +0000)]
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

21 years agoinstall.texi (Testing): Document extra Java testing.
Janis Johnson [Wed, 13 Nov 2002 20:55:02 +0000 (20:55 +0000)]
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

21 years agopa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the beginning of the...
John David Anglin [Wed, 13 Nov 2002 20:38:13 +0000 (20:38 +0000)]
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

21 years ago2002-11-13 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 13 Nov 2002 18:43:20 +0000 (18:43 +0000)]
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

21 years agolinker-map.gnu: Export all _S_construct.
Benjamin Kosnik [Wed, 13 Nov 2002 18:27:37 +0000 (18:27 +0000)]
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

21 years ago* MAINTAINERS: Add myself to write-after-approval list.
Stuart Hastings [Wed, 13 Nov 2002 18:13:34 +0000 (18:13 +0000)]
* MAINTAINERS: Add myself to write-after-approval list.

From-SVN: r59079

21 years agolocale.cc (std::locale::classic()): Weaken locking protocol.
Loren J. Rittle [Wed, 13 Nov 2002 14:55:32 +0000 (14:55 +0000)]
locale.cc (std::locale::classic()): Weaken locking protocol.

libstdc++/7445
* src/locale.cc (std::locale::classic()): Weaken locking protocol.

From-SVN: r59078

21 years agoAlreadyConnectedException.java: Removed unneeded import.
Michael Koch [Wed, 13 Nov 2002 13:52:47 +0000 (13:52 +0000)]
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

21 years ago* gthr-solaris.h: Fix formatting.
Kazu Hirata [Wed, 13 Nov 2002 13:48:15 +0000 (13:48 +0000)]
* gthr-solaris.h: Fix formatting.

From-SVN: r59076

21 years agoBuffer.java: Implemented.
Michael Koch [Wed, 13 Nov 2002 12:21:26 +0000 (12:21 +0000)]
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

21 years agoDaily bump.
GCC Administrator [Wed, 13 Nov 2002 08:17:23 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59071

21 years ago* gthr-posix.h: Fix formatting.
Kazu Hirata [Wed, 13 Nov 2002 05:09:51 +0000 (05:09 +0000)]
* gthr-posix.h: Fix formatting.

From-SVN: r59064

21 years ago* config/h8300/h8300.md (*andorsi3): New.
Kazu Hirata [Wed, 13 Nov 2002 01:11:58 +0000 (01:11 +0000)]
* config/h8300/h8300.md (*andorsi3): New.

From-SVN: r59063

21 years agoinstall.html, [...]: HTML fix.
Jonathan Wakely [Wed, 13 Nov 2002 01:04:03 +0000 (01:04 +0000)]
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

21 years agoinstall.texi (powerpc-*-linux-gnu*): Update binutils requirement.
Franz Sirl [Tue, 12 Nov 2002 21:16:22 +0000 (21:16 +0000)]
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

21 years agoh8300.c (tiny_constant_address_p): Parenthesize expressions appropriately.
Kazu Hirata [Tue, 12 Nov 2002 18:53:39 +0000 (18:53 +0000)]
h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately.

* config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
expressions appropriately.

From-SVN: r59057

21 years agore PR c/8439 (empty struct causes crash)
Eric Botcazou [Tue, 12 Nov 2002 16:27:36 +0000 (17:27 +0100)]
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

21 years ago* gthr-win32.h: Fix formatting.
Kazu Hirata [Tue, 12 Nov 2002 14:22:43 +0000 (14:22 +0000)]
* gthr-win32.h: Fix formatting.

From-SVN: r59051

21 years agoh8300.c (single_one_operand): Correctly compute mask when mode is SImode.
Kazu Hirata [Tue, 12 Nov 2002 14:01:33 +0000 (14:01 +0000)]
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

21 years agocontrib.texi (Contributors): Use GCJ instead of gcj to refer to that entire project.
Gerald Pfeifer [Tue, 12 Nov 2002 12:14:32 +0000 (13:14 +0100)]
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

21 years agot-iris6 (MULTILIB_OSDIRNAMES): Restore old directories.
Rainer Orth [Tue, 12 Nov 2002 11:15:48 +0000 (11:15 +0000)]
t-iris6 (MULTILIB_OSDIRNAMES): Restore old directories.

* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
directories.

From-SVN: r59047

21 years agoDaily bump.
GCC Administrator [Tue, 12 Nov 2002 08:17:27 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59045

21 years ago* configure.in: Look for common files in the right place.
DJ Delorie [Tue, 12 Nov 2002 04:45:57 +0000 (23:45 -0500)]
* configure.in: Look for common files in the right place.

From-SVN: r59039

21 years agoparams.def (ggc-min-expand, [...]): New parameters.
Zack Weinberg [Tue, 12 Nov 2002 00:27:31 +0000 (00:27 +0000)]
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

21 years ago* gthr-dce.h: Fix formatting.
Kazu Hirata [Tue, 12 Nov 2002 00:01:34 +0000 (00:01 +0000)]
* gthr-dce.h: Fix formatting.

From-SVN: r59032

21 years agore PR libstdc++/6746 (ifstream::readsome() always returns zero)
Benjamin Kosnik [Mon, 11 Nov 2002 23:18:05 +0000 (23:18 +0000)]
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

21 years agodostime.c (dos2unixtime): Mask for seconds is 0x1f.
Tom Tromey [Mon, 11 Nov 2002 22:20:56 +0000 (22:20 +0000)]
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

21 years agore PR c/8467 (Bug in sibling call optimization)
Franz Sirl [Mon, 11 Nov 2002 21:29:19 +0000 (21:29 +0000)]
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

21 years agocontrib.texi: Merge in the list from the libstdc++ web pages.
Janis Johnson [Mon, 11 Nov 2002 21:01:35 +0000 (21:01 +0000)]
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

21 years ago* i386.c (construct_container): Fix handling of SSE_CLASS.
Jan Hubicka [Mon, 11 Nov 2002 11:12:09 +0000 (12:12 +0100)]
* i386.c (construct_container): Fix handling of SSE_CLASS.

From-SVN: r59020

21 years agoDaily bump.
GCC Administrator [Mon, 11 Nov 2002 08:17:12 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59019

21 years agoISO_8859_1.java, [...]: New files.
Jesse Rosenstock [Mon, 11 Nov 2002 07:36:41 +0000 (07:36 +0000)]
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

21 years agoCharacterCodingException.java: This class must be public.
Michael Koch [Mon, 11 Nov 2002 07:12:07 +0000 (07:12 +0000)]
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

21 years agoBufferOverflowException.java, [...]: New file.
Michael Koch [Mon, 11 Nov 2002 07:00:29 +0000 (07:00 +0000)]
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

21 years agoContainer.java (validate): Use tree lock.
Tom Tromey [Mon, 11 Nov 2002 06:33:08 +0000 (06:33 +0000)]
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

21 years agot-crtstuff (crti.o): Use this...
Joel Sherrill [Mon, 11 Nov 2002 06:02:20 +0000 (06:02 +0000)]
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

21 years agore PR c/8439 (empty struct causes crash)
Eric Botcazou [Mon, 11 Nov 2002 05:38:22 +0000 (06:38 +0100)]
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

21 years agoRetire common MPW configury bits.
Stan Shebs [Mon, 11 Nov 2002 05:15:36 +0000 (05:15 +0000)]
Retire common MPW configury bits.

        * mpw-mh-mpw: Remove.
        * mpw: Remove directory along with all of its files.

From-SVN: r59004

21 years agocalls.c (PUSH_ARGS_REVERSED): Define only if not defined.
H.J. Lu [Mon, 11 Nov 2002 03:13:18 +0000 (03:13 +0000)]
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

21 years ago* g++.dg/abi/vthunk3.C: Run only on x86.
Mark Mitchell [Mon, 11 Nov 2002 02:20:37 +0000 (02:20 +0000)]
* g++.dg/abi/vthunk3.C: Run only on x86.

From-SVN: r59001

21 years agohowto.html: Make "chapter 22 notes" a link.
Jonathan Wakely [Mon, 11 Nov 2002 01:10:44 +0000 (01:10 +0000)]
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

21 years ago* MAINTAINERS (Write After Approval): Add myself.
Jonathan Wakely [Mon, 11 Nov 2002 00:50:09 +0000 (00:50 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r58999

21 years agoGridLayout.java (layoutContainer): Use tree lock.
Tom Tromey [Sun, 10 Nov 2002 23:11:21 +0000 (23:11 +0000)]
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

21 years agonatFileDescriptorWin32.cc (read): Handle case where count is 0.
Tom Tromey [Sun, 10 Nov 2002 22:23:53 +0000 (22:23 +0000)]
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

21 years agoExternalizable.java, [...]: New versions from Classpath.
Tom Tromey [Sun, 10 Nov 2002 22:06:49 +0000 (22:06 +0000)]
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

21 years agoFix typo.
Jakub Jelinek [Sun, 10 Nov 2002 21:26:20 +0000 (22:26 +0100)]
Fix typo.

From-SVN: r58995

21 years agoAttributes.java (Name): Fix name check.
Anthony Green [Sun, 10 Nov 2002 21:13:44 +0000 (21:13 +0000)]
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

21 years agonatClass.cc (initializeClass): Throw NoClassDefFoundError with getName() as message.
Mark Wielaard [Sun, 10 Nov 2002 21:07:27 +0000 (21:07 +0000)]
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

21 years agojartool.c (add_to_jar): Only compare file to jarfile if jarfile is non-NULL.
Jakub Jelinek [Sun, 10 Nov 2002 21:04:24 +0000 (22:04 +0100)]
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

21 years agosysv4.h: Define NO_IMPLICIT_EXTERN_C here...
Zack Weinberg [Sun, 10 Nov 2002 20:47:45 +0000 (20:47 +0000)]
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

21 years agoFOrgot to commit the file itself. Changelog entry is already at:
Jan Hubicka [Sun, 10 Nov 2002 19:59:26 +0000 (19:59 +0000)]
FOrgot to commit the file itself.  Changelog entry is already at:

* reg-stack.c (compensate_edge): Fix sanity check.

From-SVN: r58988

21 years agonetbsd.h (TARGET_OS_CPP_BUILTINS): Define __ABICALLS__ if TARGET_ABICALLS.
Jason Thorpe [Sun, 10 Nov 2002 18:28:39 +0000 (18:28 +0000)]
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

21 years ago* i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
Jan Hubicka [Sun, 10 Nov 2002 17:52:50 +0000 (18:52 +0100)]
* i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.

From-SVN: r58986