drow [Tue, 19 Nov 2002 18:27:01 +0000 (18:27 +0000)]
* config/sh/sh.c (gen_shl_and): Revert previous patch.
* config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
reload_completed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59269
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 19 Nov 2002 15:17:24 +0000 (15:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59263
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 19 Nov 2002 11:32:10 +0000 (11:32 +0000)]
2002-11-19 John Gustafsson <forgoil@rsn.bth.se>
* docs/html/20_util/howto.html: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59258
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 19 Nov 2002 10:57:58 +0000 (10:57 +0000)]
* MAINTAINERS: Update email.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59257
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Tue, 19 Nov 2002 08:25:01 +0000 (08:25 +0000)]
* doc/contrib.texi (Contributors): Add self as second contact in
addition to Jeff Law.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59256
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 19 Nov 2002 08:18:06 +0000 (08:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59255
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 19 Nov 2002 07:11:42 +0000 (07:11 +0000)]
* tree-inline.c: Move prototpyes of find_alloca_call_1 and
find_alloca_call to right place.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59247
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 19 Nov 2002 06:55:04 +0000 (06:55 +0000)]
* cppfiles.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59245
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Tue, 19 Nov 2002 04:37:50 +0000 (04:37 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59241
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Tue, 19 Nov 2002 04:27:13 +0000 (04:27 +0000)]
* gcc.dg/duff-1.c: New test.
* gcc.dg/duff-2.c: New test.
* gcc.dg/duff-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59240
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Mon, 18 Nov 2002 23:21:42 +0000 (23:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59238
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 18 Nov 2002 22:42:35 +0000 (22:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59234
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 18 Nov 2002 21:31:12 +0000 (21:31 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59233
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 18 Nov 2002 20:43:40 +0000 (20:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59232
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 18 Nov 2002 20:32:56 +0000 (20:32 +0000)]
* i386.md (addqi_1_slp): Fix output template.
(subqi_1_slp): Fix type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59230
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 18 Nov 2002 20:03:52 +0000 (20:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59229
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 18 Nov 2002 19:30:34 +0000 (19:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59228
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 18 Nov 2002 18:13:36 +0000 (18:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59227
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 18 Nov 2002 18:09:35 +0000 (18:09 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59226
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 18 Nov 2002 16:40:43 +0000 (16:40 +0000)]
* config/h8300/h8300.md (*andorqi3): Use bor between bld and
bst. Update the insn length.
(*andorhi3): Likewise.
(*andorsi3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59225
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 18 Nov 2002 15:46:34 +0000 (15:46 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59224
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Mon, 18 Nov 2002 14:57:19 +0000 (14:57 +0000)]
* MAINTAINERS: Complete James Dennett's entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59222
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 18 Nov 2002 14:55:54 +0000 (14:55 +0000)]
2002-11-18 Michael Koch <konqueror@gmx.de>
* java/net/PlainSocketImpl.java: Fix imports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59221
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Mon, 18 Nov 2002 14:39:46 +0000 (14:39 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59220
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [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".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59219
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59218
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 18 Nov 2002 14:01:23 +0000 (14:01 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59217
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 18 Nov 2002 13:56:59 +0000 (13:56 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59216
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 18 Nov 2002 13:29:29 +0000 (13:29 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59215
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 18 Nov 2002 13:22:55 +0000 (13:22 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59214
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 18 Nov 2002 12:46:48 +0000 (12:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59213
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 18 Nov 2002 12:35:15 +0000 (12:35 +0000)]
* config/sh/sh.c (calc_live_regs): Update check for PIC liveness
in compact code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59212
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 18 Nov 2002 12:12:24 +0000 (12:12 +0000)]
* config/sh/sh.md (initialize_trampoline): Do not force the
trampoline address into R0_REGS here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59211
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 18 Nov 2002 08:19:10 +0000 (08:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59210
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 18 Nov 2002 03:19:44 +0000 (03:19 +0000)]
* df.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59203
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 17 Nov 2002 23:32:45 +0000 (23:32 +0000)]
* config/h8300/h8300.md (two anonymous patterns): Fix insn
lengths.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59202
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59201
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59200
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sun, 17 Nov 2002 16:16:52 +0000 (16:16 +0000)]
* java/net/HttpURLConnection.java ((getPermission): Take port
into consideration.
(getErrorStream): Implement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59196
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sun, 17 Nov 2002 15:47:27 +0000 (15:47 +0000)]
* java/net/HttpURLConnection.java: Merge with GNU Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59195
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 17 Nov 2002 14:47:07 +0000 (14:47 +0000)]
* builtins.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59194
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 17 Nov 2002 08:18:17 +0000 (08:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59191
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 17 Nov 2002 05:08:23 +0000 (05:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59182
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 17 Nov 2002 03:30:25 +0000 (03:30 +0000)]
* config/h8300/h8300.md (two anonymous patterns): Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59181
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 17 Nov 2002 03:18:12 +0000 (03:18 +0000)]
* config/h8300/h8300.md: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59180
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sun, 17 Nov 2002 00:10:24 +0000 (00:10 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59179
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 16 Nov 2002 20:04:40 +0000 (20:04 +0000)]
* gcc.dg/
20021116-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59178
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 16 Nov 2002 19:49:56 +0000 (19:49 +0000)]
* config/h8300/h8300.md: Replace spaces with tabs.
* config/h8300/t-h8300: Remove a trailing empty line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59177
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 16 Nov 2002 18:33:29 +0000 (18:33 +0000)]
* tlink.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59176
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 16 Nov 2002 18:04:24 +0000 (18:04 +0000)]
add PR 8362 note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59175
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 16 Nov 2002 18:01:51 +0000 (18:01 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59174
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 16 Nov 2002 17:52:53 +0000 (17:52 +0000)]
* hard-reg-set.h: Follow spelling conventions.
* real.c: Likewise.
* target.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59173
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 16 Nov 2002 17:16:31 +0000 (17:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59169
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 16 Nov 2002 13:33:38 +0000 (13:33 +0000)]
* config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59162
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 16 Nov 2002 12:38:43 +0000 (12:38 +0000)]
* md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
used with arguments in traditional C' warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59158
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 16 Nov 2002 08:18:01 +0000 (08:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59157
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 16 Nov 2002 06:08:16 +0000 (06:08 +0000)]
* optabs.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59151
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 16 Nov 2002 01:09:19 +0000 (01:09 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59147
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59145
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 15 Nov 2002 22:16:09 +0000 (22:16 +0000)]
* config/h8300/h8300.md (4 anonymous patterns): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59144
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 15 Nov 2002 21:27:48 +0000 (21:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59143
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Fri, 15 Nov 2002 19:12:31 +0000 (19:12 +0000)]
* src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59141
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 15 Nov 2002 17:22:18 +0000 (17:22 +0000)]
Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59137
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 15 Nov 2002 16:59:13 +0000 (16:59 +0000)]
* config/s390/s390.c (optimization_options): Set
flag_asynchronous_unwind_tables to 1 by default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59135
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 15 Nov 2002 16:57:49 +0000 (16:57 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59134
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 15 Nov 2002 14:57:12 +0000 (14:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59132
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 15 Nov 2002 14:48:55 +0000 (14:48 +0000)]
2002-11-15 Eric Botcazou <ebotcazou@libertysurf.fr>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59131
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 15 Nov 2002 13:53:41 +0000 (13:53 +0000)]
Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59130
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 15 Nov 2002 11:21:36 +0000 (11:21 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59127
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 15 Nov 2002 10:30:53 +0000 (10:30 +0000)]
Fix two typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59125
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 15 Nov 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59124
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 15 Nov 2002 08:06:35 +0000 (08:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59118
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 15 Nov 2002 05:46:34 +0000 (05:46 +0000)]
* ChangeLog: Follow spelling conventions.
* class.c: Likewise.
* decl2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59117
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 15 Nov 2002 04:53:19 +0000 (04:53 +0000)]
* gthr-single.h: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59116
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 15 Nov 2002 01:45:29 +0000 (01:45 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59115
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 14 Nov 2002 21:58:38 +0000 (21:58 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59114
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Thu, 14 Nov 2002 21:34:19 +0000 (21:34 +0000)]
* diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59113
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 14 Nov 2002 20:35:27 +0000 (20:35 +0000)]
2002-11-12 Eric Blake <ebb9@email.byu.edu>
* java/applet/AppletContext.java: Fix typo and remove redundant
modifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59112
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Thu, 14 Nov 2002 19:44:41 +0000 (19:44 +0000)]
syntactic cleanup
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59111
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 14 Nov 2002 18:28:07 +0000 (18:28 +0000)]
* java/lang/natRuntime.cc (insertSystemProperties): Set
gnu.classpath.home.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59108
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Thu, 14 Nov 2002 18:07:31 +0000 (18:07 +0000)]
* MAINTAINERS: Remove from write-after-approval list. Uniformize
emails.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59107
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
(find_final_overrider): Likewise.
(add_vcall_offset_vtbl_entries_1): Simplify accordingly.
(add_vcall_offset): Likewise.
* g++.dg/abi/vcall1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59104
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 14 Nov 2002 08:17:18 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59103
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 14 Nov 2002 07:56:54 +0000 (07:56 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59097
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 14 Nov 2002 05:42:37 +0000 (05:42 +0000)]
* gthr-vxworks.h: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59095
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 13 Nov 2002 23:06:03 +0000 (23:06 +0000)]
* g++.dg/abi/vague1.C (dg-final): Return if target is hppa*-*-hpux*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59094
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 13 Nov 2002 22:49:20 +0000 (22:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59093
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 13 Nov 2002 22:36:39 +0000 (22:36 +0000)]
* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
on hppa when there is no weak support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59092
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 13 Nov 2002 22:15:17 +0000 (22:15 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59090
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 13 Nov 2002 21:48:22 +0000 (21:48 +0000)]
PR ada/6919
* adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
GNU/Linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59089
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 13 Nov 2002 21:19:51 +0000 (21:19 +0000)]
2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/6558
* config-lang.in: Remove diff_excludes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59088
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Wed, 13 Nov 2002 20:55:02 +0000 (20:55 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59085
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [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.
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59084
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59082
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 13 Nov 2002 18:27:37 +0000 (18:27 +0000)]
2002-11-13 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Export all _S_construct.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59080
138bc75d-0d04-0410-961f-
82ee72b054a4
stuart [Wed, 13 Nov 2002 18:13:34 +0000 (18:13 +0000)]
* MAINTAINERS: Add myself to write-after-approval list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59079
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Wed, 13 Nov 2002 14:55:32 +0000 (14:55 +0000)]
libstdc++/7445
* src/locale.cc (std::locale::classic()): Weaken locking protocol.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59078
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 13 Nov 2002 13:52:47 +0000 (13:52 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59077
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 13 Nov 2002 13:48:15 +0000 (13:48 +0000)]
* gthr-solaris.h: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59076
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 13 Nov 2002 12:21:26 +0000 (12:21 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59075
138bc75d-0d04-0410-961f-
82ee72b054a4