Kazu Hirata [Tue, 12 Nov 2002 14:01:33 +0000 (14:01 +0000)]
h8300.c (single_one_operand): Correctly compute mask when mode is SImode.
* config/h8300/h8300.c (single_one_operand): Correctly compute
mask when mode is SImode.
(single_zero_operand): Likewise.
* config/h8300/h8300.md (two new anonymous insns): New.
From-SVN: r59050
Gerald Pfeifer [Tue, 12 Nov 2002 12:14:32 +0000 (13:14 +0100)]
contrib.texi (Contributors): Use GCJ instead of gcj to refer to that entire project.
* doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
to that entire project.
From-SVN: r59048
Rainer Orth [Tue, 12 Nov 2002 11:15:48 +0000 (11:15 +0000)]
t-iris6 (MULTILIB_OSDIRNAMES): Restore old directories.
* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
directories.
From-SVN: r59047
GCC Administrator [Tue, 12 Nov 2002 08:17:27 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59045
DJ Delorie [Tue, 12 Nov 2002 04:45:57 +0000 (23:45 -0500)]
* configure.in: Look for common files in the right place.
From-SVN: r59039
Zack Weinberg [Tue, 12 Nov 2002 00:27:31 +0000 (00:27 +0000)]
params.def (ggc-min-expand, [...]): New parameters.
* params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
* doc/invoke.texi: Document them.
* ggc-page.c: Include params.h. Remove definitions of
GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED. Replace
GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
(init_gcc): Don't set G.allocated_last_gc here.
(ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
perform collection.
* ggc-simple.c: Similarly.
* Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
dependencies.
From-SVN: r59034
Kazu Hirata [Tue, 12 Nov 2002 00:01:34 +0000 (00:01 +0000)]
* gthr-dce.h: Fix formatting.
From-SVN: r59032
Benjamin Kosnik [Mon, 11 Nov 2002 23:18:05 +0000 (23:18 +0000)]
re PR libstdc++/6746 (ifstream::readsome() always returns zero)
2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6746
* include/bits/fstream.tcc (filebuf::open): Set input pointers.
* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
__p_mode as well.
(__basic_file::open): Set to non-block for input.
* testsuite/27_io/istream_unformatted.cc (test12): Add.
(test13): Same.
From-SVN: r59030
Tom Tromey [Mon, 11 Nov 2002 22:20:56 +0000 (22:20 +0000)]
dostime.c (dos2unixtime): Mask for seconds is 0x1f.
* dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
compute month.
(unix2dostime): Handle years before 1980. Correctly compute month
and day of month.
From-SVN: r59027
Franz Sirl [Mon, 11 Nov 2002 21:29:19 +0000 (21:29 +0000)]
re PR c/8467 (Bug in sibling call optimization)
2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR c/8467
* gcc.c-torture/execute/
20021111-1.c
From-SVN: r59026
Janis Johnson [Mon, 11 Nov 2002 21:01:35 +0000 (21:01 +0000)]
contrib.texi: Merge in the list from the libstdc++ web pages.
2002-11-11 Janis Johnson <janis187@us.ibm.com>
* doc/contrib.texi: Merge in the list from the libstdc++ web pages.
From-SVN: r59024
Jan Hubicka [Mon, 11 Nov 2002 11:12:09 +0000 (12:12 +0100)]
* i386.c (construct_container): Fix handling of SSE_CLASS.
From-SVN: r59020
GCC Administrator [Mon, 11 Nov 2002 08:17:12 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r59019
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