platform/upstream/gcc.git
22 years agolibtool.m4 (libtool_flags): Add patch from libtool CVS...
Andreas Jaeger [Wed, 20 Nov 2002 15:18:53 +0000 (16:18 +0100)]
libtool.m4 (libtool_flags): Add patch from libtool CVS...

* libtool.m4 (libtool_flags): Add patch from libtool CVS: Support
linking of 32-bit libraries with ld on the x86-64, ppc64, s390x
and sparc64 GNU/Linux systems.

From-SVN: r59304

22 years ago20021120-1.c: New test.
Eric Botcazou [Wed, 20 Nov 2002 10:50:29 +0000 (10:50 +0000)]
20021120-1.c: New test.

* gcc.c-torture/compile/20021120-1.c: New test.
* gcc.c-torture/compile/20021120-2.c: New test.

From-SVN: r59303

22 years agore PR c/8518 (ICE when compiling mplayer)
Eric Botcazou [Wed, 20 Nov 2002 10:37:08 +0000 (10:37 +0000)]
re PR c/8518 (ICE when compiling mplayer)

PR c/8518
* c-decl.c (duplicate_decls): Outline the second definition
of an extern inline function in all cases.

From-SVN: r59302

22 years agostor-layout.c (place_field): Update rli->offset as well as rli->bitpos.
Richard Sandiford [Wed, 20 Nov 2002 10:09:01 +0000 (10:09 +0000)]
stor-layout.c (place_field): Update rli->offset as well as rli->bitpos.

* stor-layout.c (place_field): Update rli->offset as well as
rli->bitpos.

From-SVN: r59301

22 years ago* sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
Richard Sandiford [Wed, 20 Nov 2002 10:03:36 +0000 (10:03 +0000)]
* sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.

From-SVN: r59300

22 years agosh.md (udivsi3): Don't put udivsi3_i4_media instructions into a libcall block.
Richard Sandiford [Wed, 20 Nov 2002 09:59:28 +0000 (09:59 +0000)]
sh.md (udivsi3): Don't put udivsi3_i4_media instructions into a libcall block.

* config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
into a libcall block.
(divsi3): Likewise divsi3_i4_media.

From-SVN: r59299

22 years agoglobal.c (find_reg): Check HARD_REGNO_NREGS before kicking out another register.
Richard Sandiford [Wed, 20 Nov 2002 09:52:14 +0000 (09:52 +0000)]
global.c (find_reg): Check HARD_REGNO_NREGS before kicking out another register.

* global.c (find_reg): Check HARD_REGNO_NREGS before kicking
out another register.

From-SVN: r59298

22 years agocombine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask ...
Jakub Jelinek [Wed, 20 Nov 2002 09:43:20 +0000 (10:43 +0100)]
combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask (not just mask) are set in C.

* combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
(not just mask) are set in C.

* gcc.c-torture/execute/20021118-3.c: New test.

From-SVN: r59295

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

From-SVN: r59294

22 years agoloop.c (record_giv): Initialize not_replaceable.
Andreas Jaeger [Wed, 20 Nov 2002 06:14:54 +0000 (07:14 +0100)]
loop.c (record_giv): Initialize not_replaceable.

* loop.c (record_giv): Initialize not_replaceable.
(check_final_value): Likewise.

From-SVN: r59288

22 years agopt.c (for_each_template_parm): Free allocated memory.
Mark Mitchell [Wed, 20 Nov 2002 05:17:01 +0000 (05:17 +0000)]
pt.c (for_each_template_parm): Free allocated memory.

* pt.c (for_each_template_parm): Free allocated memory.
* search.c (is_subobject_of_p_1): New function.
(is_subobject_of_p): Avoid walking virtual bases multiple times.

From-SVN: r59287

22 years agoh8300.c (h8300_init_once): Replace 1 with MASK_H8300S.
Kazu Hirata [Wed, 20 Nov 2002 05:04:31 +0000 (05:04 +0000)]
h8300.c (h8300_init_once): Replace 1 with MASK_H8300S.

* config/h8300/h8300.c (h8300_init_once): Replace 1 with
MASK_H8300S.

From-SVN: r59286

