Commit Graph

46258 Commits

Author SHA1 Message Date
Wolfgang Bangerth
f815521c75 std_complex.h (operator<<(basic_ostream&, const complex&)): Prefer 'x' to "x" for efficiency sake.
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.

From-SVN: r59465
2002-11-25 19:01:55 +00:00
Andrew Haley
5dafd28231 libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
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.

From-SVN: r59460
2002-11-25 17:20:10 +00:00
Diego Novillo
b4bbc8b7d3 jcf-reader.c: Don't expand JCF_readu4 inside the expansion of JCF_SKIP.
* jcf-reader.c: Don't expand JCF_readu4 inside the
	expansion of JCF_SKIP.

From-SVN: r59459
2002-11-25 09:22:06 -05:00
Mark Mitchell
b82ddab44c search.c (is_subobject_of_p_1): Fix thinko.
* search.c (is_subobject_of_p_1): Fix thinko.
	(lookup_field_queue_p): Likewise.

From-SVN: r59455
2002-11-25 09:25:31 +00:00
GCC Administrator
7580b910da Daily bump.
From-SVN: r59454
2002-11-25 08:17:14 +00:00
Hans-Peter Nilsson
d860bdd355 * lib/prune.exp: Prune more -fpic/-fPIC warnings.
From-SVN: r59446
2002-11-25 00:58:16 +00:00
Kazu Hirata
92d4b8a08f h8300.c (h8300_init_once): Fix a typo in the target help message.
* config/h8300/h8300.c (h8300_init_once): Fix a typo in the
	target help message.

From-SVN: r59445
2002-11-25 00:27:13 +00:00
Jason Thorpe
1169f9e02d config.gcc (*-*-netbsd*1.[7-9]*, [...]): Set extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o".
* 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".

From-SVN: r59444
2002-11-24 23:36:26 +00:00
Mark Mitchell
8a874cb437 class.c (layout_class_type): Reuse tail padding when laying out virtual bases.
* class.c (layout_class_type): Reuse tail padding when laying out
	virtual bases.

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

From-SVN: r59443
2002-11-24 23:26:13 +00:00
Jason Thorpe
adde288a90 netbsd.h (CPP_SUBTARGET_SPEC): Just use NETBSD_CPP_SPEC directly.
* 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).

From-SVN: r59442
2002-11-24 23:19:19 +00:00
Eric Botcazou
642c8681b6 * gcc.c-torture/compile/20021124-1.c: New test.
From-SVN: r59441
2002-11-24 22:20:42 +00:00
Jason Thorpe
1ebe8c03ce netbsd-elf.h (STARTFILE_SPEC): Rename to NETBSD_STARTFILE_SPEC.
* 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.

From-SVN: r59436
2002-11-24 21:17:04 +00:00
Andreas Schwab
523cb4994d Makefile.in (install-driver): Remove versioned link before trying to create it.
* Makefile.in (install-driver): Remove versioned link before
	trying to create it.

From-SVN: r59435
2002-11-24 20:43:02 +00:00
Paolo Carlini
bbed24125e locale.cc (locale::locale(const char*)): Trivial cosmetic tweaks.
2002-11-24  Paolo Carlini  <pcarlini@unitus.it>

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

From-SVN: r59433
2002-11-24 18:48:35 +00:00
Andreas Schwab
bdabc150ce m68k.c: Fix typo in last change defining TARGET_ASM_CAN_OUTPUT_MI_THUNK.
* config/m68k/m68k.c: Fix typo in last change defining
	TARGET_ASM_CAN_OUTPUT_MI_THUNK.

From-SVN: r59432
2002-11-24 18:32:01 +00:00
Kazu Hirata
56b8e164db h8300.c (print_operand): Update the use of h8300_tiny_constant_address_p.
* 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)).

From-SVN: r59431
2002-11-24 13:17:11 +00:00
GCC Administrator
02ccd3c984 Daily bump.
From-SVN: r59428
2002-11-24 08:17:47 +00:00
Nick Clifton
ef4e41811b Ensure return string is empty before using strcat to construct it.
From-SVN: r59422
2002-11-24 08:10:28 +00:00
Simon Burge
f60d9a8a86 * libiberty.h (basename): Add NetBSD to the list.
From-SVN: r59421
2002-11-24 06:54:38 +00:00
Mark Wielaard
84b8f58ddb AuthenticationException.java: Update copyright header.
* 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.

From-SVN: r59417
2002-11-23 21:50:41 +00:00
GCC Administrator
0176b49232 Daily bump.
From-SVN: r59408
2002-11-23 08:17:09 +00:00
Dale Johannesen
2bb74773da toplev.c (rest_of_compilation): Fix comments.
2002-11-22  Dale Johannesen  <dalej@apple.com>

        * toplev.c (rest_of_compilation):  Fix comments.

From-SVN: r59397
2002-11-23 02:07:13 +00:00
Geoffrey Keating
199cbacc90 aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not allow mmap from /dev/zero.
* 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.

From-SVN: r59394
2002-11-23 00:20:13 +00:00
Mark Mitchell
05abed76a9 rtti2.C: New test.
* g++.dg/abi/rtti2.C: New test.

	* rtti.c (qualifier_flags): Fix thinko.

