Jesse Rosenstock [Mon, 11 Nov 2002 07:36:41 +0000 (07:36 +0000)]
ISO_8859_1.java, [...]: New files.
2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
* gnu/java/nio/charset/ISO_8859_1.java,
gnu/java/nio/charset/Provider.java,
gnu/java/nio/charset/US_ASCII.java,
gnu/java/nio/charset/UTF_16.java,
gnu/java/nio/charset/UTF_16BE.java,
gnu/java/nio/charset/UTF_16Decoder.java,
gnu/java/nio/charset/UTF_16Encoder.java,
gnu/java/nio/charset/UTF_16LE.java,
gnu/java/nio/charset/UTF_8.java: New files.
* Makefile.am ():
Added new files.
* Makefile.in: Regenerated.
From-SVN: r59013
Michael Koch [Mon, 11 Nov 2002 07:12:07 +0000 (07:12 +0000)]
CharacterCodingException.java: This class must be public.
2002-11-11 Michael Koch <konqueror@gmx.de>
* java/nio/charset/CharacterCodingException.java:
This class must be public.
* java/nio/charset/CoderMalfunctionError.java:
This class must be public.
* java/nio/charset/CodingErrorAction.java:
This class must be public.
* java/nio/charset/IllegalCharsetNameException.java:
This class must be public, better implementation.
* java/nio/charset/MalformedInputException.java:
This class must be public, better implementation.
* java/nio/charset/UnmappableCharacterException.java:
This class must be public, better implementation.
* java/nio/charset/UnsupportedCharsetException.java:
This class must be public, better implementation.
From-SVN: r59012
Michael Koch [Mon, 11 Nov 2002 07:00:29 +0000 (07:00 +0000)]
BufferOverflowException.java, [...]: New file.
2002-11-11 Michael Koch <konqueror@gmx.de>
* java/nio/BufferOverflowException.java,
java/nio/BufferUnderflowException.java: New file.
* Makefile.am (ordinary_java_source_files):
Added new files.
* Makefile.in: Regenerated.
From-SVN: r59011
Tom Tromey [Mon, 11 Nov 2002 06:33:08 +0000 (06:33 +0000)]
Container.java (validate): Use tree lock.
* java/awt/Container.java (validate): Use tree lock.
(getComponent): Likewise.
(getComponents): Likewise.
(addImpl): Likewise.
(remove): Likewise.
(removeAll): Likewise.
(processEvent): Fixed indentation.
(getComponentAt): Use tree lock.
(findComponentAt): Likewise.
(removeNotify): Likewise.
(isAncestorOf): Likewise.
(list): Likewise.
(visitChildren): Likewise.
(findNextFocusComponent): Likewise.
(addNotifyContainerChildren): Likewise.
(getAccessibleChildrenCount): Likewise.
(getAccessibleChild): Likewise.
From-SVN: r59009
Joel Sherrill [Mon, 11 Nov 2002 06:02:20 +0000 (06:02 +0000)]
t-crtstuff (crti.o): Use this...
* config/m68k/t-crtstuff (crti.o): Use this...
($(T)crti.o): ... instead.
(crtn.o): Use this...
($(T)crtn.o): ... instead.
From-SVN: r59008
Eric Botcazou [Mon, 11 Nov 2002 05:38:22 +0000 (06:38 +0100)]
re PR c/8439 (empty struct causes crash)
PR c/8439
* recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
if there is something new to be simplified.
From-SVN: r59005
Stan Shebs [Mon, 11 Nov 2002 05:15:36 +0000 (05:15 +0000)]
Retire common MPW configury bits.
* mpw-mh-mpw: Remove.
* mpw: Remove directory along with all of its files.
From-SVN: r59004
H.J. Lu [Mon, 11 Nov 2002 03:13:18 +0000 (03:13 +0000)]
calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
2002-11-10 H.J. Lu <hjl@gnu.org>
* calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
* expr.c (PUSH_ARGS_REVERSED): Likewise.
* config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
From-SVN: r59002
Mark Mitchell [Mon, 11 Nov 2002 02:20:37 +0000 (02:20 +0000)]
* g++.dg/abi/vthunk3.C: Run only on x86.
From-SVN: r59001
Jonathan Wakely [Mon, 11 Nov 2002 01:10:44 +0000 (01:10 +0000)]
howto.html: Make "chapter 22 notes" a link.
* docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
* docs/html/faq/index.html: Mention that GCC ships with a newer
version of the library than the last snapshot. Make "see below" a
link. Add missing <html> tag.
* docs/html/faq/index.txt: Regenerate.
* docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html: Add missing <html> tag.
From-SVN: r59000
Jonathan Wakely [Mon, 11 Nov 2002 00:50:09 +0000 (00:50 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r58999
Tom Tromey [Sun, 10 Nov 2002 23:11:21 +0000 (23:11 +0000)]
GridLayout.java (layoutContainer): Use tree lock.
* java/awt/GridLayout.java (layoutContainer): Use tree lock.
(getSize): Likewise.
* java/awt/FlowLayout.java (layoutContainer): Use tree lock.
(getSize): Likewise.
* java/awt/BorderLayout.java (layoutContainer): Use tree lock.
(calcSize): Likewise.
* java/awt/CardLayout.java (getSize): Use tree lock.
(gotoComponent): Likewise.
(layoutContainer): Likewise.
From-SVN: r58998
Tom Tromey [Sun, 10 Nov 2002 22:23:53 +0000 (22:23 +0000)]
natFileDescriptorWin32.cc (read): Handle case where count is 0.
* java/io/natFileDescriptorWin32.cc (read): Handle case where
count is 0.
* java/io/natFileDescriptorPosix.cc (read): Handle case where
count is 0.
From-SVN: r58997
Tom Tromey [Sun, 10 Nov 2002 22:06:49 +0000 (22:06 +0000)]
Externalizable.java, [...]: New versions from Classpath.
* java/io/Externalizable.java, java/io/FilePermission.java,
java/io/ObjectStreamConstants.java, java/io/Serializable.java,
java/io/SerializablePermission.java, java/text/Format.java,
java/util/AbstractMap.java, java/util/HashMap.java,
java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
versions from Classpath.
From-SVN: r58996
Jakub Jelinek [Sun, 10 Nov 2002 21:26:20 +0000 (22:26 +0100)]
Fix typo.
From-SVN: r58995
Anthony Green [Sun, 10 Nov 2002 21:13:44 +0000 (21:13 +0000)]
Attributes.java (Name): Fix name check.
2002-11-10 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java (Name): Fix name check.
From-SVN: r58992
Mark Wielaard [Sun, 10 Nov 2002 21:07:27 +0000 (21:07 +0000)]
natClass.cc (initializeClass): Throw NoClassDefFoundError with getName() as message.
* java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
with getName() as message.
(_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
type as message.
* java/lang/natVMThrowable.cc: Don't declare parameter t, it is
unused.
From-SVN: r58991
Jakub Jelinek [Sun, 10 Nov 2002 21:04:24 +0000 (22:04 +0100)]
jartool.c (add_to_jar): Only compare file to jarfile if jarfile is non-NULL.
* jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
non-NULL.
* configure.in (AC_CHECK_HEADERS): Add limits.h.
* configure, config.h.in: Rebuilt.
From-SVN: r58990
Zack Weinberg [Sun, 10 Nov 2002 20:47:45 +0000 (20:47 +0000)]
sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
* config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
* config/rs6000/linux.h, config/rs6000/linux64.h,
config/rs6000/windiss.h: ... not here.
From-SVN: r58989
Jan Hubicka [Sun, 10 Nov 2002 19:59:26 +0000 (19:59 +0000)]
FOrgot to commit the file itself. Changelog entry is already at:
* reg-stack.c (compensate_edge): Fix sanity check.
From-SVN: r58988
Jason Thorpe [Sun, 10 Nov 2002 18:28:39 +0000 (18:28 +0000)]
netbsd.h (TARGET_OS_CPP_BUILTINS): Define __ABICALLS__ if TARGET_ABICALLS.
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
__ABICALLS__ if TARGET_ABICALLS.
From-SVN: r58987
Jan Hubicka [Sun, 10 Nov 2002 17:52:50 +0000 (18:52 +0100)]
* i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
From-SVN: r58986
Ranjit Mathew [Sun, 10 Nov 2002 17:38:08 +0000 (17:38 +0000)]
jni.h (JNIIMPORT, [...]): Linker defines for Win32.
2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
* include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
for Win32. JNICALL has been defined to __stdcall to be compatible
with Sun's JDKs.
From-SVN: r58985
Tom Tromey [Sun, 10 Nov 2002 17:35:13 +0000 (17:35 +0000)]
GridLayout.java (setColumns): Check newCols, not cols.
* java/awt/GridLayout.java (setColumns): Check newCols, not cols.
(setRows): Check newRows, not rows.
From-SVN: r58984
Joseph Myers [Sun, 10 Nov 2002 16:24:26 +0000 (16:24 +0000)]
c-decl.c (grokdeclarator): Make error for duplicate type qualifiers into a pedwarn, disabled for C99.
* c-decl.c (grokdeclarator): Make error for duplicate type
qualifiers into a pedwarn, disabled for C99.
testsuite:
* gcc.dg/c90-idem-qual-2.c, gcc.dg/c99-idem-qual-2.c: New tests.
From-SVN: r58983
GCC Administrator [Sun, 10 Nov 2002 08:17:13 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58977
Tom Tromey [Sun, 10 Nov 2002 08:00:48 +0000 (08:00 +0000)]
* jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
From-SVN: r58971
Hans-Peter Nilsson [Sun, 10 Nov 2002 07:32:43 +0000 (07:32 +0000)]
mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same as FUNCTION_ARG_PASS_BY_REFERENCE.
* config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
as FUNCTION_ARG_PASS_BY_REFERENCE.
From-SVN: r58970
John David Anglin [Sun, 10 Nov 2002 01:14:48 +0000 (01:14 +0000)]
pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
* pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
* config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
(hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas.
* pa.c (output_millicode_call): Use symbol difference rather than
$PIC_pcrel$0 when using HP assembler.
* pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
not elfos.h (i.e., gas) is being used.
(ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
using elfos.h.
(TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
(DWARF2_ASM_LINE_DEBUG_INFO): Delete.
(ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
using elfos.h.
(TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
(TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
Don't define when not using elfos.h.
(ASM_DECLARE_RESULT): Don't define.
* doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
doesn't work on hppa64-hp-hpux11.
(hppa*-hp-hpux11): Update.
From-SVN: r58967
Tom Tromey [Sun, 10 Nov 2002 00:16:43 +0000 (00:16 +0000)]
Applet.java, [...]: New versions from Classpath.
* java/applet/Applet.java, java/applet/AppletContext.java,
java/applet/AppletStub.java, java/applet/AudioClip.java,
java/awt/CardLayout.java,
java/awt/ContainerOrderFocusTraversalPolicy.java,
java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
java/awt/color/ICC_ColorSpace.java,
java/awt/color/ICC_Profile.java,
java/awt/color/ICC_ProfileGray.java,
java/awt/color/ICC_ProfileRGB.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
New versions from Classpath.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
ICC_ProfileRGB.
From-SVN: r58964
Tom Tromey [Sat, 9 Nov 2002 23:42:01 +0000 (23:42 +0000)]
ScrollPane.java (ScrollPane): Fixed test for valid display policy.
* java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
display policy.
From-SVN: r58963
Hans-Peter Nilsson [Sat, 9 Nov 2002 23:24:01 +0000 (23:24 +0000)]
compat.exp (compat-execute): Fix logic error in last change.
* lib/compat.exp (compat-execute): Fix logic error in last
change.
From-SVN: r58962
Tom Tromey [Sat, 9 Nov 2002 23:23:32 +0000 (23:23 +0000)]
List.java (processEvent): Added missing `else's.
* java/awt/List.java (processEvent): Added missing `else's.
* java/awt/Window.java (show): validate() before showing. Make
parent displayable.
(isDisplayable): New method.
From-SVN: r58961
Jason Thorpe [Sat, 9 Nov 2002 18:38:18 +0000 (18:38 +0000)]
netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC to the assembler if -mno-abicalls was specified.
* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
to the assembler if -mno-abicalls was specified.
From-SVN: r58957
John David Anglin [Sat, 9 Nov 2002 16:29:38 +0000 (16:29 +0000)]
pa-linux.h (PREFERRED_DEBUGGING_TYPE, [...]): Delete.
* pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
ASM_OUTPUT_DEF): Delete.
From-SVN: r58953
Neil Booth [Sat, 9 Nov 2002 12:37:08 +0000 (12:37 +0000)]
* c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
From-SVN: r58952
Neil Booth [Sat, 9 Nov 2002 12:33:53 +0000 (12:33 +0000)]
* gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.
From-SVN: r58951
Kriang Lerdsuwanakij [Sat, 9 Nov 2002 11:53:18 +0000 (11:53 +0000)]
re PR c++/8389 (Access to members of base class & templates)
PR c++/8389
* pt.c (instantiate_template): Push class scope for member
functions.
(get_mostly_instantiated_function_type): Likewise. Don't call
tsubst on context. Remove CONTEXTP and TPARMSP parameters.
* cp-tree.h (get_mostly_instantiated_function_type): Adjust.
* mangle.c (write_encoding, write_unqualified_name): Adjust.
PR c++/8389
* g++.dg/template/access6.C: New test.
From-SVN: r58950
GCC Administrator [Sat, 9 Nov 2002 08:17:12 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58949
Dale Johannesen [Fri, 8 Nov 2002 23:12:24 +0000 (23:12 +0000)]
fix stabs info for vector types
From-SVN: r58939
Neil Booth [Fri, 8 Nov 2002 22:36:22 +0000 (22:36 +0000)]
re PR preprocessor/8497 (traditional preprocessor #if/#endif bug)
PR preprocessor/8497
PR preprocessor/8501
* cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
start a directive. In assembler, #NUM is not a line directive.
From-SVN: r58938
Neil Booth [Fri, 8 Nov 2002 20:15:05 +0000 (20:15 +0000)]
cppmain.c (cpp_preprocess_file): Loop to pop any -included buffers.
* cppmain.c (cpp_preprocess_file): Loop to pop any -included
buffers.
From-SVN: r58933
Kazu Hirata [Fri, 8 Nov 2002 19:30:31 +0000 (19:30 +0000)]
* config/h8300/h8300.md (two anonymous test insns): New.
From-SVN: r58930
Phil Edwards [Fri, 8 Nov 2002 19:24:41 +0000 (19:24 +0000)]
atomicity.h: Provide atomic __exchange_and_add and __atomic_add.
2002-11-07 Phil Edwards <pme@gcc.gnu.org>
Richard Earnshaw <rearnsha@arm.com>
* config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add
and __atomic_add.
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r58929
Paolo Carlini [Fri, 8 Nov 2002 17:05:40 +0000 (18:05 +0100)]
monetary_members.cc (moneypunct<wchar_t, [...]): Tweak parameters for glibc2.3 systems, thus avoiding unused parameter warnings.
2002-11-08 Paolo Carlini <pcarlini@unitus.it>
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
const char*),
moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
const char*)): Tweak parameters for glibc2.3 systems, thus
avoiding unused parameter warnings.
From-SVN: r58928
Jan Hubicka [Fri, 8 Nov 2002 11:58:53 +0000 (12:58 +0100)]
jump.c (mark_jump_label): Handle subregs of label_refs.
* jump.c (mark_jump_label): Handle subregs of label_refs.
* gcc.c-torture/compile/
20021108-1.c: New testcase for x86-64 failure.
From-SVN: r58921
GCC Administrator [Fri, 8 Nov 2002 08:17:17 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58919
Mark Mitchell [Fri, 8 Nov 2002 02:16:48 +0000 (02:16 +0000)]
class.c (add_vcall_offset_vtbl_entries_1): Correct ordering of vcall offfsets.
* class.c (add_vcall_offset_vtbl_entries_1): Correct ordering of
vcall offfsets. Split out ...
(add_vcall_offset): ... new function.
* g++.dg/abi/vthunk3.C: New test.
From-SVN: r58912
Mark Mitchell [Fri, 8 Nov 2002 01:42:23 +0000 (01:42 +0000)]
re PR c++/8338 (Infinite loop on illegal code)
PR c++/8338
* pt.c (for_each_template_parm): Add htab parameter.
(process_partial_specialization): Adjust call.
(push_template_decl_real): Likewise.
(pair_fn_data): Add visited.
(for_each_template_parm_r): Avoid walking duplicates more than
once.
(uses_template_parms): Adjust call to for_each_template_parm.
PR c++/8338
* g++.dg/template/crash2.C: New test.
From-SVN: r58911
David Mosberger [Thu, 7 Nov 2002 22:48:10 +0000 (22:48 +0000)]
crtend.asm: Include "auto-host.h".
* config/ia64/crtend.asm: Include "auto-host.h".
[HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
* config/ia64/crtbegin.asm: Similarly.
* config/ia64/t-ia64 (crtbegin.o): Include from current directory.
(crtend.o, crtbeginS.o, crtendS.o): Likewise.
* aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
* configure.in: Use it if --enable-initfini-array not specified.
* doc/install.texi (Configuration): Document --enable-initfini-array.
* configure, config.in: Rebuild.
From-SVN: r58909
Mark Mitchell [Thu, 7 Nov 2002 21:33:44 +0000 (21:33 +0000)]
class.c (add_implicitly_declared_members): Put implicitly declared functions at the end of TYPE_METHODs when...
* class.c (add_implicitly_declared_members): Put implicitly
declared functions at the end of TYPE_METHODs when -fabi-version
is at least 2.
* testsuite/g++.dg/abi/dtor1.C: New test.
* testsuite/g++.dg/abi/dtor2.C: Likewise.
From-SVN: r58908
Jason Thorpe [Thu, 7 Nov 2002 18:32:00 +0000 (18:32 +0000)]
[multiple changes]
2002-11-07 Jason Thorpe <thorpej@wasabisystems.com>
* config/arm/arm-protos.h (arm_get_frame_size)
(thumb_get_frame_size): New prototypes.
* config/arm/arm.c (arm_get_frame_size)
(thumb_get_frame_size): New functions.
(use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
(arm_compute_initial_elimination_offset, arm_expand_prologue): Use
arm_get_frame_size.
(thumb_expand_prologue, thumb_expand_epilogue): Use
thumb_get_frame_size.
* config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
(machine_function): Add frame_size member.
(THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
2002-11-07 Richard Earnshaw <rearnsha@arm.com>
* arm.c (bit_count): Make argument unsigned long. Return unsigned.
Adjust code to use portable unsigned bit manipulation.
(insn_flags, tune_flags): Change type to unsigned.
(struct processors): Make flags unsigned long.
(arm_override_options): Change type of count and current_bit_count
to unsigned.
From-SVN: r58901
Mark Wielaard [Thu, 7 Nov 2002 18:01:05 +0000 (18:01 +0000)]
backport: MarshalledObject.java (equals): Check hashcode first.
Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
* java/rmi/MarshalledObject.java (equals): Check hashcode first.
* java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
annotation.
(loadClass): Take String as codebases.
(getClassAnnotation): Use MyClassLoader annotations.
* java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
call exportObject(this).
* gnu/java/rmi/RMIMarshalledObjectOutputStream.java
(RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
(setAnnotation): Don't set locBytesStream and locStream.
(replaceObject): Removed.
(flush): Don't test locStream.
(getLocBytes): LikeWise.
* gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
(leaseCache): New field.
(dirty): Use leaseCache.
(LeaseRecord): New inner class.
* gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
explicitly call exportObject().
* gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
false to communicate with Sun JDK130.
* gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
* gnu/java/rmi/server/RMIObjectInputStream.java
(UnicastConnectionManager): Removed field.
* gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
Use UnicastServer.getExportedRef().
* gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
(expireTime): Likewise.
(CONNECTION_TIMEOUT): Likewise.
(disconnect): Call sock.close().
(isExpired): New method.
(resetTime): Likewise.
(run): Use do while loop and catch Exception for discardConnection().
* gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
* gnu/java/rmi/server/UnicastRef.java: Lots of changes.
* gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
* gnu/java/rmi/server/UnicastServer.java (refcache): New field.
(exportObject): Use refcache.
(unexportObject): Likewise.
(getExportedRef): New method.
* gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
constructor.
(exportObject): Save manager.serverobj.
(getStub): New method.
From-SVN: r58900
Mark Wielaard [Thu, 7 Nov 2002 17:57:09 +0000 (17:57 +0000)]
natField.cc (getBoolean): Use getType().
* java/lang/reflect/natField.cc (getBoolean): Use getType().
(getByte): Likewise.
(getShort): Likewise.
(getInt): Likewise.
(getLong): Likewise.
(getFloat): Likewise.
(getDouble): Likewise.
(get): Likewise.
(setChar): Likewise.
(setByte): Likewise.
(setShort): Likewise.
(setInt): Likewise.
(setLong): Likewise.
(setFloat): Likewise.
(setDouble): Likewise.
From-SVN: r58899
Richard Earnshaw [Thu, 7 Nov 2002 17:05:48 +0000 (17:05 +0000)]
* arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
From-SVN: r58897
J"orn Rennecke [Thu, 7 Nov 2002 15:51:27 +0000 (15:51 +0000)]
* sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
From-SVN: r58895
Tom Tromey [Thu, 7 Nov 2002 14:10:01 +0000 (14:10 +0000)]
removed bogus ChangeLog entry
From-SVN: r58894
Tom Tromey [Thu, 7 Nov 2002 14:07:19 +0000 (14:07 +0000)]
dostime.c: Rewrote from scratch.
* dostime.c: Rewrote from scratch.
* dostime.h (dostime): Removed.
From-SVN: r58892
Michael Koch [Thu, 7 Nov 2002 13:01:34 +0000 (13:01 +0000)]
Choice.java, [...]: Fixed documentation.
2002-11-07 Michael Koch <konqueror@gmx.de>
* java/awt/Choice.java,
java/awt/Container.java,
java/awt/GridBagLayout.java:
Fixed documentation.
* java/awt/peer/ContainerPeer.java:
Reindented.
From-SVN: r58888
Jan Hubicka [Thu, 7 Nov 2002 10:21:49 +0000 (10:21 +0000)]
* reg-stack.c (compensate_edge): Fix sanity check.
From-SVN: r58886
Michael Koch [Thu, 7 Nov 2002 08:45:19 +0000 (08:45 +0000)]
ICC_Profile.java: Added missing constants.
2002-11-07 Michael Koch <konqueror@gmx.de>
* java/awt/color/ICC_Profile.java:
Added missing constants.
* java/awt/color/ICC_ColorSpace.java
(getMinValue): Added dummy implementation.
(getMaxValue): Added dummy implementation.
* java/awt/datatransfer/DataFlavor.java
(imageFlavor): Added.
(isMimeTypeEqual): Must be final.
(getDefaultRepresentationClass): Must be non-static.
(getDefaultRepresentationClassAsString): Must be non-static.
* java/awt/dnd/DragSourceContext.java
(dragExit): Corrected argument.
(dragDropEnd): Corrected argument.
* java/awt/dnd/DragSourceListener.java.java
(dragExit): Corrected argument.
(dragDropEnd): Corrected argument.
* java/awt/font/TextHitInfo.java
(toString): Added stubbed implementation.
* java/awt/geom/PathIterator.java:
The constants must be static.
* java/awt/image/VolatileImage.java
(IMAGE_INCOMPATIBLE): Fixed typo.
* java/awt/image/renderable/RenderableImage.java
(HINTS_OBSERVED): Must be static.
* java/beans/BeanInfo.java:
Constants must be final.
From-SVN: r58885
GCC Administrator [Thu, 7 Nov 2002 08:17:13 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58884
Geoffrey Keating [Thu, 7 Nov 2002 06:00:07 +0000 (06:00 +0000)]
Index: ChangeLog
2002-11-05 Geoffrey Keating <geoffk@apple.com>
* config.gcc: Don't create crtbegin, crtend on Darwin; do create
crt2.o. Rearrange t-darwin makefiles.
* crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
* unwind-dw2-fde-darwin.c: New.
* unwind-dw2-fde-glibc.c: Correct comment.
* unwind-dw2-fde.c (__register_frame_info_bases)
[DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
(classify_object_over_fdes): Use last_fde.
(add_fdes): Likewise.
(linear_search_fdes): Likewise.
* unwind-dw2-fde.h (struct object)
[DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
(last_fde): New.
* config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
(ENDFILE_SPEC): No crtend.o.
* config/t-darwin: New.
* config/i386/t-darwin: Delete.
* config/darwin-crt2.c: New.
* config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
or config/t-darwin.
Index: testsuite/ChangeLog
2002-11-05 Geoffrey Keating <geoffk@apple.com>
* g++.old-deja/g++.eh/badalloc1.C: XFAIL excess errors test on
Darwin.
From-SVN: r58877
Tom Tromey [Thu, 7 Nov 2002 04:38:21 +0000 (04:38 +0000)]
re PR libgcj/8481 (java.Random.nextInt(int) may return negative)
From svens@it.uu.se. For PR libgcj/8481.
* java/util/Random.java (nextInt(int)): Only use 31 bits.
From-SVN: r58876
David Edelsohn [Thu, 7 Nov 2002 00:34:42 +0000 (00:34 +0000)]
re PR target/8480 (reload ICEs for LAPACK code on powerpc64-linux)
PR target/8480
* config/rs6000/rs6000.md (movdi_internal64): Discourage
FPR to FPR moves.
From-SVN: r58873
Janis Johnson [Thu, 7 Nov 2002 00:03:54 +0000 (00:03 +0000)]
contrib.texi: Merge in the list from the Java web pages.
2002-11-06 Janis Johnson <janis187@us.ibm.com>
* doc/contrib.texi: Merge in the list from the Java web pages.
From-SVN: r58869
Tom Tromey [Wed, 6 Nov 2002 22:10:30 +0000 (22:10 +0000)]
gjavah.c (print_stub_or_jni): Include JNIEXPORT and JNICALL in a JNI header.
* gjavah.c (print_stub_or_jni): Include JNIEXPORT and JNICALL in
a JNI header.
From-SVN: r58867
David O'Brien [Wed, 6 Nov 2002 21:29:42 +0000 (21:29 +0000)]
freebsd: Fix typo.
2002-11-06 David O'Brien <obrien@FreeBSD.org>
* config/sparc/freebsd: Fix typo.
From-SVN: r58865
John David Anglin [Wed, 6 Nov 2002 19:13:34 +0000 (19:13 +0000)]
* pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
From-SVN: r58863
Alexandre Oliva [Wed, 6 Nov 2002 18:10:58 +0000 (18:10 +0000)]
mips.md (call_value_multiple_internal2): Use dla for non-SImode addresses.
* config/mips/mips.md (call_value_multiple_internal2): Use dla for
non-SImode addresses.
From-SVN: r58862
Tom Tromey [Wed, 6 Nov 2002 14:14:51 +0000 (14:14 +0000)]
jni.cc (array_from_valist): Assume that jlong won't be promoted.
* jni.cc (array_from_valist): Assume that jlong won't be
promoted.
From-SVN: r58859
GCC Administrator [Wed, 6 Nov 2002 08:17:10 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58856
Tom Tromey [Wed, 6 Nov 2002 01:02:19 +0000 (01:02 +0000)]
* libjava.jacks/jacks.exp: New file.
From-SVN: r58850
Geoffrey Keating [Wed, 6 Nov 2002 00:44:49 +0000 (00:44 +0000)]
* decl2.c (finish_file): Correct spelling.
From-SVN: r58847
Jonathan Wakely [Wed, 6 Nov 2002 00:05:35 +0000 (00:05 +0000)]
std_sstream.h (basic_stringbuf::str(const __string_type&)): Prefer data() to c_str() thus avoiding assigning the unnecessary NULL-terminator.
2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
* include/std/std_sstream.h
(basic_stringbuf::str(const __string_type&)):
Prefer data() to c_str() thus avoiding assigning the
unnecessary NULL-terminator.
From-SVN: r58844
Tom Tromey [Wed, 6 Nov 2002 00:01:01 +0000 (00:01 +0000)]
re PR java/6388 (Integer.MIN_VALUE == 0x80000000 optimized to false on powerpc)
Fix for PR java/6388.
* lex.h (JAVA_INTEGRAL_RANGE_ERROR): Wrap in do...while.
* java-tree.h (enum java_tree_index): New values
JTI_DECIMAL_INT_MAX_NODE, JTI_DECIMAL_LONG_MAX_NODE.
(decimal_int_max, decimal_long_max): New defines.
* lex.c (yylex): Rewrote range checking. Sign extend literals.
(error_if_numeric_overflow): Rewrote range checking.
* decl.c (java_init_decl_processing): Initialize decimal_int_max,
decimal_long_max.
From-SVN: r58843
Benjamin Kosnik [Tue, 5 Nov 2002 23:46:22 +0000 (23:46 +0000)]
re PR libstdc++/8258 (basic_istream::readsome() with default buffer change stream state to ios_base::eofbit)
2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8258
* include/bits/istream.tcc (istream::readsome): Don't set eofbit
for null buffer.
(istream::operator>>(_CharT*)): Use traits_type.
(istream::ws): Same.
(istream::operator>>(string)): Same.
* testsuite/27_io/istream_unformatted.cc (test11): Add.
From-SVN: r58840
Paolo Carlini [Tue, 5 Nov 2002 23:28:15 +0000 (00:28 +0100)]
re PR libstdc++/8466 (basic_stringbuf::str(basic_string const&) modifies its argument)
2002-11-05 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8466
* include/std/std_sstream.h
(basic_stringbuf::str(const __string_type&)):
Cannot use simple assignment since the COW-nature of v3
basic_string is not taken into account in basic_stringbuf.
* testsuite/27_io/stringstream_members.cc: Add test04 from PR.
From-SVN: r58838
Bob Wilson [Tue, 5 Nov 2002 21:36:49 +0000 (21:36 +0000)]
* config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
From-SVN: r58837
John David Anglin [Tue, 5 Nov 2002 21:24:37 +0000 (21:24 +0000)]
* configure.target (hppa*): Define cpu_include_dir.
From-SVN: r58835
John David Anglin [Tue, 5 Nov 2002 19:17:37 +0000 (19:17 +0000)]
os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
* src/misc-inst.cc (std): Instantiate atomicity lock when
_GLIBCPP_INST_ATOMICITY_LOCK is defined.
* config/cpu/hppa/atomicity.h: New file.
From-SVN: r58831
John David Anglin [Tue, 5 Nov 2002 16:51:10 +0000 (16:51 +0000)]
pa64-hpux.h (LIB_SPEC): Fix p and pg options.
* pa64-hpux.h (LIB_SPEC): Fix p and pg options.
(STARTFILE_SPEC): Remove p and pg options.
From-SVN: r58824
Benjamin Kosnik [Tue, 5 Nov 2002 16:49:42 +0000 (16:49 +0000)]
re PR libstdc++/8463 (std::ios_base has a non-virtual destructor)
2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8463
* include/bits/ios_base.h (~ios_base): Make virtual.
From-SVN: r58823
Andrew Haley [Tue, 5 Nov 2002 14:32:24 +0000 (14:32 +0000)]
fold-const.c (fold): Don't transform (a0 op compound(a1,a2)) to (compound(a1,a0 op a2)) if...
2002-11-05 Andrew Haley <aph@redhat.com>
* fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
From-SVN: r58822
Richard Sandiford [Tue, 5 Nov 2002 12:41:52 +0000 (12:41 +0000)]
mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
* config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
* config/mips/mips.c (mips_cannot_change_mode_class): ...here.
From-SVN: r58821
GCC Administrator [Tue, 5 Nov 2002 08:17:10 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58818
Adam Nemet [Tue, 5 Nov 2002 05:41:39 +0000 (05:41 +0000)]
941014-1.x: thumb-elf was deprecated, use -mthumb.
* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
-mthumb. Only xfail with -O0.
From-SVN: r58809
Adam Nemet [Tue, 5 Nov 2002 05:14:42 +0000 (05:14 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r58808
R. A. Rivas Diaz [Tue, 5 Nov 2002 04:12:04 +0000 (04:12 +0000)]
SHA.java (engineGetDigestLength): Return 20.
2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
* gnu/java/security/provider/SHA.java (engineGetDigestLength):
Return 20.
* gnu/java/security/provider/MD5.java (engineGetDigestLength):
Return 16.
From-SVN: r58807
Tom Tromey [Tue, 5 Nov 2002 04:07:39 +0000 (04:07 +0000)]
* libjava.compile/pr7912.java: New file.
From-SVN: r58806
Graham Stott [Tue, 5 Nov 2002 00:49:44 +0000 (00:49 +0000)]
re PR ada/8358 (Ada accesses freed memory)
PR ada/8358
* trans.c (gnu_pending_elaboration_lists): New GC root.
(build_unit_elab): Use..
From-SVN: r58804
Benjamin Kosnik [Mon, 4 Nov 2002 22:57:00 +0000 (22:57 +0000)]
linker-map.gnu: Export string operator+.
2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Export string operator+.
Export __default_alloc_template::_S_force_new.
* testsuite/abi_check.cc: Output tweaks.
From-SVN: r58801
Dale Johannesen [Mon, 4 Nov 2002 20:06:28 +0000 (20:06 +0000)]
Fix bugs that showed up building Spec on ppc darwin.
From-SVN: r58800
Ulrich Weigand [Mon, 4 Nov 2002 19:04:46 +0000 (19:04 +0000)]
s390.c (s390_decompose_address): Use arg_pointer_rtx for comparison.
* config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
for comparison.
From-SVN: r58799
Kevin Buettner [Mon, 4 Nov 2002 18:40:27 +0000 (18:40 +0000)]
Top level configury changes for RDA.
From-SVN: r58797
Andrew Haley [Mon, 4 Nov 2002 17:34:09 +0000 (17:34 +0000)]
utilTest.java: New.
2002-11-04 Andrew Haley <aph@redhat.com>
* libjava.lang/utilTest.java: New.
* libjava.lang/utilTest.out: New.
From-SVN: r58795
Aldy Hernandez [Mon, 4 Nov 2002 16:58:39 +0000 (16:58 +0000)]
hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
2002-11-04 Aldy Hernandez <aldyh@redhat.com>
* hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
* config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
(CLASS_CANNOT_CHANGE_MODE): Remove.
(CANNOT_CHANGE_MODE_CLASS): New.
* config/alpha/alpha.h: Same.
* config/ia64/ia64.h: Same.
* config/mips/mips.h: Same.
* config/s390/s390.h: Same.
* config/sh/sh.h: Same.
* config/pa/pa64-regs.h: Same.
* config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
* config/sh/sh.c (sh_cannot_change_mode_class): New.
* config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
prototype.
* config/mips/mips.c (mips_cannot_change_mode_class): New.
* doc/tm.texi (Register Classes): Remove
CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
Document CANNOT_CHANGE_MODE_CLASS.
* reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
(push_reload): Same.
* simplify-rtx.c (simplify_subreg): Same.
* reload1.c (choose_reload_regs): Same.
* recog.c (register_operand): Same.
* regrename.c (mode_change_ok): Change to use new
CANNOT_CHANGE_MODE_CLASS infrastructure.
* regclass.c (cannot_change_mode_set_regs): New.
Declare subregs_of_mode.
(regclass): Use subregs_of_mode.
Remove references to reg_changes_mode.
(init_reg_sets_1): Remove class_can_change_mode and
reg_changes_mode code.
(invalid_mode_change_p): New.
(dump_regclass): Use invalid_mode_change_p instead of
class_can_change_mode.
(regclass): Same.
(record_operand_costs): Do not set reg_changes_mode.
* local-alloc.c (struct qty): Remove changes_mode field.
(alloc_qty): Remove changes_mode initialization.
(update_qty_class): Remove set of changes_mode.
(find_free_reg): Use subregs_of_mode.
* global.c (find_reg): Use subregs_of_mode info.
* rtl.h (cannot_change_mode_set_regs): New prototype.
(invalid_mode_change_p): Same.
(REG_CANNOT_CHANGE_MODE_P): New macro.
* flow.c (mark_used_regs): Calculate subregs_of_mode. Remove
REG_CHANGES_MODE.
(life_analysis): Clear subregs_of_mode.
* combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
Remove use of CLASS_CANNOT_CHANGE_MODE.
(simplify_set): Same.
(gen_lowpart_for_combine): Calculate subregs_of_mode. Remove
REG_CHANGES_MODE.
* regs.h: Add extern for subregs_of_mode;
Include hard-reg-set and basic-block.
(REG_CHANGES_MODE): Delete.
From-SVN: r58794
Anthony Green [Mon, 4 Nov 2002 14:00:15 +0000 (14:00 +0000)]
More test code.
From-SVN: r58793
GCC Administrator [Mon, 4 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58792
Tom Tromey [Mon, 4 Nov 2002 06:17:55 +0000 (06:17 +0000)]
ClassLoader.java (loadClass): Call loadClass on VMClassLoader, not findClass.
* java/lang/ClassLoader.java (loadClass): Call loadClass on
VMClassLoader, not findClass.
From-SVN: r58786