Commit Graph

46053 Commits

Author SHA1 Message Date
Gerald Pfeifer
10bb8214f8 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
2002-11-12 12:14:32 +00:00
Rainer Orth
ffe11c6b2f t-iris6 (MULTILIB_OSDIRNAMES): Restore old directories.
* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
	directories.

From-SVN: r59047
2002-11-12 11:15:48 +00:00
GCC Administrator
91bc0940c0 Daily bump.
From-SVN: r59045
2002-11-12 08:17:27 +00:00
DJ Delorie
6bee537279 * configure.in: Look for common files in the right place.
From-SVN: r59039
2002-11-11 23:45:57 -05:00
Zack Weinberg
3788cc1761 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
2002-11-12 00:27:31 +00:00
Kazu Hirata
dd697f8c1d * gthr-dce.h: Fix formatting.
From-SVN: r59032
2002-11-12 00:01:34 +00:00
Benjamin Kosnik
6eeb7d7ae0 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
2002-11-11 23:18:05 +00:00
Tom Tromey
90e76e864a 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
2002-11-11 22:20:56 +00:00
Franz Sirl
303b90b001 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
2002-11-11 21:29:19 +00:00
Janis Johnson
e84371652c 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
2002-11-11 21:01:35 +00:00
Jan Hubicka
12f5c45e40 * i386.c (construct_container): Fix handling of SSE_CLASS.
From-SVN: r59020
2002-11-11 11:12:09 +00:00
GCC Administrator
aaea99dc5e Daily bump.
From-SVN: r59019
2002-11-11 08:17:12 +00:00
Jesse Rosenstock
8a423d779f 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
2002-11-11 07:36:41 +00:00
Michael Koch
ac7bc6bb2f 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
2002-11-11 07:12:07 +00:00
Michael Koch
dba90b0cc6 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
2002-11-11 07:00:29 +00:00
Tom Tromey
459c4c517e 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
2002-11-11 06:33:08 +00:00
Joel Sherrill
f981a754fc 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
2002-11-11 06:02:20 +00:00
Eric Botcazou
45ed7228db 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
2002-11-11 05:38:22 +00:00
Stan Shebs
5aad4daaba Retire common MPW configury bits.
* mpw-mh-mpw: Remove.
        * mpw: Remove directory along with all of its files.

From-SVN: r59004
2002-11-11 05:15:36 +00:00
H.J. Lu
2da4124d3d 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
2002-11-10 19:13:18 -08:00
Mark Mitchell
0631587180 * g++.dg/abi/vthunk3.C: Run only on x86.
From-SVN: r59001
2002-11-11 02:20:37 +00:00
Jonathan Wakely
cfe17bd93b 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
2002-11-11 01:10:44 +00:00
Jonathan Wakely
d47839991f * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r58999
2002-11-11 00:50:09 +00:00
Tom Tromey
924af605fe 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
2002-11-10 23:11:21 +00:00
Tom Tromey
a6b5bd3b6b 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
2002-11-10 22:23:53 +00:00
Tom Tromey
f18590c620 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
2002-11-10 22:06:49 +00:00
Jakub Jelinek
99c49d11c1 Fix typo.
From-SVN: r58995
2002-11-10 22:26:20 +01:00
Anthony Green
1323d7a92b 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
2002-11-10 21:13:44 +00:00
Mark Wielaard
c0cd8f67f1 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
2002-11-10 21:07:27 +00:00
Jakub Jelinek
9d8f417b41 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
2002-11-10 22:04:24 +01:00
Zack Weinberg
7bb9f927b8 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
2002-11-10 20:47:45 +00:00
Jan Hubicka
04989d158c FOrgot to commit the file itself. Changelog entry is already at:
* reg-stack.c (compensate_edge): Fix sanity check.

From-SVN: r58988
2002-11-10 19:59:26 +00:00
Jason Thorpe
d898608275 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
2002-11-10 18:28:39 +00:00
Jan Hubicka
2e64c6362c * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
From-SVN: r58986
2002-11-10 17:52:50 +00:00
Ranjit Mathew
a2eb270a7e 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
2002-11-10 17:38:08 +00:00
Tom Tromey
44e8d1f006 GridLayout.java (setColumns): Check newCols, not cols.
* java/awt/GridLayout.java (setColumns): Check newCols, not cols.
	(setRows): Check newRows, not rows.

From-SVN: r58984
2002-11-10 17:35:13 +00:00
Joseph Myers
04e6db94f8 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
2002-11-10 16:24:26 +00:00
GCC Administrator
d663b76d17 Daily bump.
From-SVN: r58977
2002-11-10 08:17:13 +00:00
Tom Tromey
b08122a718 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
From-SVN: r58971
2002-11-10 08:00:48 +00:00
Hans-Peter Nilsson
e9986d3ae2 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
2002-11-10 07:32:43 +00:00
John David Anglin
581d94049b 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
2002-11-10 01:14:48 +00:00
Tom Tromey
f7aa343f42 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
2002-11-10 00:16:43 +00:00
Tom Tromey
adf94cac56 ScrollPane.java (ScrollPane): Fixed test for valid display policy.
* java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
	display policy.

From-SVN: r58963
2002-11-09 23:42:01 +00:00
Hans-Peter Nilsson
323941f6b6 compat.exp (compat-execute): Fix logic error in last change.
* lib/compat.exp (compat-execute): Fix logic error in last
	change.

From-SVN: r58962
2002-11-09 23:24:01 +00:00
Tom Tromey
ad980a7b82 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
2002-11-09 23:23:32 +00:00
Jason Thorpe
9f689d92c0 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
2002-11-09 18:38:18 +00:00
John David Anglin
1c03af8697 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
2002-11-09 16:29:38 +00:00
Neil Booth
57800e9e70 * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
From-SVN: r58952
2002-11-09 12:37:08 +00:00
Neil Booth
8c47cfd82a * gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.
From-SVN: r58951
2002-11-09 12:33:53 +00:00
Kriang Lerdsuwanakij
5c74d5b03c 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
2002-11-09 11:53:18 +00:00