Commit Graph

46124 Commits

Author SHA1 Message Date
Mark Wielaard
b9ad851eef HttpURLConnection.java ((getPermission): Take port into consideration.
* java/net/HttpURLConnection.java ((getPermission): Take port
        into consideration.
        (getErrorStream): Implement.

From-SVN: r59196
2002-11-17 16:16:52 +00:00
Mark Wielaard
e0c34466ec * java/net/HttpURLConnection.java: Merge with GNU Classpath.
From-SVN: r59195
2002-11-17 15:47:27 +00:00
Kazu Hirata
5ab2f7b747 * builtins.c: Fix formatting.
From-SVN: r59194
2002-11-17 14:47:07 +00:00
GCC Administrator
7b8dbd5041 Daily bump.
From-SVN: r59191
2002-11-17 08:18:17 +00:00
Jakub Jelinek
bd3175a2cc linker-map.gnu: Export _S_construct even if size_t is unsigned long.
* config/linker-map.gnu: Export _S_construct even if size_t is
	unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
	and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.

From-SVN: r59182
2002-11-17 06:08:23 +01:00
Kazu Hirata
0d964e40c8 * config/h8300/h8300.md (two anonymous patterns): Fix typos.
From-SVN: r59181
2002-11-17 03:30:25 +00:00
Kazu Hirata
6d55e887d0 * config/h8300/h8300.md: Fix formatting.
From-SVN: r59180
2002-11-17 03:18:12 +00:00
Mark Wielaard
b0fc58713d Integrate work by Raif S.
Integrate work by Raif S. Naffah (raif@fl.net.au)
	* java/security/DummyKeyPairGenerator.java (clone): New method.
	* java/security/DummyMessageDigest.java (clone): New method.
	(engineUpdate): Now public.
	(engineReset): Likewise.
	(engineDigest): Likewise.
	(engineGetDigestLength): New method.
	* java/security/DummySignature.java (clone): New method.
	* java/security/KeyPairGenerator.java (provider): Now package private.
	(getInstance(String)): Use getInstance(String,Provider).
	(getInstance(String,String): Use getInstance(String,Provider)
	(getInstance(String,Provider): New method.
	(getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
	* java/security/KeyPairGeneratorSpi.java (clone): New method.
	* java/security/MessageDigest.java (provider): Now package private.
	(getInstance(String): Use getInstance(String,Provider).
	(getInstance(String,String): Use getInstance(String,Provider)
	(getInstance(String,Provider): New method.
	* java/security/Provider.java (toCanonicalKey): New method.
	(get): New method that uses toCanonicalKey().
	(put): Use toCanonicalKey().
	(remove): Likewise.
	* java/security/Security.java (insertProviderAt): Provider index is one
	based, not zero based.
	(addProvider): Likewise.
	(removeProvider): Likewise.
	* java/security/Signature.java (provider): Now package private.
	(getInstance(String)): Use getInstance(String,Provider).
	(getInstance(String,String): Use getInstance(String,Provider)
	(getInstance(String,Provider): New method.
	(getInstance(String,String,Provider): Don't cast DummySignature.

From-SVN: r59179
2002-11-17 00:10:24 +00:00
Jakub Jelinek
aaefd21647 * gcc.dg/20021116-1.c: New test.
From-SVN: r59178
2002-11-16 21:04:40 +01:00
Kazu Hirata
4d5ad877f5 h8300.md: Replace spaces with tabs.
* config/h8300/h8300.md: Replace spaces with tabs.
	* config/h8300/t-h8300: Remove a trailing empty line.

From-SVN: r59177
2002-11-16 19:49:56 +00:00
Kazu Hirata
17fa74a256 * tlink.c: Fix formatting.
From-SVN: r59176
2002-11-16 18:33:29 +00:00
David Edelsohn
68a7da974b add PR 8362 note.
From-SVN: r59175
2002-11-16 13:04:24 -05:00
David Edelsohn
9caa3eb2db rs6000.c (rs6000_outout_load_multiple): New function.
* config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
        * config/rs6000/rs6000.md (movti_string): Remove output modifier
        when scratch register never needed.
        (ldmsi[3-8]): New patterns.

From-SVN: r59174
2002-11-16 13:01:51 -05:00
Kazu Hirata
476c5eb60e hard-reg-set.h: Follow spelling conventions.
* hard-reg-set.h: Follow spelling conventions.
	* real.c: Likewise.
	* target.h: Likewise.

From-SVN: r59173
2002-11-16 17:52:53 +00:00
Benjamin Kosnik
af5fb6ab3b re PR libstdc++/8230 (Buggy allocator behaviour)
2002-11-15  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@integrable-solutions.net>

	PR libstdc++/8230
	* include/bits/stl_alloc.h: Use builtin_expect for the most
	obvious limit checks.
	(__default_alloc_template::allocate): Check for null, throw
	bad_alloc.
	* include/bits/vector.tcc: Formatting tweaks.
	* include/bits/stl_vector.h: Same.
	* testsuite/20_util/allocator_members.cc (test02): Add.
	* testsuite/23_containers/vector_capacity.cc (test03): Add.

Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net>

From-SVN: r59169
2002-11-16 17:16:31 +00:00
Jakub Jelinek
5dab517fa0 * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
From-SVN: r59162
2002-11-16 14:33:38 +01:00
Jakub Jelinek
783080abfd md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be used with arguments in...
* md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
	used with arguments in traditional C' warnings.

From-SVN: r59158
2002-11-16 13:38:43 +01:00
GCC Administrator
952d707302 Daily bump.
From-SVN: r59157
2002-11-16 08:18:01 +00:00
Kazu Hirata
7e1a450d21 * optabs.c: Fix formatting.
From-SVN: r59151
2002-11-16 06:08:16 +00:00
Jan Hubicka
1b245ade01 athlon.md, [...]: Handle shift1, rotate1
* athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
	* i386.md (attribute type): Add type shift1 and rotate1.
	(*_slp): Rewrite to have just two operands to avoid reload problems.

From-SVN: r59147
2002-11-16 01:09:19 +00:00
Tom Tromey
401d536248 For PR libgcj/8593:
* java/util/zip/GZIPInputStream.java (read): Check file size.
	Look in inflater for remaining input bytes.
	(read4): Added buf and offset arguments.

From-SVN: r59145
2002-11-16 00:41:32 +00:00
Kazu Hirata
6368a49321 * config/h8300/h8300.md (4 anonymous patterns): New.
From-SVN: r59144
2002-11-15 22:16:09 +00:00
Geoffrey Keating
737c38d12a params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
* params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
	* doc/invoke.texi: Correct description of what needs to be done to
	force collection at every ggc_collect call.

From-SVN: r59143
2002-11-15 21:27:48 +00:00
Rainer Orth
423b950b13 * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
From-SVN: r59141
2002-11-15 19:12:31 +00:00
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