platform/upstream/linaro-gcc.git
21 years ago2002-11-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 26 Nov 2002 01:37:50 +0000 (01:37 +0000)]
2002-11-25  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
* config/linker-map.gnu: Version __cxa_guard_acquire,
__cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59487 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-25 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 26 Nov 2002 01:22:13 +0000 (01:22 +0000)]
2002-11-25  Paolo Carlini  <pcarlini@unitus.it>
    Nathan Myers  <ncm@cantrip.org>

* src/localename.cc
(locale::_Impl::_Impl(const char*, size_t)):
Avoid strtok for thread safety.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59486 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-25 Stephen M. Webb <stephen@bregmasoft.com>
bkoz [Tue, 26 Nov 2002 00:53:12 +0000 (00:53 +0000)]
2002-11-25  Stephen M. Webb  <stephen@bregmasoft.com>

        * testsuite/testsuite_allocator.h: New file.
        * testsuite/testsuite_allocator.cc: New file.
        * testsuite/Makefile.am: Added testsuite_allocator to test library.
        * testsuite/testsuite_hooks.h: Added more detailed tracker objects
        gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
        * testsuite/testsuite_hooks.cc: Added new static objects definitions.
        * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
        * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
        * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59484 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * alias.c (find_base_value): Use new_reg_base_value if it's live.
rth [Tue, 26 Nov 2002 00:51:17 +0000 (00:51 +0000)]
    * alias.c (find_base_value): Use new_reg_base_value if it's live.
        (copying_arguments): Make boolean.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59483 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * MAINTAINERS (Write After Approval): Remove myself.
kkojima [Tue, 26 Nov 2002 00:47:58 +0000 (00:47 +0000)]
    * MAINTAINERS (Write After Approval): Remove myself.
        (OS Port Maintainers: sh-linux-gnu): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59482 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago[ChangeLog missed with previous commit.]
thorpej [Tue, 26 Nov 2002 00:36:19 +0000 (00:36 +0000)]
[ChangeLog missed with previous commit.]

* gcc.c (static_spec_functions): Add if-exists-else spec
function.
(if_exists_else_spec_function): New function.
* doc/invoke.texi: Document the if-exists-else spec function.

* config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
"%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59481 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* gcc.c (static_spec_functions): Add if-exists-else spec
thorpej [Tue, 26 Nov 2002 00:31:31 +0000 (00:31 +0000)]
* gcc.c (static_spec_functions): Add if-exists-else spec
function.
(if_exists_else_spec_function): New function.
* doc/invoke.texi: Document the if-exists-else spec function.

* config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
"%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59480 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
thorpej [Tue, 26 Nov 2002 00:05:07 +0000 (00:05 +0000)]
* config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
"netbsd.h netbsd-elf.h" in tm_file.  Set tmake_file to
"${tmake_file} rs6000/t-netbsd".
* config/rs6000/netbsd.h: Rewrite.
* config/rs6000/t-netbsd: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59479 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libsupc++/Makefile.am (sources): Add guard.cc.
mmitchel [Mon, 25 Nov 2002 23:17:31 +0000 (23:17 +0000)]
* libsupc++/Makefile.am (sources): Add guard.cc.
* libsupc++/Makefile.in: Regenerated.
* libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
(__cxa_guard_release): Likewise.
(__cxa_guard_abort): Likewise.
* libsupc++/guard.cc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59475 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (an anonymous pattern): Relax the
kazu [Mon, 25 Nov 2002 20:43:04 +0000 (20:43 +0000)]
* config/h8300/h8300.md (an anonymous pattern): Relax the
condition for the pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59470 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/spe.md: Same for patterns.
aldyh [Mon, 25 Nov 2002 19:40:28 +0000 (19:40 +0000)]
* config/rs6000/spe.md: Same for patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59469 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-25 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 25 Nov 2002 19:40:01 +0000 (19:40 +0000)]
2002-11-25  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
evmwlssfanw, evmwlsmfanw.

* config/rs6000/rs6000.c (bdesc_2arg): Same.

