hjl [Mon, 11 Nov 2002 03:13:18 +0000 (03:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59002
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 11 Nov 2002 02:20:37 +0000 (02:20 +0000)]
* g++.dg/abi/vthunk3.C: Run only on x86.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59001
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 11 Nov 2002 01:10:44 +0000 (01:10 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59000
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 11 Nov 2002 00:50:09 +0000 (00:50 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58999
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 10 Nov 2002 23:11:21 +0000 (23:11 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58998
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 10 Nov 2002 22:23:53 +0000 (22:23 +0000)]
* java/io/natFileDescriptorWin32.cc (read): Handle case where
count is 0.
* java/io/natFileDescriptorPosix.cc (read): Handle case where
count is 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58997
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 10 Nov 2002 22:06:49 +0000 (22:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58996
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 10 Nov 2002 21:26:20 +0000 (21:26 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58995
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 10 Nov 2002 21:13:44 +0000 (21:13 +0000)]
2002-11-10 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java (Name): Fix name check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58992
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sun, 10 Nov 2002 21:07:27 +0000 (21:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58991
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 10 Nov 2002 21:04:24 +0000 (21:04 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58990
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 10 Nov 2002 20:47:45 +0000 (20:47 +0000)]
* config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
* config/rs6000/linux.h, config/rs6000/linux64.h,
config/rs6000/windiss.h: ... not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58989
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58988
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sun, 10 Nov 2002 18:28:39 +0000 (18:28 +0000)]
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
__ABICALLS__ if TARGET_ABICALLS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58987
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 10 Nov 2002 17:52:50 +0000 (17:52 +0000)]
* i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58986
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 10 Nov 2002 17:38:08 +0000 (17:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58985
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 10 Nov 2002 17:35:13 +0000 (17:35 +0000)]
* java/awt/GridLayout.java (setColumns): Check newCols, not cols.
(setRows): Check newRows, not rows.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58984
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [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.
testsuite:
* gcc.dg/c90-idem-qual-2.c, gcc.dg/c99-idem-qual-2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58983
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 10 Nov 2002 08:17:13 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58977
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 10 Nov 2002 08:00:48 +0000 (08:00 +0000)]
* jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58971
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 10 Nov 2002 07:32:43 +0000 (07:32 +0000)]
* config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
as FUNCTION_ARG_PASS_BY_REFERENCE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58970
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 10 Nov 2002 01:14:48 +0000 (01:14 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58967
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 10 Nov 2002 00:16:43 +0000 (00:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58964
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 9 Nov 2002 23:42:01 +0000 (23:42 +0000)]
* java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
display policy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58963
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 9 Nov 2002 23:24:01 +0000 (23:24 +0000)]
* lib/compat.exp (compat-execute): Fix logic error in last
change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58962
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 9 Nov 2002 23:23:32 +0000 (23:23 +0000)]
* java/awt/List.java (processEvent): Added missing `else's.
* java/awt/Window.java (show): validate() before showing. Make
parent displayable.
(isDisplayable): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58961
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Sat, 9 Nov 2002 18:38:18 +0000 (18:38 +0000)]
* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
to the assembler if -mno-abicalls was specified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58957
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 9 Nov 2002 16:29:38 +0000 (16:29 +0000)]
* pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
ASM_OUTPUT_DEF): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58953
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 9 Nov 2002 12:37:08 +0000 (12:37 +0000)]
* c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58952
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 9 Nov 2002 12:33:53 +0000 (12:33 +0000)]
* gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58951
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 9 Nov 2002 11:53:18 +0000 (11:53 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58950
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 9 Nov 2002 08:17:12 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58949
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Fri, 8 Nov 2002 23:12:24 +0000 (23:12 +0000)]
fix stabs info for vector types
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58939
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 8 Nov 2002 22:36:22 +0000 (22:36 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58938
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 8 Nov 2002 20:15:05 +0000 (20:15 +0000)]
* cppmain.c (cpp_preprocess_file): Loop to pop any -included
buffers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58933
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 8 Nov 2002 19:30:31 +0000 (19:30 +0000)]
* config/h8300/h8300.md (two anonymous test insns): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58930
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 8 Nov 2002 19:24:41 +0000 (19:24 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58929
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 8 Nov 2002 17:05:40 +0000 (17:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58928
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 8 Nov 2002 11:58:53 +0000 (11:58 +0000)]
* jump.c (mark_jump_label): Handle subregs of label_refs.
* gcc.c-torture/compile/
20021108-1.c: New testcase for x86-64 failure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58921
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 8 Nov 2002 08:17:17 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58919
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 8 Nov 2002 02:16:48 +0000 (02:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58912
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 8 Nov 2002 01:42:23 +0000 (01:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58911
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 7 Nov 2002 22:48:10 +0000 (22:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58909
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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 -fabi-version
is at least 2.
* testsuite/g++.dg/abi/dtor1.C: New test.
* testsuite/g++.dg/abi/dtor2.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58908
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Thu, 7 Nov 2002 18:32:00 +0000 (18:32 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58901
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Thu, 7 Nov 2002 18:01:05 +0000 (18:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58900
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Thu, 7 Nov 2002 17:57:09 +0000 (17:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58899
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 7 Nov 2002 17:05:48 +0000 (17:05 +0000)]
* arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58897
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 7 Nov 2002 15:51:27 +0000 (15:51 +0000)]
* sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58895
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 7 Nov 2002 14:10:01 +0000 (14:10 +0000)]
removed bogus ChangeLog entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58894
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 7 Nov 2002 14:07:19 +0000 (14:07 +0000)]
* dostime.c: Rewrote from scratch.
* dostime.h (dostime): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58892
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 7 Nov 2002 13:01:34 +0000 (13:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58888
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 7 Nov 2002 10:21:49 +0000 (10:21 +0000)]
* reg-stack.c (compensate_edge): Fix sanity check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58886
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Thu, 7 Nov 2002 08:45:19 +0000 (08:45 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58885
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 7 Nov 2002 08:17:13 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58884
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58877
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 7 Nov 2002 04:38:21 +0000 (04:38 +0000)]
From svens@it.uu.se. For PR libgcj/8481.
* java/util/Random.java (nextInt(int)): Only use 31 bits.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58876
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 7 Nov 2002 00:34:42 +0000 (00:34 +0000)]
PR target/8480
* config/rs6000/rs6000.md (movdi_internal64): Discourage
FPR to FPR moves.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58873
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Thu, 7 Nov 2002 00:03:54 +0000 (00:03 +0000)]
2002-11-06 Janis Johnson <janis187@us.ibm.com>
* doc/contrib.texi: Merge in the list from the Java web pages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58869
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58867
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Wed, 6 Nov 2002 21:29:42 +0000 (21:29 +0000)]
2002-11-06 David O'Brien <obrien@FreeBSD.org>
* config/sparc/freebsd: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58865
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 6 Nov 2002 19:13:34 +0000 (19:13 +0000)]
* pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58863
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 6 Nov 2002 18:10:58 +0000 (18:10 +0000)]
* config/mips/mips.md (call_value_multiple_internal2): Use dla for
non-SImode addresses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58862
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 6 Nov 2002 14:14:51 +0000 (14:14 +0000)]
* jni.cc (array_from_valist): Assume that jlong won't be
promoted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58859
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 6 Nov 2002 08:17:10 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58856
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 6 Nov 2002 01:02:19 +0000 (01:02 +0000)]
* libjava.jacks/jacks.exp: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58850
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 6 Nov 2002 00:44:49 +0000 (00:44 +0000)]
* decl2.c (finish_file): Correct spelling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58847
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 6 Nov 2002 00:05:35 +0000 (00:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58844
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 6 Nov 2002 00:01:01 +0000 (00:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58843
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 5 Nov 2002 23:46:22 +0000 (23:46 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58840
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 5 Nov 2002 23:28:15 +0000 (23:28 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58838
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Tue, 5 Nov 2002 21:36:49 +0000 (21:36 +0000)]
* config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58837
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 5 Nov 2002 21:24:37 +0000 (21:24 +0000)]
* configure.target (hppa*): Define cpu_include_dir.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58835
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 5 Nov 2002 19:17:37 +0000 (19:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58831
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 5 Nov 2002 16:51:10 +0000 (16:51 +0000)]
* pa64-hpux.h (LIB_SPEC): Fix p and pg options.
(STARTFILE_SPEC): Remove p and pg options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58824
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 5 Nov 2002 16:49:42 +0000 (16:49 +0000)]
2002-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8463
* include/bits/ios_base.h (~ios_base): Make virtual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58823
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 5 Nov 2002 14:32:24 +0000 (14:32 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58822
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 5 Nov 2002 12:41:52 +0000 (12:41 +0000)]
* config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
* config/mips/mips.c (mips_cannot_change_mode_class): ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58821
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 5 Nov 2002 08:17:10 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58818
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Tue, 5 Nov 2002 05:41:39 +0000 (05:41 +0000)]
* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
-mthumb. Only xfail with -O0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58809
138bc75d-0d04-0410-961f-
82ee72b054a4
nemet [Tue, 5 Nov 2002 05:14:42 +0000 (05:14 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58808
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 5 Nov 2002 04:12:04 +0000 (04:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58807
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 5 Nov 2002 04:07:39 +0000 (04:07 +0000)]
* libjava.compile/pr7912.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58806
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Tue, 5 Nov 2002 00:49:44 +0000 (00:49 +0000)]
PR ada/8358
* trans.c (gnu_pending_elaboration_lists): New GC root.
(build_unit_elab): Use..
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58804
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 4 Nov 2002 22:57:00 +0000 (22:57 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58801
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Mon, 4 Nov 2002 20:06:28 +0000 (20:06 +0000)]
Fix bugs that showed up building Spec on ppc darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58800
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 4 Nov 2002 19:04:46 +0000 (19:04 +0000)]
* config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
for comparison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58799
138bc75d-0d04-0410-961f-
82ee72b054a4
kevinb [Mon, 4 Nov 2002 18:40:27 +0000 (18:40 +0000)]
Top level configury changes for RDA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58797
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 4 Nov 2002 17:34:09 +0000 (17:34 +0000)]
2002-11-04 Andrew Haley <aph@redhat.com>
* libjava.lang/utilTest.java: New.
* libjava.lang/utilTest.out: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58795
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Mon, 4 Nov 2002 16:58:39 +0000 (16:58 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58794
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 4 Nov 2002 14:00:15 +0000 (14:00 +0000)]
More test code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58793
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 4 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58792
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 4 Nov 2002 06:17:55 +0000 (06:17 +0000)]
* java/lang/ClassLoader.java (loadClass): Call loadClass on
VMClassLoader, not findClass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58786
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Mon, 4 Nov 2002 05:01:21 +0000 (05:01 +0000)]
* jump.c (never_reached_warning): Don't set contains_insn until the
first line note is seen.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58785
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 4 Nov 2002 04:19:47 +0000 (04:19 +0000)]
Add missing file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58784
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 4 Nov 2002 04:17:59 +0000 (04:17 +0000)]
New test code
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58783
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 4 Nov 2002 04:17:38 +0000 (04:17 +0000)]
New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58782
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 4 Nov 2002 03:04:10 +0000 (03:04 +0000)]
* config/rs6000/rs6000.md (movti_string): Use string instructions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58781
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Mon, 4 Nov 2002 02:45:31 +0000 (02:45 +0000)]
* resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
(_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
_Jv_DetermineVTableIndex, to determine vtable offset.
(_Jv_DetermineVTableIndex): Remove.
(_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
* java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58780
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 4 Nov 2002 01:45:58 +0000 (01:45 +0000)]
* call.c (build_special_member_call): Do not try to lookup VTTs by
name.
* class.c (vtbl_init_data): Add generate_vcall_entries.
(get_vtable_decl): Do not look up virtual tables by name.
(copy_virtuals): Do not use BV_USE_VCALL_INDEX_P.
(set_primary_base): Do not set CLASSTYPE_RTTI.
(determine_primary_base): Likewise.
(get_matching_virtual): Remove.
(get_vcall_index): New function.
(update_vtable_entry_for_fn): Do not try to use virtual thunks
when they are not required. Assign vcall indices at this point.
(finish_struct_1): Do not set CLASSTYPE_NEEDS_VIRTUAL_REINIT.
Do update dynamic_classes.
(build_vtt): Do not add VTTs to the symbol table.
(build_ctor_vtbl_group): Likewise.
(build_vtbl_initializer): Simplify handling of vcall indices.
(build_vcall_offset_vtbl_entries): Pretend to build vcall offsets
for the most derived class.
(add_vcall_offset_vtbl_entries_1): But do not actually add them to
the vtable.
* cp-tree.h (dynamic_classes): New macro.
(lang_type_class): Remove rtti. Add vtables. Add vcall_indices.
(CLASSTYPE_RTTI): Remove.
(CLASSTYPE_NEEDS_VIRTUAL_REINIT): Remove.
(CLASSTYPE_VCALL_INDICES): New macro.
(CLASSTYPE_VTABLES): Likewise.
(BV_USE_VCALL_INDEX_P): Remove.
(build_vtable_path): Remove.
* decl2.c (finish_vtable_vardecl): Remove.
(key_method): Remove #if 0'd code.
(finish_vtable_vardecl): Rename to ...
(maybe_emit_vtables): ... this.
(finish_file): Use it.
* search.c (look_for_overrides_here): Update comment.
* g++.dg/abi/thunk1.C: New test.
* g++.dg/abi/thunk2.C: Likewise.
* g++.dg/abi/vtt1.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58779
138bc75d-0d04-0410-961f-
82ee72b054a4