pme [Thu, 21 Nov 2002 08:16:32 +0000 (08:16 +0000)]
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/run_doxygen: Tighter search expression for sed.
* docs/doxygen/stdheader.cc: Handle the case of good headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59332
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 21 Nov 2002 07:38:27 +0000 (07:38 +0000)]
Fix ChangeLog edit goof.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59329
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 21 Nov 2002 07:34:30 +0000 (07:34 +0000)]
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Uniform formatting.
* configure.in: x
* configure.target: x
* aclocal.m4, configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59328
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 21 Nov 2002 07:27:51 +0000 (07:27 +0000)]
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/streambuf.tcc (basic_streambuf::sputbackc): Prefix
"this->" to call to pbackfail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59327
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 21 Nov 2002 07:16:01 +0000 (07:16 +0000)]
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/style.css: Update.
* docs/doxygen/user.cfg.in: Update.
* docs/html/documentation.html: Regenerate.
* docs/html/17_intro/howto.html: Tweak I/O sentry entry.
* docs/html/27_io/howto.html: New section on headers.
* docs/html/faq/index.html: Add i386 threading entry.
* docs/html/faq/index.txt: Regenerate.
* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
Import R23.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59326
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 21 Nov 2002 07:06:41 +0000 (07:06 +0000)]
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/TODO: Note change in clause 27 docs.
* include/bits/basic_ios.h, include/bits/fpos.h,
include/bits/ios_base.h, include/bits/stl_deque.h,
include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
include/std/std_iomanip.h, include/std/std_iosfwd.h,
include/std/std_iostream.h, include/std/std_istream.h,
include/std/std_ostream.h, include/std/std_sstream.h,
include/std/std_streambuf.h: Doxygenate all I/O entities.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59325
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Wed, 20 Nov 2002 23:22:50 +0000 (23:22 +0000)]
2002-11-20 Toon Moene <toon@moene.indiv.nluug.nl>
* invoke.texi: Explain the purpose of -fmove-all-movables,
-freduce-all-givs and -frerun-loop-opts better.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59323
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Wed, 20 Nov 2002 21:52:59 +0000 (21:52 +0000)]
* emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
to component type using GET_MODE_INNER.
* expr.c (emit_move_insn_1): Ditto.
* optabs.c (expand_binop): Ditto.
(expand_unop): Ditto.
(expand_complex_abs): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59317
138bc75d-0d04-0410-961f-
82ee72b054a4
rupp [Wed, 20 Nov 2002 21:41:19 +0000 (21:41 +0000)]
* hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59316
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 20 Nov 2002 21:22:48 +0000 (21:22 +0000)]
2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
Jonathan Lennox <lennox@cs.columbia.edu>
* include/bits/streambuf.tcc (__copy_streambufs):
Revert previous fix for the interactive half of
libstdc++/6745, use _M_buf_size_opt to set dynamically
the correct buffer size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59314
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 20 Nov 2002 21:19:26 +0000 (21:19 +0000)]
2002-11-20 Michael Koch <konqueror@gmx.de>
* Makefile.am (ordinary_java_source_files):
Added java/nio/channels/FileChannel.java.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59313
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 20 Nov 2002 21:08:33 +0000 (21:08 +0000)]
* config/stormy16/stormy16.c (s16builtins,
xstormy16_init_builtins, xstormy16_expand_builtin): New.
* config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59312
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 20 Nov 2002 20:06:34 +0000 (20:06 +0000)]
* ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(ggc_realloc): Update valgrind annotations.
* ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
valgrind-annotate memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59310
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 20 Nov 2002 19:49:53 +0000 (19:49 +0000)]
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59309
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 20 Nov 2002 17:05:08 +0000 (17:05 +0000)]
* recog.c (constrain_operands): Prefer exact match over reloadable
EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
* reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
operands in Pmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59308
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 20 Nov 2002 16:19:08 +0000 (16:19 +0000)]
2002-11-20 Michael Koch <konqueror@gmx.de>
* java/io/FileInputStream.java
(getChannel): New method.
* java/io/FileOutputStream.java
(getChannel): New method.
* java/net/ServerSocket.java
(bind): Removed duplicate code and called another bind method instead.
* java/nio/channels/SelectionKey.java
(isValid): Removed wrong exception documentation.
* java/nio/channels/ServerSocketChannel.java
(accept): Added exception documentation.
(open): Fixed typo, added exception documentation.
* java/nio/channels/spi/AbstractSelectableChannel.java
(implCloseChannel): Added exception documentation.
(add): Reformated.
(register): Added exception documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59307
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 20 Nov 2002 15:59:07 +0000 (15:59 +0000)]
* ltconfig (osf[345]): Append $major to soname_spec.
Reflect this in library_names_spec.
* ltmain.sh (osf): Prefix $major with . for use as extension.
boehm-gc:
* ltconfig (osf[345]): Append $major to soname_spec.
Reflect this in library_names_spec.
* ltmain.sh (osf): Prefix $major with . for use as extension.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59306
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 20 Nov 2002 15:19:18 +0000 (15:19 +0000)]
* configure: Regenerated with new libtool.m4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59305
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 20 Nov 2002 15:18:53 +0000 (15:18 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59304
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 20 Nov 2002 10:50:29 +0000 (10:50 +0000)]
* gcc.c-torture/compile/
20021120-1.c: New test.
* gcc.c-torture/compile/
20021120-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59303
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 20 Nov 2002 10:37:08 +0000 (10:37 +0000)]
PR c/8518
* c-decl.c (duplicate_decls): Outline the second definition
of an extern inline function in all cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59302
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 20 Nov 2002 10:09:01 +0000 (10:09 +0000)]
* stor-layout.c (place_field): Update rli->offset as well as
rli->bitpos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59301
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 20 Nov 2002 10:03:36 +0000 (10:03 +0000)]
* sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59300
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 20 Nov 2002 09:59:28 +0000 (09:59 +0000)]
* config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
into a libcall block.
(divsi3): Likewise divsi3_i4_media.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59299
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 20 Nov 2002 09:52:14 +0000 (09:52 +0000)]
* global.c (find_reg): Check HARD_REGNO_NREGS before kicking
out another register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59298
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 20 Nov 2002 09:43:20 +0000 (09:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59295
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 20 Nov 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59294
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 20 Nov 2002 06:14:54 +0000 (06:14 +0000)]
* loop.c (record_giv): Initialize not_replaceable.
(check_final_value): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59288
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 20 Nov 2002 05:17:01 +0000 (05:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59287
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 20 Nov 2002 05:04:31 +0000 (05:04 +0000)]
* config/h8300/h8300.c (h8300_init_once): Replace 1 with
MASK_H8300S.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59286
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 20 Nov 2002 04:54:39 +0000 (04:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59285
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Wed, 20 Nov 2002 01:12:02 +0000 (01:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59284
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Tue, 19 Nov 2002 23:17:36 +0000 (23:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59280
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 19 Nov 2002 22:52:40 +0000 (22:52 +0000)]
* i386.md (length_immediate): Do not refer to insn address.
(jcc*, jmp patterns): Compute length explicitly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59279
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 19 Nov 2002 21:59:41 +0000 (21:59 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59278
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 19 Nov 2002 21:23:28 +0000 (21:23 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59277
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59276
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 19 Nov 2002 20:13:20 +0000 (20:13 +0000)]
2002-11-19 �Eric Botcazou �<ebotcazou@libertysurf.fr>
PR c/8588
* optabs.c (expand_binop): Convert CONST_INTs in shift
operations too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59274
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 19 Nov 2002 19:26:53 +0000 (19:26 +0000)]
* gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59271
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 19 Nov 2002 18:41:27 +0000 (18:41 +0000)]
* config/h8300/h8300.md (an anonymous pattern): Relax the
condition to accept the same operands and/or subregs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59270
138bc75d-0d04-0410-961f-
82ee72b054a4
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