From-SVN: r59391
2002-11-22 23:19:17 +00:00
Tom Tromey
dd06be9e8d re PR java/8676 (ICE in generate_bytecode_conditional at jcf-write.c:1359)
* parse.y (patch_binop): Cast right hand side of shift expression
	to `int'.  Fixes PR java/8676.

From-SVN: r59390
2002-11-22 21:49:06 +00:00
Ranjit Mathew
34744d4e5f jcf-write.c (write_classfile): Remove target class file...
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.

Co-Authored-By: Andrew Haley <aph@redhat.com>

From-SVN: r59386
2002-11-22 21:01:24 +00:00
Daniel Jacobowitz
42766f8db1 libiberty.h (make_relative_prefix): Add prototype.
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.

From-SVN: r59385
2002-11-22 20:01:07 +00:00
Daniel Jacobowitz
80486e0671 configure.in: Set insn=nop for DWARF-2 tests on ARM.
* configure.in: Set insn=nop for DWARF-2 tests on ARM.
	* configure: Regenerated.

From-SVN: r59383
2002-11-22 19:34:21 +00:00
Laszlo Ersek
726a4d6d5e re PR libstdc++/8645 (unnecessary non-0 checks in stl_tree.h)
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.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r59381
2002-11-22 18:53:53 +00:00
Tom Tromey
fc589541ad For PR java/8676:
* libjava.lang/pr8676.java: New file.
	* libjava.lang/pr8676.out: New file.

From-SVN: r59379
2002-11-22 16:54:22 +00:00
Mark Wielaard
cfc814d47e URL.java: Merge with Classpath (partly).
* java/net/URL.java: Merge with Classpath (partly).
	* java/net/URLStreamHandler: Merge with Classpath.

From-SVN: r59378
2002-11-22 16:48:52 +00:00
Kazu Hirata
41c3eb5d45 h8300.c (compute_a_shift_length): Fix the insn length computation when xor.l is output.
* config/h8300/h8300.c (compute_a_shift_length): Fix the insn
	length computation when xor.l is output.

From-SVN: r59376
2002-11-22 14:16:12 +00:00
Michael Koch
c6d58c6682 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.

From-SVN: r59374
2002-11-22 10:27:53 +00:00
GCC Administrator
fac3e63d64 Daily bump.
From-SVN: r59373
2002-11-22 08:17:23 +00:00
Ranjit Mathew
7fe75c0324 jartool.c (extract_jar): Use "open" with O_BINARY instead of "creat" to create extracted files.
2002-11-21  Ranjit Mathew <rmathew@hotmail.com>

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

From-SVN: r59366
2002-11-22 03:20:24 +00:00
Jim Wilson
57de2c8fb8 rs6000.c (function_arg): Set inner mode of SPE vectors to SI.
2002-11-21  Jim Wilson  <wilson@redhat.com>

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

From-SVN: r59365
2002-11-22 02:22:13 +00:00
Bob Wilson
58db834b27 xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
* 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.

From-SVN: r59364
2002-11-22 00:23:31 +00:00
Jan Hubicka
c05dbe8131 i386-protos.h (x86_64_sign_extended_value): Fix prototype.
* 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.

From-SVN: r59362
2002-11-21 22:54:20 +00:00
Eric Botcazou
75c2b9730d * gcc.dg/i386-unroll-1.c: New test.
From-SVN: r59361
2002-11-21 22:08:15 +00:00
Glen Nakamura
1c83ea9fd0 re PR c++/8342 (g++.jason/pmf7.C fails on i586-pc-linux-gnu)
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.

From-SVN: r59360
2002-11-21 21:42:40 +00:00
Jason Thorpe
ff3afb5623 config.gcc (arm*-*-netbsdelf*): Enable configuration.
* config.gcc (arm*-*-netbsdelf*): Enable configuration.
* config/arm/netbsd-elf.h: New file.

From-SVN: r59359
2002-11-21 21:39:17 +00:00
Jason Thorpe
57c21a4200 elf.h (SUBTARGET_EXTRA_SPECS): Add subtarget_asm_float_spec.
* 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.

From-SVN: r59358
2002-11-21 21:29:24 +00:00
Ulrich Weigand
5f2925a72d loader.exp (gcj_loader_test_one): Fix typo in 'type' argument to libjava_tcompile.
* 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.

From-SVN: r59351
2002-11-21 18:14:47 +00:00
Michael Koch
d1bf262d83 posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
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.

From-SVN: r59350
2002-11-21 18:01:22 +00:00
Nick Clifton
3d5ee65b2e fr30.md (movsf_constant_store): Move code to detect 0.0 into fr30.c.
* 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.

From-SVN: r59349
2002-11-21 16:36:52 +00:00
Jason Thorpe
4d938a0912 elf.h (ASM_SPEC, LINK_SPEC): Pass -EL if -mlittle-endian is specified.
* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
if -mlittle-endian is specified.

From-SVN: r59348
2002-11-21 15:48:02 +00:00
Richard Earnshaw
1dda7ee45a re PR rtl-optimization/2903 ([arm] Optimization bug with long long arithmetic)
PR optimization/2903
* arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
(anddi_notsesidi_di): Likewise.

From-SVN: r59347
2002-11-21 14:51:27 +00:00
Michael Koch
e59ff7e93a posic.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
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

From-SVN: r59346
2002-11-21 14:34:12 +00:00
Kazu Hirata
7c143ed268 h8300.c (print_operand): Use h8300_eightbit_constant_address_p and h8300_tiny_constant_address_p.
* 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.

From-SVN: r59343
2002-11-21 14:09:31 +00:00
Ulrich Weigand
b5798b2a8b libgcc-libc.ver: Add multilib support.
* 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.

From-SVN: r59342
2002-11-21 12:03:49 +00:00