Commit Graph

46100 Commits

Author SHA1 Message Date
Jakub Jelinek
a36fc5f81d Fix typos.
From-SVN: r59137
2002-11-15 18:22:18 +01:00
Ulrich Weigand
2120e3cd74 s390.c (optimization_options): Set flag_asynchronous_unwind_tables to 1 by default.
* config/s390/s390.c (optimization_options): Set
	flag_asynchronous_unwind_tables to 1 by default.

From-SVN: r59135
2002-11-15 16:59:13 +00:00
Ulrich Weigand
18789f4e75 s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
gcc/ChangeLog:
	* config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.

libffi/ChangeLog:
	* src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.

From-SVN: r59134
2002-11-15 16:57:49 +00:00
Jan Hubicka
a5fa1ecdab i386-protos.h (x86_function_profiler): New function
* i386-protos.h (x86_function_profiler): New function
	* i386.h (MCOUNT_NAME): New.
	(PROFILE_COUNT_REGISTER): New.
	(OUTPUT_FUNCTION_PROFILER): Move offline to ...
	* i386.c (x86_function_profiler) ... here; fix 64bit support
	* beos-elf.h (FUNCTION_PROFILER): Kill.
	(MCOUNT_NAME): New.
	* freebsd-aout.h (FUNCTION_PROFILER): Kill.
	(MCOUNT_NAME): New.
	(PROFILE_COUNT_REGISTER): New.
	* linux.h (FUNCTION_PROFILER): Kill.
	(MCOUNT_NAME): New.
	* x86-64.h (FUNCTION_PROFILER): Kill.
	(MCOUNT_NAME): New.
	* freebsd.h (FUNCTION_PROFILER): Kill.
	(MCOUNT_NAME): New.

From-SVN: r59132
2002-11-15 14:57:12 +00:00
Eric Botcazou
f7109dea6c MAINTAINERS (Write After Approval): Add myself.
2002-11-15  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r59131
2002-11-15 14:48:55 +00:00
Jakub Jelinek
2cf2d29db4 Fix typos.
From-SVN: r59130
2002-11-15 14:53:41 +01:00
Jeroen Dobbelaere
1741620c26 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
* config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
FUNCTION_ARG_PASS_BY_REFERENCE): Define.
* config/arm/arm.c (arm_va_arg,
arm_function_arg_pass_by_reference): New.
* config/arm/arm-protos.h: Add prototypes.

