OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * c-decl.c (grokdeclarator): Make error for duplicate type
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

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

19 years ago * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
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

19 years ago * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
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

19 years ago * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
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

19 years ago * java/applet/Applet.java, java/applet/AppletContext.java,
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

19 years ago * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
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

19 years ago * lib/compat.exp (compat-execute): Fix logic error in last
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

19 years ago * java/awt/List.java (processEvent): Added missing `else's.
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

19 years ago* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
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

19 years ago * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
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

19 years ago * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
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

19 years ago * gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.
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

19 years ago PR c++/8389
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

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

19 years agofix stabs info for vector types
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

19 years ago PR preprocessor/8497
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

19 years ago * cppmain.c (cpp_preprocess_file): Loop to pop any -included
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

19 years ago * config/h8300/h8300.md (two anonymous test insns): New.
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

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

19 years ago2002-11-08 Paolo Carlini <pcarlini@unitus.it>
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

19 years ago * jump.c (mark_jump_label): Handle subregs of label_refs.
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

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

19 years ago * class.c (add_vcall_offset_vtbl_entries_1): Correct ordering of
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

19 years ago PR c++/8338
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

19 years ago * config/ia64/crtend.asm: Include "auto-host.h".
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

19 years ago * class.c (add_implicitly_declared_members): Put implicitly
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

19 years ago2002-11-07 Jason Thorpe <thorpej@wasabisystems.com>
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

19 years ago Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
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

19 years ago * java/lang/reflect/natField.cc (getBoolean): Use getType().
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

19 years ago* arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
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

19 years ago * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
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

19 years agoremoved bogus ChangeLog entry
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

19 years ago * dostime.c: Rewrote from scratch.
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

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

19 years ago * reg-stack.c (compensate_edge): Fix sanity check.
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

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

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

19 years agoIndex: ChangeLog
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

19 years ago From svens@it.uu.se. For PR libgcj/8481.
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

19 years ago PR target/8480
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

19 years ago2002-11-06 Janis Johnson <janis187@us.ibm.com>
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

19 years ago * gjavah.c (print_stub_or_jni): Include JNIEXPORT and JNICALL in
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

19 years ago2002-11-06 David O'Brien <obrien@FreeBSD.org>
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

19 years ago * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
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

19 years ago* config/mips/mips.md (call_value_multiple_internal2): Use dla for
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

19 years ago * jni.cc (array_from_valist): Assume that jlong won't be
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

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

19 years ago * libjava.jacks/jacks.exp: New file.
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

19 years ago * decl2.c (finish_file): Correct spelling.
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

19 years ago2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk>
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

19 years ago Fix for PR java/6388.
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

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

19 years ago2002-11-05 Paolo Carlini <pcarlini@unitus.it>
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

19 years ago * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
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

19 years ago * configure.target (hppa*): Define cpu_include_dir.
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

19 years ago * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
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

19 years ago * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
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

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

19 years ago2002-11-05 Andrew Haley <aph@redhat.com>
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

19 years ago * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
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

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

19 years ago * gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
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

19 years ago * MAINTAINERS (Write After Approval): Add myself.
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

19 years ago2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
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

19 years ago * libjava.compile/pr7912.java: New file.
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

19 years ago PR ada/8358
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

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

19 years agoFix bugs that showed up building Spec on ppc darwin.
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

19 years ago * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
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

19 years agoTop level configury changes for RDA.
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

19 years ago2002-11-04 Andrew Haley <aph@redhat.com>
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

19 years ago2002-11-04 Aldy Hernandez <aldyh@redhat.com>
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

19 years agoMore test code.
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

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

19 years ago * java/lang/ClassLoader.java (loadClass): Call loadClass on
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

19 years ago * jump.c (never_reached_warning): Don't set contains_insn until the
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

19 years agoAdd missing file.
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

19 years agoNew test code
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

19 years agoNew tests.
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

19 years ago * config/rs6000/rs6000.md (movti_string): Use string instructions.
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

19 years ago * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
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

19 years ago * call.c (build_special_member_call): Do not try to lookup VTTs by
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

19 years agoNew files.
green [Mon, 4 Nov 2002 01:31:12 +0000 (01:31 +0000)]
New files.

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

19 years ago PR c/7128
sayle [Mon, 4 Nov 2002 00:22:57 +0000 (00:22 +0000)]
PR c/7128
* c-typeck.c (c_expand_asm_operands): Defend against
error_mark_nodes in the output argument to avoid ICE.

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

19 years ago PR middle-end/8408
rth [Sun, 3 Nov 2002 23:42:51 +0000 (23:42 +0000)]
    PR middle-end/8408
        * genrecog.c (preds): Handle ADDRESSOF.
        (validate_pattern): Mark it as an lvalue.
* gcc.c-torture/compile/20021103-1.c: New.

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

19 years ago * java/nio/channels/AlreadyConnectedException.java: Extend
tromey [Sun, 3 Nov 2002 21:18:32 +0000 (21:18 +0000)]
* java/nio/channels/AlreadyConnectedException.java: Extend
IllegalStateException, per spec.

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

19 years agoGNU Classpath merge.
mark [Sun, 3 Nov 2002 20:27:31 +0000 (20:27 +0000)]
GNU Classpath merge.

2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>

* java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

        * java/util/ArrayList.java (readObject, writeObject): Only read/write
        size items.

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

        * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
        initial estimated size to avoid enlarge buffer frequently.

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

* java/lang/reflect/Proxy.java (ProxyType): Set loader to System
ClassLoader when null.
(ProxyType.hashCode): Loader null check no longer needed.
(ProxyType.sameTypes): New method.
(ProxyType.equals): Use new method.

2002-10-31  Mark Wielaard  <mark@klomp.org>

        * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
length of String.
* java/net/URLEncoder.java (encode): Likewise.

2002-10-31  Mark Wielaard  <mark@klomp.org>

* java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
when stream is closed.
(closeEntry): Likewise.
(read): Likewise.
* java/util/zip/ZipOutputStream.java (putNextEntry): Throw
ZipException when no entry active.
(closeEntry): Likewise.
(write): Likewise.

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

19 years agoDaily bump.
gccadmin [Sun, 3 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

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

19 years ago * libjava.lang/initexc.java (fail): Static initializers must be
tromey [Sun, 3 Nov 2002 01:30:28 +0000 (01:30 +0000)]
* libjava.lang/initexc.java (fail): Static initializers must be
able to complete normally.  From Eric Blake.

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

19 years ago * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
tromey [Sat, 2 Nov 2002 23:52:56 +0000 (23:52 +0000)]
* java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
* java/lang/natClass.cc (initializeClass): Don't return just
because self==thread.

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

19 years ago * java-tree.h: Move JV_STATE_ERROR before JV_STATE_DONE.
tromey [Sat, 2 Nov 2002 23:52:26 +0000 (23:52 +0000)]
* java-tree.h: Move JV_STATE_ERROR before JV_STATE_DONE.

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

19 years ago * libjava.lang/initexc.java: New file.
tromey [Sat, 2 Nov 2002 23:36:47 +0000 (23:36 +0000)]
* libjava.lang/initexc.java: New file.
* libjava.lang/initexc.out: New file.

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

19 years ago PR optimization/8423
dnovillo [Sat, 2 Nov 2002 22:58:54 +0000 (22:58 +0000)]
PR optimization/8423
* gcc.c-torture/execute/builtin-constant.c: New test.

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

19 years ago * config/rs6000/rs6000.c (rs6000_override_options): Use string
dje [Sat, 2 Nov 2002 21:55:55 +0000 (21:55 +0000)]
    * config/rs6000/rs6000.c (rs6000_override_options): Use string
        instructions when optimizing for size.

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

19 years ago * class.c (make_method_value): Put class name, not signature, into
tromey [Sat, 2 Nov 2002 21:33:54 +0000 (21:33 +0000)]
* class.c (make_method_value): Put class name, not signature, into
`throws' field.  For PR java/8415.

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

19 years ago For PR java/8415:
tromey [Sat, 2 Nov 2002 21:33:30 +0000 (21:33 +0000)]
For PR java/8415:
* java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
* prims.cc (_Jv_FindClassFromSignature): Indentation fix.

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

19 years agoReverted erroneous checkin
tromey [Sat, 2 Nov 2002 21:29:36 +0000 (21:29 +0000)]
Reverted erroneous checkin

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

19 years ago Fix for PR java/6388.
tromey [Sat, 2 Nov 2002 21:26:28 +0000 (21:26 +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@58755 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
schwab [Sat, 2 Nov 2002 16:14:50 +0000 (16:14 +0000)]
* Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
pass GCJFLAGS.
(FLAGS_TO_PASS): Define.
* Makefile.in: Regenerated.

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