* config/rs6000/spe.md: Same for patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59468 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c/8639
rth [Mon, 25 Nov 2002 19:04:57 +0000 (19:04 +0000)]
    PR c/8639
        * fold-const.c (extract_muldiv): Don't propagate division unless
        both arguments are multiples of C.
* gcc.c-torture/execute/20021119-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59466 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-25 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
paolo [Mon, 25 Nov 2002 19:01:55 +0000 (19:01 +0000)]
2002-11-25  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>

* include/std/std_complex.h
(operator<<(basic_ostream&, const complex&)): Prefer 'x'
to "x" for efficiency sake.
* src/locale.cc (locale::locale(const char*)): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59465 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-25 Andrew Haley <aph@redhat.com>
aph [Mon, 25 Nov 2002 17:20:10 +0000 (17:20 +0000)]
2002-11-25  Andrew Haley  <aph@redhat.com>

        * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
        * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
        * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
        * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59460 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * jcf-reader.c: Don't expand JCF_readu4 inside the
dnovillo [Mon, 25 Nov 2002 14:22:06 +0000 (14:22 +0000)]
* jcf-reader.c: Don't expand JCF_readu4 inside the
expansion of JCF_SKIP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59459 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * search.c (is_subobject_of_p_1): Fix thinko.
mmitchel [Mon, 25 Nov 2002 09:25:31 +0000 (09:25 +0000)]
* search.c (is_subobject_of_p_1): Fix thinko.
(lookup_field_queue_p): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59455 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 25 Nov 2002 08:17:14 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59454 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * lib/prune.exp: Prune more -fpic/-fPIC warnings.
hp [Mon, 25 Nov 2002 00:58:16 +0000 (00:58 +0000)]
* lib/prune.exp: Prune more -fpic/-fPIC warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59446 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
kazu [Mon, 25 Nov 2002 00:27:13 +0000 (00:27 +0000)]
* config/h8300/h8300.c (h8300_init_once): Fix a typo in the
target help message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59445 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
thorpej [Sun, 24 Nov 2002 23:36:26 +0000 (23:36 +0000)]
* config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
crtbeginT.o".
(arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
(ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
to "" for a.out configurations.
* config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59444 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * class.c (layout_class_type): Reuse tail padding when laying out
mmitchel [Sun, 24 Nov 2002 23:26:13 +0000 (23:26 +0000)]
* class.c (layout_class_type): Reuse tail padding when laying out
virtual bases.

* g++.dg/abi/empty10.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59443 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
thorpej [Sun, 24 Nov 2002 23:19:19 +0000 (23:19 +0000)]
* config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
NETBSD_CPP_SPEC directly.
(SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec.  Add
netbsd_endfile_spec.
(ENDFILE_SPEC): Use %(netbsd_endfile_spec).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59442 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/compile/20021124-1.c: New test.
ebotcazou [Sun, 24 Nov 2002 22:20:42 +0000 (22:20 +0000)]
* gcc.c-torture/compile/20021124-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59441 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/netbsd-elf.h (STARTFILE_SPEC): Rename to
thorpej [Sun, 24 Nov 2002 21:17:04 +0000 (21:17 +0000)]
* config/netbsd-elf.h (STARTFILE_SPEC): Rename to
NETBSD_STARTFILE_SPEC.
(STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
(ENDFILE_SPEC): Likewise.
* config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59436 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (install-driver): Remove versioned link before
schwab [Sun, 24 Nov 2002 20:43:02 +0000 (20:43 +0000)]
* Makefile.in (install-driver): Remove versioned link before
trying to create it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59435 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-24 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 24 Nov 2002 18:48:35 +0000 (18:48 +0000)]
2002-11-24  Paolo Carlini  <pcarlini@unitus.it>

* src/locale.cc (locale::locale(const char*)):
Trivial cosmetic tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59433 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68k/m68k.c: Fix typo in last change defining
schwab [Sun, 24 Nov 2002 18:32:01 +0000 (18:32 +0000)]
* config/m68k/m68k.c: Fix typo in last change defining
TARGET_ASM_CAN_OUTPUT_MI_THUNK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59432 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (print_operand): Update the use of
kazu [Sun, 24 Nov 2002 13:17:11 +0000 (13:17 +0000)]
* config/h8300/h8300.c (print_operand): Update the use of
h8300_tiny_constant_address_p.
(h8300_adjust_insn_length): Likewise.
(h8300_tiny_constant_address_p): Check if the given rtx is a
variable declared with __attribute__ ((tiny_data)).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59431 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 24 Nov 2002 08:17:47 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59428 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoEnsure return string is empty before using strcat to construct it.
nickc [Sun, 24 Nov 2002 08:10:28 +0000 (08:10 +0000)]
Ensure return string is empty before using strcat to construct it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59422 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* libiberty.h (basename): Add NetBSD to the list.
thorpej [Sun, 24 Nov 2002 06:54:38 +0000 (06:54 +0000)]
* libiberty.h (basename): Add NetBSD to the list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59421 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * javax/naming/AuthenticationException.java: Update copyright header.
mark [Sat, 23 Nov 2002 21:50:41 +0000 (21:50 +0000)]
* javax/naming/AuthenticationException.java: Update copyright header.
* javax/naming/AuthenticationNotSupportedException.java: Likewise.
* javax/naming/Binding.java: Likewise.
* javax/naming/CannotProceedException.java: Likewise.
* javax/naming/CommunicationException.java: Likewise.
* javax/naming/CompositeName.java: Likewise.
* javax/naming/CompoundName.java: Likewise.
* javax/naming/ConfigurationException.java: Likewise.
* javax/naming/Context.java: Likewise.
* javax/naming/ContextNotEmptyException.java: Likewise.
* javax/naming/InitialContext.java: Likewise.
* javax/naming/InsufficientResourcesException.java: Likewise.
* javax/naming/InterruptedNamingException.java: Likewise.
* javax/naming/LimitExceededException.java: Likewise.
* javax/naming/LinkException.java: Likewise.
* javax/naming/LinkLoopException.java: Likewise.
* javax/naming/LinkRef.java: Likewise.
* javax/naming/MalformedLinkException.java: Likewise.
* javax/naming/NameAlreadyBoundException.java: Likewise.
* javax/naming/NameClassPair.java: Likewise.
* javax/naming/NameNotFoundException.java: Likewise.
* javax/naming/NameParser.java: Likewise.
* javax/naming/NamingEnumeration.java: Likewise.
* javax/naming/NamingSecurityException.java: Likewise.
* javax/naming/NoInitialContextException.java: Likewise.
* javax/naming/NoPermissionException.java: Likewise.
* javax/naming/NotContextException.java: Likewise.
* javax/naming/OperationNotSupportedException.java: Likewise.
* javax/naming/PartialResultException.java: Likewise.
* javax/naming/Reference.java: Likewise.
* javax/naming/Referenceable.java: Likewise.
* javax/naming/ReferralException.java: Likewise.
* javax/naming/ServiceUnavailableException.java: Likewise.
* javax/naming/SizeLimitExceededException.java: Likewise.
* javax/naming/TimeLimitExceededException.java: Likewise.
* javax/naming/directory/Attribute.java: Likewise.
* javax/naming/directory/AttributeInUseException.java: Likewise.
* javax/naming/directory/AttributeModificationException.java: Likewise.
* javax/naming/directory/Attributes.java: Likewise.
* javax/naming/directory/BasicAttribute.java: Likewise.
* javax/naming/directory/BasicAttributes.java: Likewise.
* javax/naming/directory/DirContext.java: Likewise.
* javax/naming/directory/InitialDirContext.java: Likewise.
* javax/naming/directory/InvalidAttributeIdentifierException.java:
Likewise.
* javax/naming/directory/InvalidAttributeValueException.java: Likewise.
* javax/naming/directory/InvalidAttributesException.java: Likewise.
* javax/naming/directory/InvalidSearchControlsException.java: Likewise.
* javax/naming/directory/InvalidSearchFilterException.java: Likewise.
* javax/naming/directory/ModificationItem.java: Likewise.
* javax/naming/directory/NoSuchAttributeException.java: Likewise.
* javax/naming/directory/SchemaViolationException.java: Likewise.
* javax/naming/directory/SearchControls.java: Likewise.
* javax/naming/directory/SearchResult.java: Likewise.
* javax/naming/event/EventContext.java: Likewise.
* javax/naming/event/EventDirContext.java: Likewise.
* javax/naming/event/NamespaceChangeListener.java: Likewise.
* javax/naming/event/NamingEvent.java: Likewise.
* javax/naming/event/NamingExceptionEvent.java: Likewise.
* javax/naming/event/NamingListener.java: Likewise.
* javax/naming/event/ObjectChangeListener.java: Likewise.
* javax/naming/ldap/Control.java: Likewise.
* javax/naming/ldap/ControlFactory.java: Likewise.
* javax/naming/ldap/ExtendedRequest.java: Likewise.
* javax/naming/ldap/ExtendedResponse.java: Likewise.
* javax/naming/ldap/HasControls.java: Likewise.
* javax/naming/ldap/InitialLdapContext.java: Likewise.
* javax/naming/ldap/LdapContext.java: Likewise.
* javax/naming/ldap/LdapReferralException.java: Likewise.
* javax/naming/ldap/UnsolicitedNotification.java: Likewise.
* javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
* javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
* javax/naming/spi/DirObjectFactory.java: Likewise.
* javax/naming/spi/DirStateFactory.java: Likewise.
* javax/naming/spi/DirectoryManager.java: Likewise.
* javax/naming/spi/InitialContextFactory.java: Likewise.
* javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
* javax/naming/spi/NamingManager.java: Likewise.
* javax/naming/spi/ObjectFactory.java: Likewise.
* javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
* javax/naming/spi/ResolveResult.java: Likewise.
* javax/naming/spi/Resolver.java: Likewise.
* javax/naming/spi/StateFactory.java: Likewise.

* javax/naming/spi/NamingManager.java (ofb): Package private.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59417 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 23 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59408 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-22 Dale Johannesen <dalej@apple.com>
dalej [Sat, 23 Nov 2002 02:07:13 +0000 (02:07 +0000)]
2002-11-22  Dale Johannesen  <dalej@apple.com>

        * toplev.c (rest_of_compilation):  Fix comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59397 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
geoffk [Sat, 23 Nov 2002 00:20:13 +0000 (00:20 +0000)]
* aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
allow mmap from /dev/zero.  Don't make decisions for the host
based on presence or absence of /dev/zero on the build machine.
(ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
(AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59394 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.dg/abi/rtti2.C: New test.
mmitchel [Fri, 22 Nov 2002 23:19:17 +0000 (23:19 +0000)]
* g++.dg/abi/rtti2.C: New test.

* rtti.c (qualifier_flags): Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59391 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parse.y (patch_binop): Cast right hand side of shift expression
tromey [Fri, 22 Nov 2002 21:49:06 +0000 (21:49 +0000)]
* parse.y (patch_binop): Cast right hand side of shift expression
to `int'.  Fixes PR java/8676.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59390 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-22 Ranjit Mathew <rmathew@hotmail.com>
tromey [Fri, 22 Nov 2002 21:01:24 +0000 (21:01 +0000)]
2002-11-22  Ranjit Mathew <rmathew@hotmail.com>
    Andrew Haley <aph@redhat.com>

* gcc/java/jcf-write.c (write_classfile): Remove target
class file, if it exists, before renaming the temporary
class file to it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59386 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoinclude/
drow [Fri, 22 Nov 2002 20:01:07 +0000 (20:01 +0000)]
include/
* libiberty.h (make_relative_prefix): Add prototype.
libiberty/
* Makefile.in: Add make-relative-prefix.c.
* make-relative-prefix.c: New file.
* functions.texi: Rebuilt.
gcc/
* gcc.c (make_relative_prefix, split_directories)
(free_split_directories): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59385 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Set insn=nop for DWARF-2 tests on ARM.
drow [Fri, 22 Nov 2002 19:34:21 +0000 (19:34 +0000)]
* configure.in: Set insn=nop for DWARF-2 tests on ARM.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59383 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-22 Laszlo Ersek <erseklaszlo@chello.hu>
paolo [Fri, 22 Nov 2002 18:53:53 +0000 (18:53 +0000)]
2002-11-22  Laszlo Ersek  <erseklaszlo@chello.hu>
    Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/8645
* include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
Don't check that __w->_M_left != 0 and __w->_M_right != 0
when they can't be otherwise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59381 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago For PR java/8676:
tromey [Fri, 22 Nov 2002 16:54:22 +0000 (16:54 +0000)]
For PR java/8676:
* libjava.lang/pr8676.java: New file.
* libjava.lang/pr8676.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59379 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/net/URL.java: Merge with Classpath (partly).
mark [Fri, 22 Nov 2002 16:48:52 +0000 (16:48 +0000)]
* java/net/URL.java: Merge with Classpath (partly).
* java/net/URLStreamHandler: Merge with Classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59378 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
kazu [Fri, 22 Nov 2002 14:16:12 +0000 (14:16 +0000)]
* config/h8300/h8300.c (compute_a_shift_length): Fix the insn
length computation when xor.l is output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59376 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-22 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 22 Nov 2002 10:27:53 +0000 (10:27 +0000)]
2002-11-22  Michael Koch <konqueror@gmx.de>

* include/posix.h:
(_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
* include/win32.h:
(_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
(backtrace): Moved out of #ifndef DISBALE_JAVA_NET.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59374 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 22 Nov 2002 08:17:23 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59373 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
tromey [Fri, 22 Nov 2002 03:20:24 +0000 (03:20 +0000)]
2002-11-21  Ranjit Mathew <rmathew@hotmail.com>

* jartool.c (extract_jar): Use "open" with O_BINARY instead of
"creat" to create extracted files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59366 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-11-21 Jim Wilson <wilson@redhat.com>
aldyh [Fri, 22 Nov 2002 02:22:13 +0000 (02:22 +0000)]
2002-11-21  Jim Wilson  <wilson@redhat.com>

* config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
vectors to SI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59365 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
bwilson [Fri, 22 Nov 2002 00:23:31 +0000 (00:23 +0000)]
    * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
        * config/xtensa/xtensa.c (struct machine_function): Add
        incoming_a7_copied flag.
        (xtensa_copy_incoming_a7): Define.
        (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
        * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59364 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
hubicka [Thu, 21 Nov 2002 22:54:20 +0000 (22:54 +0000)]
* i386-protos.h (x86_64_sign_extended_value): Fix prototype.
* i386.c (x86_64_general_operand, x86_64_szext_general_operand,
x86_64_nonmemory_operand, x86_64_movabs_operand,
x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
(local_symbolic_operand): Do not care the 64bit limits.
(x86_64_sign_extended_value): Remove allow_rip support.
(legitimate_pic_address_disp_p): Handle all cases allowed
with RIP addressing.
(legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
(legitimize_pic_address): Reorganize.
* i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59362 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/i386-unroll-1.c: New test.
ebotcazou [Thu, 21 Nov 2002 22:08:15 +0000 (22:08 +0000)]
* gcc.dg/i386-unroll-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59361 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/8342
ebotcazou [Thu, 21 Nov 2002 21:42:40 +0000 (21:42 +0000)]
PR c++/8342
* typeck.c (get_member_function_from_ptrfunc): Make sure that a
SAVE_EXPR for instance_ptr doesn't get evaluated first inside one
of the branches of a COND_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59360 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config.gcc (arm*-*-netbsdelf*): Enable configuration.
thorpej [Thu, 21 Nov 2002 21:39:17 +0000 (21:39 +0000)]
* config.gcc (arm*-*-netbsdelf*): Enable configuration.
* config/arm/netbsd-elf.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59359 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
thorpej [Thu, 21 Nov 2002 21:29:24 +0000 (21:29 +0000)]
* config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
subtarget_asm_float_spec.
(SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
defaults from...
(ASM_SPEC): ...here.  Use subtarget_asm_float_spec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59358 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libjava.loader/loader.exp (gcj_loader_test_one): Fix typo in
uweigand [Thu, 21 Nov 2002 18:14:47 +0000 (18:14 +0000)]
* libjava.loader/loader.exp (gcj_loader_test_one): Fix typo in
'type' argument to libjava_tcompile.
(gcj_loader_run): Use libjava_tcompile instead of running
GCJ_UNDER_TEST directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59351 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago 2002-11-21 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 21 Nov 2002 18:01:22 +0000 (18:01 +0000)]
 2002-11-21  Michael Koch <konqueror@gmx.de>

        * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
        Only the new network functions should be in it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59350 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/fr30/fr30.md (movsf_constant_store): Move code to detect 0.0 into fr30.c.
nickc [Thu, 21 Nov 2002 16:36:52 +0000 (16:36 +0000)]
* config/fr30/fr30.md (movsf_constant_store): Move code to detect 0.0 into fr30.c.
* config/fr30/fr30-protos.h (fr30_const_double_is_zero): Prototype.
* config/fr30/fr30.c (fr30_const_double_is_zero): New function.  Return true if the rtx is 0.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59349 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
thorpej [Thu, 21 Nov 2002 15:48:02 +0000 (15:48 +0000)]
* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
if -mlittle-endian is specified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59348 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoPR optimization/2903
rearnsha [Thu, 21 Nov 2002 14:51:27 +0000 (14:51 +0000)]
PR optimization/2903
* arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
(anddi_notsesidi_di): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59347 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-11-21 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 21 Nov 2002 14:34:12 +0000 (14:34 +0000)]
2002-11-21  Michael Koch <konqueror@gmx.de>

* include/posic.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
* include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59346 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (print_operand): Use
kazu [Thu, 21 Nov 2002 14:09:31 +0000 (14:09 +0000)]
* config/h8300/h8300.c (print_operand): Use
h8300_eightbit_constant_address_p and
h8300_tiny_constant_address_p.
(h8300_adjust_insn_length): Likewise.
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
(TINY_CONSTANT_ADDRESS_P): Likewise.
(OK_FOR_U): Use eightbit_constant_address_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59343 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/s390/libgcc-libc.ver: Add multilib support.
uweigand [Thu, 21 Nov 2002 12:03:49 +0000 (12:03 +0000)]
* config/s390/libgcc-libc.ver: Add multilib support.
* config/s390/linux.h (MULTILIB_DEFAULT): Define.
* config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
EXTRA_MULTILIB_PARTS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59342 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-11-21 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 21 Nov 2002 10:45:14 +0000 (10:45 +0000)]
2002-11-21  Michael Koch <konqueror@gmx.de>

* java/nio/channels/AsynchronousCloseException.java,
java/nio/channels/CancelledKeyException.java,
java/nio/channels/ClosedByInterruptException.java,
java/nio/channels/ConnectionPendingException.java,
java/nio/channels/FileLockInterruptionException.java,
java/nio/channels/IllegalSelectorException.java,
java/nio/channels/NoConnectionPendingException.java,
java/nio/channels/NonReadableChannelException.java,
java/nio/channels/NonWritableChannelException.java,
java/nio/channels/NotYetBoundException.java,
java/nio/channels/NotYetConnectedException.java,
java/nio/channels/OverlappingFileLockException.java,
java/nio/channels/UnresolvedAddressException.java,
java/nio/channels/UnsupportedAddressTypeException.java:
New files.
* Makefile.am (ordinary_java_source_files): Added new files.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59341 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoForgot to add to cvs command line
mkoch [Thu, 21 Nov 2002 10:24:18 +0000 (10:24 +0000)]
Forgot to add to cvs command line

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59340 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* arm.c (arm_get_frame_size): A leaf function does not need its
rearnsha [Thu, 21 Nov 2002 10:22:02 +0000 (10:22 +0000)]
* arm.c (arm_get_frame_size): A leaf function does not need its
stack padding to an aligned boundary if it has no frame.
(thumb_get_frame_size): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59339 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-11-21 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 21 Nov 2002 10:08:03 +0000 (10:08 +0000)]
2002-11-21  Michael Koch <konqueror@gmx.de>

       * include/posix.h
       (_Jv_socket): New method.
       (_Jv_connect): New method.
       (_Jv_close): New method.
       (_Jv_platform_close_on_exec): Prefixed system function with "::".
       (_Jv_bind): New method.
       (_Jv_listen): New method.
       (_Jv_write): New method.
       (_Jv_read): New method.
       * include/win32.h
       (_Jv_socket): New method.
       (_Jv_connect): New method.
       (_Jv_close): New method.
       (_Jv_bind): New method.
       (_Jv_listen): New method.
       (_Jv_write): New method.
       (_Jv_read): New method.
       * java/net/natNetworkInterface.cc:
       Include platform.h, removed inclusion of socket.h
       (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
       ::close() by _Jv_close().
       * java/net/natPlainDatagramSocketImpl.cc:
       Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
       added some new lines to make code more readable.
       (create): Replaced ::socket() by _Jv_socket().
       (close): Replaced NATIVE_CLOSE() by _Jv_close().
       * java/net/natPlainSocketImpl.cc:
       Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
       removed include of socket.h, removed some windows defines
       (now in include/win32.h).
       (create): Replaced ::socket() by _Jv_socket().
       (close): Replaced NATIVE_CLOSE() by _Jv_close().
       (write): Replaced ::read by _Jv_write().
       (read): Replaced ::read by _Jv_read().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59338 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-11-21 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 21 Nov 2002 08:28:34 +0000 (08:28 +0000)]
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/documentation.html:  Fix broken/thinko'd URL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59337 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 21 Nov 2002 08:17:21 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59336 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-11-21 Phil Edwards <pme@gcc.gnu.org>
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

22 years agoFix ChangeLog edit goof.
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

22 years ago2002-11-21 Phil Edwards <pme@gcc.gnu.org>
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

22 years ago2002-11-21 Phil Edwards <pme@gcc.gnu.org>
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

22 years ago2002-11-21 Phil Edwards <pme@gcc.gnu.org>
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

22 years ago2002-11-21 Phil Edwards <pme@gcc.gnu.org>
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

22 years ago2002-11-20 Toon Moene <toon@moene.indiv.nluug.nl>
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

22 years ago * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
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

22 years ago* hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
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

22 years ago2002-11-20 Benjamin Kosnik <bkoz@redhat.com>
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

22 years ago2002-11-20 Michael Koch <konqueror@gmx.de>
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

22 years ago* config/stormy16/stormy16.c (s16builtins,
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

22 years ago * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
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

22 years ago * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
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

22 years ago * recog.c (constrain_operands): Prefer exact match over reloadable
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

22 years ago2002-11-20 Michael Koch <konqueror@gmx.de>
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

22 years ago * ltconfig (osf[345]): Append $major to soname_spec.
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

22 years ago * configure: Regenerated with new libtool.m4.
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

22 years ago * libtool.m4 (libtool_flags): Add patch from libtool CVS: Support
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

22 years ago * gcc.c-torture/compile/20021120-1.c: New test.
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

22 years ago PR c/8518
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

22 years ago * stor-layout.c (place_field): Update rli->offset as well as
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

22 years ago * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
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

22 years ago * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
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

22 years ago * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
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

22 years ago * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
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

22 years agoDaily bump.
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

22 years ago * loop.c (record_giv): Initialize not_replaceable.
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

22 years ago * pt.c (for_each_template_parm): Free allocated memory.
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

22 years ago * config/h8300/h8300.c (h8300_init_once): Replace 1 with
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

22 years ago * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
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