22 years agoh8300.c (h8300_init_once): Allow -mn switch only if -mh or -ms present.
Vijay L. Khuspe [Wed, 20 Nov 2002 04:54:39 +0000 (04:54 +0000)]
h8300.c (h8300_init_once): Allow -mn switch only if -mh or -ms present.

* config/h8300/h8300.c (h8300_init_once): Allow -mn switch
only if -mh or -ms present.
(h8300_eightbit_constant_address_p): Support the normal mode.
(h8300_tiny_constant_address_p): Likewise.
* config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
(POINTER_SIZE): Add 16 bit pointer for the normal mode.
(Pmode): Evaluate to HImode for the normal mode.
(SIZE_TYPE): Evaluate to unsigned int for normal mode.
(PTRDIFF_TYPE): Evaluate to int for the normal mode.
(ASM_WORD_OP): Evaluate to word for the normal mode.
* config/h8300/h8300.md (tablejump_normal_mode): New.
(indirect_jump_normal_mode): New.
* config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
directory.
(MULTILIB_DIRNAMES): Create target dependent directory
'normal'.
        (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
* doc/invoke.texi (gccoptlist): Describe the new switch -mn.

From-SVN: r59285

22 years agohowto.html: Fix example code...
Jonathan Wakely [Wed, 20 Nov 2002 01:12:02 +0000 (01:12 +0000)]
howto.html: Fix example code...

2002-11-20  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/21_strings/howto.html: Fix example code, cite Gaby's
explanation of "<unknown type>" error with toupper/tolower.
* docs/html/22_locale/howto.html: Be more consistent with
example in 21_strings.

From-SVN: r59284

22 years agore PR fortran/8587 ((double complex zero)**(double prec number) = NAN instead of...
Toon Moene [Tue, 19 Nov 2002 23:17:36 +0000 (00:17 +0100)]
re PR fortran/8587 ((double complex zero)**(double prec number) = NAN instead of zero)

2002-11-19  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/8587
* libF77/pow_zz.c: Handle (0.0, 0.0) ** power.

2002-11-19  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/8587
* news.texi: Show PR fortran/8587 fixed.

From-SVN: r59280

22 years agoi386.md (length_immediate): Do not refer to insn address.
Jan Hubicka [Tue, 19 Nov 2002 22:52:40 +0000 (22:52 +0000)]
i386.md (length_immediate): Do not refer to insn address.

* i386.md (length_immediate): Do not refer to insn address.
(jcc*, jmp patterns):  Compute length explicitly.

From-SVN: r59279

22 years agonatReference.cc (add_to_hash): Look at `copy', not `referent'.
Tom Tromey [Tue, 19 Nov 2002 21:59:41 +0000 (21:59 +0000)]
natReference.cc (add_to_hash): Look at `copy', not `referent'.

* java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
`referent'.
(finalize_referred_to_object): Don't modify `referent' or `copy'
fields.
(add_to_hash): Correctly set `n->next' when updating list.
* java/lang/ref/Reference.java (enqueue): Return false if already
enqueued.

From-SVN: r59278

22 years agojni.h: Add missing JNICALL and JNIEXPORT attributes to function and function pointer...
Ranjit Mathew [Tue, 19 Nov 2002 21:23:28 +0000 (21:23 +0000)]
jni.h: Add missing JNICALL and JNIEXPORT attributes to function and function pointer...

2002-11-19  Ranjit Mathew <rmathew@hotmail.com>

* include/jni.h: Add missing JNICALL and JNIEXPORT attributes
to function and function pointer declarations in accordance with
Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
based on whether __GCJ_JNI_IMPL__ has been defined or not.
* jni.cc: Add missing JNICALL and JNIEXPORT attributes to
JNI function definitions.

From-SVN: r59277

22 years ago2002-11-19 �Eric Botcazou �<ebotcazou@libertysurf.fr>
Eric Botcazou [Tue, 19 Nov 2002 20:19:50 +0000 (20:19 +0000)]
2002-11-19 �Eric Botcazou �<ebotcazou@libertysurf.fr>

* gcc.c-torture/compile/20021119-1.c: New test.

From-SVN: r59276

22 years agore PR c/8588 (ICE in extract_insn, at recog.c:2148)
Eric Botcazou [Tue, 19 Nov 2002 20:13:20 +0000 (20:13 +0000)]
re PR c/8588 (ICE in extract_insn, at recog.c:2148)

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

PR c/8588
* optabs.c (expand_binop): Convert CONST_INTs in shift
operations too.

From-SVN: r59274

22 years ago* gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
Roger Sayle [Tue, 19 Nov 2002 19:26:53 +0000 (19:26 +0000)]
* gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.

From-SVN: r59271

22 years agoh8300.md (an anonymous pattern): Relax the condition to accept the same operands...
Kazu Hirata [Tue, 19 Nov 2002 18:41:27 +0000 (18:41 +0000)]
h8300.md (an anonymous pattern): Relax the condition to accept the same operands and/or subregs.

* config/h8300/h8300.md (an anonymous pattern): Relax the
condition to accept the same operands and/or subregs.

From-SVN: r59270

22 years agosh.c (gen_shl_and): Revert previous patch.
Daniel Jacobowitz [Tue, 19 Nov 2002 18:27:01 +0000 (18:27 +0000)]
sh.c (gen_shl_and): Revert previous patch.

        * config/sh/sh.c (gen_shl_and): Revert previous patch.
        * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
        reload_completed.

From-SVN: r59269

22 years agoh8300.c (print_operand): Update the use of EIGHTBIT_CONSTANT_ADDRESS_P.
Kazu Hirata [Tue, 19 Nov 2002 15:17:24 +0000 (15:17 +0000)]
h8300.c (print_operand): Update the use of EIGHTBIT_CONSTANT_ADDRESS_P.

* config/h8300/h8300.c (print_operand): Update the use of
EIGHTBIT_CONSTANT_ADDRESS_P.
(h8300_adjust_insn_length): Likewise.
(h8300_eightbit_constant_address_p): Check if the given rtx is
a variable with __attribute__((eightbit_data)).
* config/h8300/h8300.h (OK_FOR_U): Update the use of
EIGHTBIT_CONSTANT_ADDRESS_P.

From-SVN: r59263

22 years agohowto.html: Fix typo.
John Gustafsson [Tue, 19 Nov 2002 11:32:10 +0000 (12:32 +0100)]
howto.html: Fix typo.

2002-11-19  John Gustafsson  <forgoil@rsn.bth.se>

* docs/html/20_util/howto.html: Fix typo.

From-SVN: r59258

22 years ago* MAINTAINERS: Update email.
Nathan Sidwell [Tue, 19 Nov 2002 10:57:58 +0000 (10:57 +0000)]
* MAINTAINERS: Update email.

From-SVN: r59257

22 years agocontrib.texi (Contributors): Add self as second contact in addition to Jeff Law.
Gerald Pfeifer [Tue, 19 Nov 2002 08:25:01 +0000 (09:25 +0100)]
contrib.texi (Contributors): Add self as second contact in addition to Jeff Law.

* doc/contrib.texi (Contributors): Add self as second contact in
addition to Jeff Law.

From-SVN: r59256

22 years agoDaily bump.
GCC Administrator [Tue, 19 Nov 2002 08:18:06 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r59255

22 years agotree-inline.c: Move prototpyes of find_alloca_call_1 and find_alloca_call to right...
Andreas Jaeger [Tue, 19 Nov 2002 07:11:42 +0000 (08:11 +0100)]
tree-inline.c: Move prototpyes of find_alloca_call_1 and find_alloca_call to right place.

* tree-inline.c: Move prototpyes of find_alloca_call_1 and
find_alloca_call to right place.

From-SVN: r59247

22 years ago* cppfiles.c: Fix formatting.
Kazu Hirata [Tue, 19 Nov 2002 06:55:04 +0000 (06:55 +0000)]
* cppfiles.c: Fix formatting.

From-SVN: r59245

22 years agogcc.c (The Specs Language): Document spec functions.
Jason Thorpe [Tue, 19 Nov 2002 04:37:50 +0000 (04:37 +0000)]
gcc.c (The Specs Language): Document spec functions.

* gcc.c (The Specs Language): Document spec functions.
(static_spec_functions, lookup_spec_function)
(eval_spec_function, handle_spec_function)
(if_exists_spec_function, alloc_args): New.
(execute): Abort if processing_spec_function is true.
(do_spec_1): Hand off spec to handle_spec_function if %:
is encountered.  If processing_spec_function is true,
end any pending argument when the end of the string is reached.
(main): Use alloc_args to allocate the initial argument vector.
* gcc.h (struct spec_function): New.
(lang_specific_spec_functions): New extern.

* config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
(ENDFILE_SPEC): Add if-exists(crtn%O%s).
* config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.

* doc/invoke.texi: Document spec functions.

* cppspec.c (lang_specific_spec_functions): New.
* gccspec.c: Likewise.

* g++spec.c (lang_specific_spec_functions): New.

* g77spec.c (lang_specific_spec_functions): New.

* jvspec.c (lang_specific_spec_functions): New.

From-SVN: r59241

22 years agoduff-1.c: New test.
Jason Thorpe [Tue, 19 Nov 2002 04:27:13 +0000 (04:27 +0000)]
duff-1.c: New test.

* gcc.dg/duff-1.c: New test.
* gcc.dg/duff-2.c: New test.
* gcc.dg/duff-3.c: New test.

From-SVN: r59240

22 years agohpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
Steve Ellcey [Mon, 18 Nov 2002 23:21:42 +0000 (23:21 +0000)]
hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.

* config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
(FIXUNS_TRUNCTFDI2_LIBCALL): New.
(fixunstfsi_libfunc): Change.
(fixunstfdi_libfunc): Change.
(sdiv_optab): Don't zero out SImode handler.
(udiv_optab): Don't zero out SImode handler.
(smod_optab): Don't zero out SImode handler.
(umod_optab): Don't zero out SImode handler.

From-SVN: r59238

22 years agostreambuf.tcc (__copy_streambufs): verify __sbin->gptr() + __bufsize < __sbin->egptr...
Jonathan Lennox [Mon, 18 Nov 2002 22:42:35 +0000 (22:42 +0000)]
streambuf.tcc (__copy_streambufs): verify __sbin->gptr() + __bufsize < __sbin->egptr() before using.

2002-11-18  Jonathan Lennox  <lennox@cs.columbia.edu>

* include/bits/streambuf.tcc (__copy_streambufs): verify
__sbin->gptr() + __bufsize < __sbin->egptr() before using.
* testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
(test05): Use test_buffer_4.  Delete unused ostringstream
variables.

From-SVN: r59234

22 years agoCoderResult.java (Cache.get): Fix a bug that was causing CoderResults to be cached...
Jesse Rosenstock [Mon, 18 Nov 2002 21:31:12 +0000 (21:31 +0000)]
CoderResult.java (Cache.get): Fix a bug that was causing CoderResults to be cached...

2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>

        * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
        that was causing CoderResults to be cached, not WeakReferences
        to CoderResults.

From-SVN: r59233

22 years agore PR preprocessor/8524 (_Pragma within macros is improperly expanded)
Neil Booth [Mon, 18 Nov 2002 20:43:40 +0000 (20:43 +0000)]
re PR preprocessor/8524 (_Pragma within macros is improperly expanded)

PR preprocessor/8524
* cpplib.c (run_directive): Remove previous kludge to _Pragma.
Add a new one in its place, which hopefully works.
(skip_rest_of_line): Change test for bottom-of-context-stack.
testsuite:
* gcc.dg/cpp/_Pragma5.c: New test.

From-SVN: r59232

22 years agoi386.md (addqi_1_slp): Fix output template.
Jan Hubicka [Mon, 18 Nov 2002 20:32:56 +0000 (21:32 +0100)]
i386.md (addqi_1_slp): Fix output template.

* i386.md (addqi_1_slp): Fix output template.
(subqi_1_slp): Fix type.

From-SVN: r59230

22 years agoPR libstdc++/6745 (continued)
Paolo Carlini [Mon, 18 Nov 2002 20:03:52 +0000 (21:03 +0100)]
PR libstdc++/6745 (continued)

2002-11-18  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6745 (continued)
* include/bits/streambuf.tcc (__copy_streambufs):
Deal with interactive input by using isatty as in the
fix for libstdc++/8399.

From-SVN: r59229

22 years agocalls.c (alloca_call_p): New global function.
Jan Hubicka [Mon, 18 Nov 2002 19:30:34 +0000 (20:30 +0100)]
calls.c (alloca_call_p): New global function.

* calls.c (alloca_call_p): New global function.
* tree.h (alloca_call_p): New.
* tree-inline.c (inlinable_function_p):  Do not inline when
function calls alloca.
(find_alloca_call, find_alloca_call_1): New functions.

From-SVN: r59228

22 years agore PR java/7912 (invalid verification error for arrays)
Tom Tromey [Mon, 18 Nov 2002 18:13:36 +0000 (18:13 +0000)]
re PR java/7912 (invalid verification error for arrays)

Fix for PR java/7912:
* expr.c (can_widen_reference_to): Allow cast of array to
Cloneable or Serializable.
* java-tree.h (java_lang_cloneable_identifier_node): Declare.
(java_io_serializable_identifier_node): Likewise.
* parse.y (java_lang_cloneable, java_io_serializable): Removed.
(valid_ref_assignconv_cast_p): Use new identifier nodes.
* lex.c (java_init_lex): Don't initialize java_lang_cloneable and
java_io_serializable.
* decl.c (java_init_decl_processing): Initialize
java_lang_cloneable_identifier_node and
java_io_serializable_identifier_node.
(java_lang_cloneable_identifier_node): New global.
(java_io_serializable_identifier_node): Likewise.

From-SVN: r59227

22 years agoKeyStore.java (getInstance): Fix comment and throw IllegalArgumentException if given...
Joerg Brunsmann [Mon, 18 Nov 2002 18:09:35 +0000 (18:09 +0000)]
KeyStore.java (getInstance): Fix comment and throw IllegalArgumentException if given provider is null.

2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>

* java/security/KeyStore.java (getInstance): Fix
comment and throw IllegalArgumentException if
given provider is null.
(getInstance): New method for jdk1.4 compatibility.

From-SVN: r59226

22 years agoh8300.md (*andorqi3): Use bor between bld and bst.
Kazu Hirata [Mon, 18 Nov 2002 16:40:43 +0000 (16:40 +0000)]
h8300.md (*andorqi3): Use bor between bld and bst.

* config/h8300/h8300.md (*andorqi3): Use bor between bld and
bst.  Update the insn length.
(*andorhi3): Likewise.
(*andorsi3): Likewise.

From-SVN: r59225

22 years agobuffer.c: Remove unnecessary casts.
Jens-Michael Hoffmann [Mon, 18 Nov 2002 15:46:34 +0000 (15:46 +0000)]
buffer.c: Remove unnecessary casts.

2002-11-14  Jens-Michael Hoffmann  <jensmh@gmx.de>

        * buffer.c: Remove unnecessary casts.
        * check-init.c: Likewise.
        * class.c: Likewise.
        * constants.c: Likewise.
        * decl.c: Likewise.
        * except.c: Likewise.
        * gjavah.c: Likewise.
        * jcf-io.c: Likewise.
        * jcf-parse.c: Likewise.
        * jcf-path.c: Likewise.
        * jvspec.c: Likewise.
        * lang.c: Likewise.
        * lex.c: Likewise.
        * verify.c: Likewise.

From-SVN: r59224

22 years ago* MAINTAINERS: Complete James Dennett's entry.
Gerald Pfeifer [Mon, 18 Nov 2002 14:57:19 +0000 (15:57 +0100)]
* MAINTAINERS: Complete James Dennett's entry.

From-SVN: r59222

22 years agoPlainSocketImpl.java: Fix imports.
Michael Koch [Mon, 18 Nov 2002 14:55:54 +0000 (14:55 +0000)]
PlainSocketImpl.java: Fix imports.

2002-11-18  Michael Koch <konqueror@gmx.de>

* java/net/PlainSocketImpl.java: Fix imports.

From-SVN: r59221

22 years agoadaint.c (__gnat_tmp_name): Better, but good enough for now, solution to buffer overf...
Nathanael Nerode [Mon, 18 Nov 2002 14:39:46 +0000 (14:39 +0000)]
adaint.c (__gnat_tmp_name): Better, but good enough for now, solution to buffer overflow bug on GNU/Linux.

2002-11-18  Nathanael Nerode  <neroden@gcc.gnu.org>
* adaint.c (__gnat_tmp_name): Better, but good enough for now,
solution to buffer overflow bug on GNU/Linux.

From-SVN: r59220

22 years ago2002-11-18 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 18 Nov 2002 14:31:39 +0000 (14:31 +0000)]
2002-11-18  Michael Koch <konqueror@gmx.de>

* java/nio/channels/SelectionKey.java
(isValid): Added exception documentation.
* java/nio/channels/Selector.java
(open): Declare "throws IOException".

From-SVN: r59219

22 years ago2002-11-17 Jesse Rosenstock <jmr@ugcs.caltech.edu>
Jesse Rosenstock [Mon, 18 Nov 2002 14:15:16 +0000 (14:15 +0000)]
2002-11-17  Jesse Rosenstock <jmr@ugcs.caltech.edu>

* java/nio/charset/Charset.java
(<clinit>): New method.
(encode): Synchronize use of cached encoder object.
(decode): Synchronize use of cached encoder object.

From-SVN: r59218

22 years agosh-protos.h (sh_mark_label): Declare.
Richard Sandiford [Mon, 18 Nov 2002 14:01:23 +0000 (14:01 +0000)]
sh-protos.h (sh_mark_label): Declare.

* config/sh/sh-protos.h (sh_mark_label): Declare.
* config/sh/sh.c (sh_mark_label): New function, taken from
movdi_const, but fixing the case when the address has an addend.
* config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.

From-SVN: r59217

22 years agoByteBufferImpl.java, [...]: New files.
Michael Koch [Mon, 18 Nov 2002 13:56:59 +0000 (13:56 +0000)]
ByteBufferImpl.java, [...]: New files.

2002-11-18  Michael Koch <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java,
gnu/java/nio/CharBufferImpl.java,
gnu/java/nio/DatagramChannelImpl.java,
gnu/java/nio/DoubleBufferImpl.java,
gnu/java/nio/FileChannelImpl.java,
gnu/java/nio/FloatBufferImpl.java,
gnu/java/nio/IntBufferImpl.java,
gnu/java/nio/LongBufferImpl.java,
gnu/java/nio/PipeImpl.java,
gnu/java/nio/SelectionKeyImpl.java,
gnu/java/nio/SelectorImpl.java,
gnu/java/nio/SelectorProviderImpl.java,
gnu/java/nio/ServerSocketChannelImpl.java,
gnu/java/nio/ShortBufferImpl.java,
gnu/java/nio/SocketChannelImpl.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java,
java/nio/channels/FileChannel.java: New files.

From-SVN: r59216

22 years agoMakefile.am (ordinary_java_source_files): Added java/nio/ReadOnlyBufferException...
Michael Koch [Mon, 18 Nov 2002 13:29:29 +0000 (13:29 +0000)]
Makefile.am (ordinary_java_source_files): Added java/nio/ReadOnlyBufferException.java and...

2002-11-18  Michael Koch <konqueror@gmx.de>

* Makefile.am (ordinary_java_source_files):
Added java/nio/ReadOnlyBufferException.java and
java/nio/channels/ClosedSelectorException.java.
* Makefile.in: Regenerated.

From-SVN: r59215

22 years agoPlainSocketImpl.java: Reworked imports.
Michael Koch [Mon, 18 Nov 2002 13:22:55 +0000 (13:22 +0000)]
PlainSocketImpl.java: Reworked imports.

2002-11-18  Michael Koch <konqueror@gmx.de>

* java/net/PlainSocketImpl.java: Reworked imports.
* java/net/ServerSocket.java
(ServerSocket): Create socket.
* java/net/SocketAddress.java: Documentation added.
* java/net/natPlainSocketImpl.cc: Reindented.
* java/nio/ReadOnlyBufferException.java: New file
* java/nio/channels/ClosedChannelException.java: Documentation added.
* java/nio/channels/ClosedSelectorException.java: New file.

From-SVN: r59214

22 years agosh.c (pool_node): New field: part_of_sequence_p.
Richard Sandiford [Mon, 18 Nov 2002 12:46:48 +0000 (12:46 +0000)]
sh.c (pool_node): New field: part_of_sequence_p.

* config/sh/sh.c (pool_node): New field: part_of_sequence_p.
(add_constant): Set it.
(dump_table): Don't reorder a constant if part_of_sequence_p.
(machine_dependent_reorg): Assume that float constants will
stay in their original order if used as a sequence.

From-SVN: r59213

22 years agosh.c (calc_live_regs): Update check for PIC liveness in compact code.
Richard Sandiford [Mon, 18 Nov 2002 12:35:15 +0000 (12:35 +0000)]
sh.c (calc_live_regs): Update check for PIC liveness in compact code.

* config/sh/sh.c (calc_live_regs): Update check for PIC liveness
in compact code.

From-SVN: r59212

22 years agosh.md (initialize_trampoline): Do not force the trampoline address into R0_REGS here.
Richard Sandiford [Mon, 18 Nov 2002 12:12:24 +0000 (12:12 +0000)]
sh.md (initialize_trampoline): Do not force the trampoline address into R0_REGS here.

* config/sh/sh.md (initialize_trampoline): Do not force the
trampoline address into R0_REGS here.

From-SVN: r59211

22 years agoDaily bump.
GCC Administrator [Mon, 18 Nov 2002 08:19:10 +0000 (08:19 +0000)]
Daily bump.

From-SVN: r59210

22 years ago* df.c: Fix formatting.
Kazu Hirata [Mon, 18 Nov 2002 03:19:44 +0000 (03:19 +0000)]
* df.c: Fix formatting.

From-SVN: r59203

22 years agoh8300.md (two anonymous patterns): Fix insn lengths.
Kazu Hirata [Sun, 17 Nov 2002 23:32:45 +0000 (23:32 +0000)]
h8300.md (two anonymous patterns): Fix insn lengths.

* config/h8300/h8300.md (two anonymous patterns): Fix insn
lengths.

From-SVN: r59202

22 years agosh.c (gen_shl_and): Don't create a zero_extend if the operand is not an arith_reg_ope...
Daniel Jacobowitz [Sun, 17 Nov 2002 22:33:31 +0000 (22:33 +0000)]
sh.c (gen_shl_and): Don't create a zero_extend if the operand is not an arith_reg_operand.

* sh.c (gen_shl_and): Don't create a zero_extend if the operand
is not an arith_reg_operand.

From-SVN: r59201

22 years agoreal.c (real_to_decimal): Fix buffer overrun when buffer size is smaller than represe...
Graham Stott [Sun, 17 Nov 2002 20:20:39 +0000 (20:20 +0000)]
real.c (real_to_decimal): Fix buffer overrun when buffer size is smaller than representation.

        * real.c (real_to_decimal): Fix buffer overrun when buffer size
        is smaller than representation.

From-SVN: r59200

22 years agoHttpURLConnection.java ((getPermission): Take port into consideration.
Mark Wielaard [Sun, 17 Nov 2002 16:16:52 +0000 (16:16 +0000)]
HttpURLConnection.java ((getPermission): Take port into consideration.

        * java/net/HttpURLConnection.java ((getPermission): Take port
        into consideration.
        (getErrorStream): Implement.

From-SVN: r59196

22 years ago* java/net/HttpURLConnection.java: Merge with GNU Classpath.
Mark Wielaard [Sun, 17 Nov 2002 15:47:27 +0000 (15:47 +0000)]
* java/net/HttpURLConnection.java: Merge with GNU Classpath.

From-SVN: r59195

22 years ago* builtins.c: Fix formatting.
Kazu Hirata [Sun, 17 Nov 2002 14:47:07 +0000 (14:47 +0000)]
* builtins.c: Fix formatting.

From-SVN: r59194

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

From-SVN: r59191

22 years agolinker-map.gnu: Export _S_construct even if size_t is unsigned long.
Jakub Jelinek [Sun, 17 Nov 2002 05:08:23 +0000 (06:08 +0100)]
linker-map.gnu: Export _S_construct even if size_t is unsigned long.

* config/linker-map.gnu: Export _S_construct even if size_t is
unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.

From-SVN: r59182

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

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

From-SVN: r59157

22 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

22 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

22 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

22 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

22 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

22 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

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

From-SVN: r59137

22 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

22 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

22 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

22 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

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

From-SVN: r59130

22 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

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

From-SVN: r59125

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

From-SVN: r59124

22 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

22 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

22 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

22 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

22 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

22 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

22 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