From-SVN: r59127
2002-11-15 11:21:36 +00:00
Jakub Jelinek
8e746279f3 Fix two typos.
From-SVN: r59125
2002-11-15 11:30:53 +01:00
GCC Administrator
21ea7df56f Daily bump.
From-SVN: r59124
2002-11-15 08:17:15 +00:00
Paolo Carlini
74af99e5a2 re PR libstdc++/8399 (sync_with_stdio(false) breaks unformatted input)
2002-11-15  Paolo Carlini  <pcarlini@unitus.it>
	    Loren J. Rittle  <ljrittle@acm.org>

	PR libstdc++/8399
	* acinclude.m4
	(GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
	check for unistd.h functions.
	(GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
	in unistd.h.
	* configure.in: Call here.
	* src/ios.cc (ios_base::Init::_S_ios_create(bool)):
	Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
	input __in_size = 1 even when sync_with_stdio is false;
	otherwise fall back to __in_size = 1.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.

Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>

From-SVN: r59118
2002-11-15 08:06:35 +00:00
Kazu Hirata
90024bdce0 ChangeLog: Follow spelling conventions.
* ChangeLog: Follow spelling conventions.
	* class.c: Likewise.
	* decl2.c: Likewise.

From-SVN: r59117
2002-11-15 05:46:34 +00:00
Kazu Hirata
24985bebe5 * gthr-single.h: Fix formatting.
From-SVN: r59116
2002-11-15 04:53:19 +00:00
Nathanael Nerode
8b54424dae Closes PR ada/5856 and PR ada/6919 !
2002-11-14  Nathanael Nerode  <neroden@gcc.gnu.org>
	Closes PR ada/5856 and PR ada/6919 !
	* bindgen.adb: Remove all references to Public_Version.
	* comperr.adb: Remove all references to Public_Version and
	GNATPRO_Version; correct bug reporting instructions.
	* comperr.ads: Change to match bug box.
	* gnatvsn.ads: Remove all references to Public version and
	GNATPRO version.

From-SVN: r59115
2002-11-15 01:45:29 +00:00
Zack Weinberg
fa7b533b7b tree.c (tree_vec_elt_check_failed): New function.
* tree.c (tree_vec_elt_check_failed): New function.
        * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
        (TREE_VEC_ELT): Use it.

        * tree-inline.c (optimize_inline_calls): Don't copy a
        zero-length vector.
cp:
        * search.c (dfs_push_decls): Do not try to reorder elements
        3..n of method_vec if method_vec has only two elements.
        Reverse order of two tests to avoid accessing unallocated
        memory.

From-SVN: r59114
2002-11-14 21:58:38 +00:00
Gabriel Dos Reis
9fc910d1ea * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
From-SVN: r59113
2002-11-14 21:34:19 +00:00
Eric Blake
a902a2dee7 AppletContext.java: Fix typo and remove redundant modifiers.
2002-11-12  Eric Blake  <ebb9@email.byu.edu>

	* java/applet/AppletContext.java: Fix typo and remove redundant
	modifiers.

From-SVN: r59112
2002-11-14 20:35:27 +00:00
Bruce Korb
d3ac17c9c5 syntactic cleanup
From-SVN: r59111
2002-11-14 19:44:41 +00:00
Tom Tromey
06fa6442a3 natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.
* java/lang/natRuntime.cc (insertSystemProperties): Set
	gnu.classpath.home.

From-SVN: r59108
2002-11-14 18:28:07 +00:00
Gabriel Dos Reis
b54983130e MAINTAINERS: Remove from write-after-approval list.
* MAINTAINERS: Remove from write-after-approval list.  Uniformize
	emails.

From-SVN: r59107
2002-11-14 18:07:31 +00:00
Mark Mitchell
9567595065 class.c (dfs_find_final_overrider): Adjust so that the most derived object is a binfo, rather than a class type.
* class.c (dfs_find_final_overrider): Adjust so that the most
	derived object is a binfo, rather than a class type.
	(find_final_overrider): Likewise.
	(add_vcall_offset_vtbl_entries_1): Simplify accordingly.
	(add_vcall_offset): Likewise.

	* g++.dg/abi/vcall1.C: New test.

From-SVN: r59104
2002-11-14 16:59:23 +00:00
GCC Administrator
3dfce4e4fc Daily bump.
From-SVN: r59103
2002-11-14 08:17:18 +00:00
Jakub Jelinek
7eca317a0f varasm.c (output_addressed_constants): Clear reloc if both operands contain local relocations.
* varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
	both operands contain local relocations.
	(categorize_decl_for_section): Don't use mergeable sections if
	initializer has any relocations.

	* gcc.dg/20021029-1.c: New test.
	* gcc.dg/20021029-2.c: New test.

From-SVN: r59097
2002-11-14 08:56:54 +01:00
Kazu Hirata
57751dd6cb * gthr-vxworks.h: Fix formatting.
From-SVN: r59095
2002-11-14 05:42:37 +00:00
John David Anglin
1fccfa1e44 * g++.dg/abi/vague1.C (dg-final): Return if target is hppa*-*-hpux*.
From-SVN: r59094
2002-11-13 23:06:03 +00:00
Benjamin Kosnik
7c577c75ea acconfig.h (HAVE_DRAND48): Add.
2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>

	* acconfig.h (HAVE_DRAND48): Add.
	(HAVE_GETPAGESIZE): Add.
	(HAVE_SETENV): Add.
	(HAVE_SIGSETJMP): Add.
	* config.h.in: Regenerate.
	* configure: Regenerate.

From-SVN: r59093
2002-11-13 22:49:20 +00:00
John David Anglin
b6ef3ef68f os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define on hppa when there is no weak support.
* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
	on hppa when there is no weak support.

From-SVN: r59092
2002-11-13 22:36:39 +00:00
Benjamin Kosnik
48d1c3c568 re PR libstdc++/8230 (Buggy allocator behaviour)
2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/8230
	* include/bits/vector.tcc (vector::reserve): Throw length_error if
	requested size is bigger than max_size().
	* include/bits/stl_bvector.h (vector<bool>::reserve): Same.
	* testsuite/23_containers/vector_capacity.cc (test02): Add.

From-SVN: r59090
2002-11-13 22:15:17 +00:00
Nathanael Nerode
1a083c0e90 re PR ada/6919 (Ada patches applied to 3.1 branch only)
PR ada/6919
	* adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
	GNU/Linux.

From-SVN: r59089
2002-11-13 21:48:22 +00:00
Nathanael Nerode
cc41268d05 re PR ada/6558 (Wrongly reverted patches)
2002-11-13  Nathanael Nerode  <neroden@gcc.gnu.org>
	PR ada/6558
	* config-lang.in: Remove diff_excludes.

From-SVN: r59088
2002-11-13 21:19:51 +00:00
Janis Johnson
f702e70065 install.texi (Testing): Document extra Java testing.
2002-11-13  Janis Johnson  <janis187@us.ibm.com>

	* doc/install.texi (Testing): Document extra Java testing.
	* doc/sourcebuild.texi (Test Suites): Document libgcj testing.

From-SVN: r59085
2002-11-13 20:55:02 +00:00
John David Anglin
08ec53e798 pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the beginning of the spec.
* pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
	beginning of the spec.
	(LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
	(LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable.  Add comment
	regarding problems with global constructors when using GNU ld.

From-SVN: r59084
2002-11-13 20:38:13 +00:00
Michael Koch
61d318260a 2002-11-13 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBuffer.java
	(allocate): New method.
	(wrap): New method.
	(put): New method.
	(get): New method.

From-SVN: r59082
2002-11-13 18:43:20 +00:00
Benjamin Kosnik
4a1338ed66 linker-map.gnu: Export all _S_construct.
2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Export all _S_construct.

From-SVN: r59080
2002-11-13 18:27:37 +00:00
Stuart Hastings
cbf78ae4d1 * MAINTAINERS: Add myself to write-after-approval list.
From-SVN: r59079
2002-11-13 18:13:34 +00:00
Loren J. Rittle
2b298bb772 locale.cc (std::locale::classic()): Weaken locking protocol.
libstdc++/7445
	* src/locale.cc (std::locale::classic()): Weaken locking protocol.

From-SVN: r59078
2002-11-13 14:55:32 +00:00
Michael Koch
70c73a4d1d AlreadyConnectedException.java: Removed unneeded import.
2002-11-13  Michael Koch <konqueror@gmx.de>

	* java/nio/channels/AlreadyConnectedException.java:
	Removed unneeded import.
	(AlreadyConnectedException): Documentation added.
	* java/nio/channels/Pipe.java
	(SinkChannel.SinkChannel): Documentation added.
	(SinkChannel.validOps): New method.
	(SourceChannel.SourceChannel): Documentation added.
	(SourceChannel.validOps): New method.
	(Pipe): Documentation added.
	(open): Documentation added.
	(SinkChannel.channel): Documentation added.
	(SourceChannel.channel): Documentation added.
	* java/nio/channel/SelectableChannel.java
	(SelectableChannel): Documentation added.
	(blockingLock): Documentation added.
	(configureBlocking):Documentation added.
	(isBlocking):Documentation added.
	(isRegistered):Documentation added.
	(keyFor):Documentation added.
	(provider):Documentation added.
	(register): Documentation added.
	(validOps): Documentation added.
	* jaba/nio/channels/SelectionKey.java
	(SelectionKey): Documentation added.
	(attach): Documentation added.
	(attachment): Documentation added.
	(isAcceptable): Documentation added.
	(isConnetable): Documentation added.
	(isReadable): Documentation added.
	(isWritable): Documentation added.
	(cancel): Documentation added.
	(channel): Documentation added.
	(interestOps): Documentation added.
	(isValid): Documentation added.
	(readyOps): Documentation added.
	(selector): Documentation added.
	* jaba/nio/channels/Selector.java
	(Selector): Documentation added.
	(open): Documentation added.
	(close): Documentation added.
	(isOpen): Documentation added.
	(keys): Documentation added.
	(provider): Documentation added.
	(select): Documentation added.
	(selectedKeys): Documentation added.
	(selectNow): Documentation added.
	(wakeup): Documentation added.
	* java/nio/channels/spi/AbstractInterruptibleChannel.java
	(AbstractInterruptibleChannel): Documentation added.
	(opened): Default to true;
	(begin): Documentation added.
	(close): Set opened to false, documentation added.
	(isOpen): Documentation added.
	* java/nio/channels/spi/AbstractSelectionKey.java
	(AbstractSelectionKey): Documentation added.
	(cancel): Documentation added.
	(isValid): Documentation added.
	* java/nio/channels/spi/AbstractSelector.java
	(AbstractSelector): Documentation added.
	(begin): Documentation added.
	(close): Documentation added.
	(isOpen): Documentation added.
	(deregister): Documentation added.
	(end): Documentation added.
	(provider): Documentation added.
	(implCloseSelector): Documentation added.
	(register): Documentation added.
	* java/nio/channels/spi/SelectorProvider.java
	(SelectorProvider): Documentation added.
	(openDatagramChannel): Documentation added.
	(openPipe): Documentation added.
	(openSelector): Documentation added.
	(openServerSocketChannel): Documentation added.
	(openSocketChannel): Documentation added.
	(provider): Documentation added.

From-SVN: r59077
2002-11-13 13:52:47 +00:00
Kazu Hirata
e6179f4596 * gthr-solaris.h: Fix formatting.
From-SVN: r59076
2002-11-13 13:48:15 +00:00
Michael Koch
93f93f9f28 Buffer.java: Implemented.
2002-11-13  Michael Koch <konqueror@gmx.de>

	* java/nio/Buffer.java: Implemented.
	* java/nio/CharBuffer.java: New file.
	* java/nio/InvalidMarkException.java: New file.
	* java/nio/channels/DatagramChannel.java: Implemented.
	* java/nio/channels/ServerSocketChannel.java: Implemented.
	* java/nio/channels/SocketChannel.java: Implemented.
	* java/nio/channels/spi/AbstractChannel.java: Removed.
	* java/nio/channels/spi/AbstractSelectableChannel.java:
	Implemented.
	* java/nio/charset/Charset.java:
	Merge from Classpath.
	* java/nio/charset/CharsetDecoder.java: New file.
	* java/nio/charset/CharsetEncoder.java: New file.
	* java/nio/charset/CoderResult.java: New file.
	* Makefile.am (ordinary_java_source_files): Added new files.
	* Makefile.in: Regenerated.

From-SVN: r59075
2002-11-13 12:21:26 +00:00
GCC Administrator
7b53becc10 Daily bump.
From-SVN: r59071
2002-11-13 08:17:23 +00:00
Kazu Hirata
fe83a9ce5a * gthr-posix.h: Fix formatting.
From-SVN: r59064
2002-11-13 05:09:51 +00:00
Kazu Hirata
eed13f9bdf * config/h8300/h8300.md (*andorsi3): New.
From-SVN: r59063
2002-11-13 01:11:58 +00:00
Jonathan Wakely
fcff7028dc install.html, [...]: HTML fix.
2002-11-13  Jonathan Wakely  <redi@gcc.gnu.org>

	* docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.

From-SVN: r59062
2002-11-13 01:04:03 +00:00
Franz Sirl
e8a7b0c264 install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.

From-SVN: r59059
2002-11-12 21:16:22 +00:00
Kazu Hirata
94aec8dd49 h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately.
* config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
	expressions appropriately.

From-SVN: r59057
2002-11-12 18:53:39 +00:00
Eric Botcazou
110c25efd7 re PR c/8439 (empty struct causes crash)
PR c/8439
	* gcc.dg/20021110.c: Move to ...
	* gcc.c-torture/compile/20021110.c: .... here.

From-SVN: r59054
2002-11-12 16:27:36 +00:00
Kazu Hirata
fc98f5cbf4 * gthr-win32.h: Fix formatting.
From-SVN: r59051
2002-11-12 14:22:43 +00:00
Kazu Hirata
e27051f71b 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
2002-11-12 14:01:33 +00:00
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