Commit Graph

44999 Commits

Author SHA1 Message Date
Michael Koch
b7caf8dd94 2002-09-11 Michael Koch <konqueror@gmx.de>
* java/net/Socket.java
	(Socket): protected to public (since JDK 1.4). Added @specnote.
	(bind): New method.
	(connect): Two new methods.
	(getKeepalive): Get correct socket option.
	(setKeepalive): Set correct socket option.
	(getOOBInline): New method.
	(setOOBInline): New method.
	* java/net/ServerSocket.java
	(bind): Two new methods.
	(getInetAddress): Reimplemented, catch exception.
	(getLocalSocketAddress): New method.
	(setReuseAddress): New method.
	(getReuseAdress): New method.
	(setReceiveBufferSize): New method.
	(getReceiveBufferSize): New method.
	(toString): Made string JDK 1.4 compliant.

From-SVN: r57032
2002-09-11 10:16:00 +00:00
GCC Administrator
35bb45c65b Daily bump.
From-SVN: r57028
2002-09-11 07:17:13 +00:00
Matthias Klose
0fc76fb5ee Makefile.am: Revert the previous patch.
2002-09-11  Matthias Klose  <doko@debian.org>

        * Makefile.am: Revert the previous patch.
        * Makefile.in: Regenerated.

From-SVN: r57022
2002-09-11 05:49:48 +00:00
Benjamin Kosnik
145163253a [multiple changes]
2002-09-11  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc (__convert_from_v): Remove.
	* config/locale/gnu/c_locale.h (__convert_from_v): Add.
	* config/locale/generic/c_locale.h (__convert_from_v): Add.

2002-09-11  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (__convert_from_v):
        Use __uselocale instead of setlocale for glibc 2.3+.

From-SVN: r57021
2002-09-11 04:25:41 +00:00
Benjamin Kosnik
38cca75024 Makefile.am (sources): Edit.
2002-09-10  Benjamin Kosnik  <bkoz@redhat.com>

	* src/Makefile.am (sources): Edit.
	(target_sources): New.
	(target_sources_extra): New.
	* src/Makefile.in: Regenerate.
	* acinclude.m4: Set CCODECVT_CC.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/locale.cc: Move ctype definitions...
	* src/ctype.cc: ...here. New file.
	* src/locale.cc: Move codecvt definitions...
	* src/codecvt.cc: ...here.
	* config/generic/codecvt_members.cc: ...and here.
	* config/gnu/codecvt_members.cc: ...and here.
	* include/bits/codecvt.h: Tweak.
	* include/bits/locale_facets: Tweak.

	* src/bitset.cc: Correct license text.
	* src/concept-inst.cc: Same.
	* src/strstream.cc: Same.
	* src/vterminate.cc: Same.

From-SVN: r57020
2002-09-11 03:36:45 +00:00
John David Anglin
77de9af251 pa.md (extzv): Check predicates before emitting extzv_32.
* pa.md (extzv): Check predicates before emitting extzv_32.
	(insv): Likewise.

From-SVN: r57018
2002-09-11 02:45:09 +00:00
Gabriel Dos Reis
be26865df1 stl_vector.h (vector<>): Don't use a name with different meanings before and after re-evaluation in the...
2002-09-10  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>

	* include/bits/stl_vector.h (vector<>): Don't use a name with
	different meanings before and after re-evaluation in the completed
	scope.
	* include/bits/basic_string.h (basic_string<>): Likewise.
	* include/bits/stl_bvector.h (vector<bool>): Likewise.
	* include/bits/stl_deque.h (std): Likewise.
	* include/bits/stl_list.h (list<>): Likewise.
	* include/bits/stl_tree.h (_Rb_tree<>): Likewise.

From-SVN: r57014
2002-09-10 23:19:10 +00:00
Matthias Klose
42ac7b6d2f fastjar.texi: New.
2002-09-10  Matthias Klose  <doko@debian.org>

        * fastjar.texi: New.
        * Makefile.am: Support building info docs and manpages.
        * Makefile.in: Regenerated.
        * configure.in: Set gcc_version.
        * configure: Regenerated.
        * jargrep.c: Update usage and help strings.

From-SVN: r57013
2002-09-10 22:09:53 +00:00
John David Anglin
d27442c936 struct-ret-1.c: Add prototype for exit function and correct usage.
* gcc.dg/struct-ret-1.c: Add prototype for exit function and correct
	usage.

From-SVN: r57012
2002-09-10 21:06:59 +00:00
Paolo Carlini
c6b5df5351 codecvt.h (class __codecvt_abstract_base): Add __c_locale type _M_c_locale_codecvt member.
2002-09-10  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/codecvt.h (class __codecvt_abstract_base):
	Add __c_locale type _M_c_locale_codecvt member.
	(class codecvt<char, char, mbstate_t>,
	class codecvt<wchar_t, char, mbstate_t>): Add new
	codecvt(__c_locale, size_t) constructor.
	(codecvt_byname::codecvt_byname): Update.
	* src/codecvt.cc (class codecvt<char, char, mbstate_t>,
	class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
	constructor and ~codecvt() destructor; define
	codecvt(__c_locale, size_t) constructor.
	(codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
	(codecvt::do_in): Ditto for mbsrtowcs call.
	* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
	Tweak construction of codecvt facets.

From-SVN: r57011
2002-09-10 19:35:04 +00:00
Ulrich Weigand
33b679d10a s390.h (MOVE_MAX): Define to correct value.
* config/s390/s390.h (MOVE_MAX): Define to correct value.
	(MAX_MOVE_MAX): Define.
	(MOVE_BY_PIECES_P): Define.
	(CLEAR_BY_PIECES_P): Define.

From-SVN: r57010
2002-09-10 18:46:06 +00:00
Michael Koch
a886956a40 2002-09-10 Michael Koch <konqueror@gmx.de>
* java/net/SocketImpl.java
	(connect): New method.
	(supportsUrgentData): New method.
	(sendUrgentData): New method.
	* java/net/PlainSocketImpl.java
	(connect): One new method and two new implementation.
	(sendUrgentData): New method.
	* java/natPlainSocketImpl.cc
	(connect): Arguments changed, added support for timeouts.
	(getOption): Another __java_boolean to jboolean.

From-SVN: r57009
2002-09-10 18:02:02 +00:00
Denis Chertykov
bfae804050 * config/avr/avr.md (movstrhi): Use right operands for conversion.
From-SVN: r57008
2002-09-10 19:53:14 +04:00
Richard Earnshaw
0c11ae2229 * gcc.c-torture/compile/20020910-1.c: New test.
From-SVN: r57007
2002-09-10 15:44:05 +00:00
Richard Earnshaw
7730c3ff8c re PR c/7873 (arm-linux-gcc fails when assigning address to a bit field)
PR c/7873
* arm.md (insv): Use reg_or_int_operand for operand[3].

From-SVN: r57006
2002-09-10 15:39:44 +00:00
David Edelsohn
5add320208 rs6000.c (rs6000_assemble_visibility): Protect declaration inside macro.
* rs6000.c (rs6000_assemble_visibility): Protect declaration
        inside macro.  Correct function definition typo.
        (rs6000_xcoff_section_type_flags): New function.
        (TARGET_SECTION_TYPE_FLAGS): Remove definition.
        (rs6000_elf_section_type_flags): Call default_section_type_flags_1
        with appropriate PIC test.
        (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
        determine readonly.
        (rs6000_binds_local_p): Combine PIC flags.
        * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
        * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.

From-SVN: r57005
2002-09-10 08:39:20 -04:00
Andreas Jaeger
65a8189ea7 Fix entry.
From-SVN: r57004
2002-09-10 14:26:40 +02:00
Frank Ch. Eigler
e5a3b7bde1 20010915-1.c: Correct typo in abort call.
2002-09-10  Frank Ch. Eigler  <fche@redhat.com>

	* gcc.c-torture/execute/20010915-1.c: Correct typo in abort call.

From-SVN: r57003
2002-09-10 12:22:02 +00:00
Frank Ch. Eigler
0f37c5c023 * approved by rth
2002-09-10  Frank Ch. Eigler  <fche@redhat.com>

	* gcc.c-torture/execute/20010915-1.c: Correct typo in abort call.

From-SVN: r57002
2002-09-10 12:21:34 +00:00
Jan Hubicka
edf4d41e24 nil_method.c (nil_method): No longer varardic.
2002-09-10  Jan Hubicka  <jh@suse.cz>

	* nil_method.c (nil_method): No longer varardic.

From-SVN: r57001
2002-09-10 14:14:38 +02:00
GCC Administrator
908d0841de Daily bump.
From-SVN: r57000
2002-09-10 07:17:15 +00:00
GCC Administrator
415164c368 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56999.3
2002-09-10 07:17:14 +00:00
Per Bothner
9038942205 print-tree.c (print_node): In a STRING_CST...
* print-tree.c (print_node):  In a STRING_CST, escape non-ascii
	characters, and only print TREE_STRING_LENGTH chars.

From-SVN: r56994
2002-09-10 00:02:28 -07:00
Andreas Jaeger
278bba8be6 * gcc.dg/20020312-2.c: Adjust for x86-64.
From-SVN: r56993
2002-09-10 08:10:24 +02:00
Danny Smith
57c4e0cd35 locale_facets.tcc (__convert_from_v): Replace strdup with ISO malloc and strcpy.
* include/bits/locale_facets.tcc (__convert_from_v):
	Replace strdup with ISO malloc and strcpy.

From-SVN: r56991
2002-09-10 02:41:55 +00:00
Steve Ellcey
686f3bf031 hpux.h (TARGET_HPUX_LD): New, define true.
* config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
	(ASM_FILE_END) New.
	* config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
	* config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
	* config/ia64/ia64.c (ia64_asm_output_external): Create list
	of external functions if TARGET_HPUX_LD is true.
	(ia64_hpux_add_extern_decl): New, routine to put names on
	list of external functions.
	(ia64_hpux_asm_file_end): Put out declarations for external
	functions if and only if they are used.

From-SVN: r56986
2002-09-09 22:03:31 +00:00
John David Anglin
0c263f4ed2 pa.md (exception_receiver, [...]): Add blockage on TARGET_64BIT before pic register restore.
* pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
	on TARGET_64BIT before pic register restore.

From-SVN: r56985
2002-09-09 21:34:48 +00:00
Tom Tromey
9251acb480 jartool.c (mkdir): Define.
* jartool.c (mkdir): Define.
	* config.h.in: Rebuilt.
	* aclocal.m4, configure: Rebuilt.
	* acinclude.m4: New file.  Copied gcc_AC_COMPILE_CHECK_SIZEOF,
	gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
	aclocal.m4.

From-SVN: r56983
2002-09-09 21:19:16 +00:00
Tim Josling
e5bc58d3d0 Fix for recent treelang build failure due to changes to C.
From-SVN: r56981
2002-09-09 20:52:30 +00:00
Gerald Pfeifer
51ab55d40d re PR web/7596 (Broken links on g77 web page)
Fix PR web/7596:
	* ffe.texi (Front End): Fix broken links.
	* bugs.texi (Known Bugs): Refer to gcc.gnu.org instead of
	www.gnu.org for onlinedocs.
	* news.texi (News): Ditto.

From-SVN: r56980
2002-09-09 20:37:09 +00:00
Benjamin Kosnik
f7be254940 configopts.html: Change grouping.
2002-09-09  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/configopts.html: Change grouping. Note ABI impacts.
	Update information for locale model defaults.
	* docs/html/install.html: Update include directory
	information.
	Update testing information.
	Update linux issues for named locales.
	* docs/html/abi.txt: Fix typos.
	Add more info.

	* src/misc-inst.cc: Add missing instantiations.

	* testsuite/abi_check.cc: Make output results more verbose.

	* config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.

From-SVN: r56979
2002-09-09 20:26:42 +00:00
David Edelsohn
e2a6476ec7 tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
* doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
        (TARGET_HAVE_TLS): New description.

From-SVN: r56978
2002-09-09 16:04:32 -04:00
Janis Johnson
b73b1546e6 extend.texi (Statement Exprs): Fix broken link.
2002-09-09  Janis Johnson  <janis187@us.ibm.com>

	* doc/extend.texi (Statement Exprs): Fix broken link.

From-SVN: r56976
2002-09-09 18:26:40 +00:00
Denis Chertykov
a973864338 avr.md (movstrhi, clrstrhi): Use gen_int_mode for right conversion of operands[1].
* config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
	right conversion of operands[1].

From-SVN: r56975
2002-09-09 22:20:45 +04:00
Ulrich Weigand
05b9aaaa89 s390.md ("*tmdi_reg", [...]): Do not mark as commutative.
* config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
	commutative.  Use "nonimmediate_operand" instead of "register_operand"
	as predicate for operand 0.  Move to after the "*tmXX_mem" insns.

	("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
	as commutative.

	("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
	mark as commutative.  Use "nonimmediate_operand" instead of
	"register_operand" as predicate for operand 1.

	("movstrictsi"): Fix typo in insn name.

From-SVN: r56974
2002-09-09 18:02:01 +00:00
Ranjit Mathew
f724acb8aa parse.y (DIR_SEPARATOR): Don't define.
2002-09-09  Ranjit Mathew  <rmathew@hotmail.com>

	* parse.y (DIR_SEPARATOR): Don't define.
	(check_class_interface_creation): Use IS_DIR_SEPARATOR.

From-SVN: r56973
2002-09-09 17:56:37 +00:00
Jan Hubicka
7ec70495ea i386.c (index_register_operand): New.
2002-09-09  Jan Hubicka  <jh@suse.cz>

	* i386.c (index_register_operand): New.
	* i386.h (predicate_codes): Add new predicate.
	* i386.md (lea_general_*): Use index_regsiter_operand
	(ashift to lea splitter): Do not produce invalid leas
	(ashift to mov+ashift split): New.

From-SVN: r56970
2002-09-09 13:00:55 +02:00
Nick Clifton
b2fc915b74 (output.h): Move after inclusion of tree.h. Fix folding marks.
From-SVN: r56969
2002-09-09 10:58:52 +00:00
Toshiyasu Morita
0b0ad147f5 sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
            J"orn Rennecke <joern.rennecke@superh.com>

	* sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.

Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>

From-SVN: r56968
2002-09-09 09:10:46 +01:00
GCC Administrator
628c57653c Daily bump.
From-SVN: r56967
2002-09-09 07:17:10 +00:00
GCC Administrator
4625d672ed Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56966.3
2002-09-09 07:17:09 +00:00
Alan Modra
2bcc50d0ea rs6000.c (rs6000_binds_local_p): Return bool.
* config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
	(function_ok_for_sibcall): Use binds_local_p.  Respect longcall
	attributes.

From-SVN: r56961
2002-09-09 11:55:42 +09:30
Kaveh R. Ghazi
2515a7ea11 * cp-tree.h (require_complete_eh_spec_types): Add prototype.
From-SVN: r56960
2002-09-09 01:53:23 +00:00
Kaveh R. Ghazi
c1b4f089aa * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
From-SVN: r56959
2002-09-09 01:51:45 +00:00
Richard Henderson
b920346356 dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
* dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
        (DW_OP_GNU_push_tls_address): New.
        (DW_OP_lo_user): Fix.
        * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
        (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
        (size_of_loc_descr): Likewise.
        (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
        (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
        (loc_descriptor_from_tree): Handle TLS variables.
        (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
        (add_location_or_const_value_attribute): ... not here.  Defer
        to loc_descriptor_from_tree for TLS variables.

        * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
        * config/i386/i386.c (i386_output_dwarf_dtprel): New.
        * config/i386/i386-protos.h: Update.

From-SVN: r56957
2002-09-08 11:36:54 -07:00
Roger Sayle
7df988780b re PR rtl-optimization/6405 (Loop-unrolling related performance regressions)
PR optimization/6405
	* unroll.c (loop_iterations): last_loop_insn should be the previous
	non-note instruction before loop->end.
	* loop.c (strength_reduce): The conditional jump is the last
	non-note instruction before loop->end (as above).

From-SVN: r56956
2002-09-08 18:32:31 +00:00
Roger Sayle
f40f4c8ed1 combine.c (try_combine): Handle the case that undobuf.other_insn has been turned into a return or...
* combine.c (try_combine): Handle the case that undobuf.other_insn
	has been turned into a return or unconditional jump, by inserting
	a BARRIER if necessary.
	(simplify_set):  Test if a condition code setter has a constant
	comparison at compile time, if so convert this insn to a no-op move
	and update/simplify the condition code user (undobuf.other_insn).

From-SVN: r56955
2002-09-08 18:07:54 +00:00
Krister Walfridsson
e2f97e264e netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
* config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
	(CLEAR_INSN_CACHE): Define.

From-SVN: r56954
2002-09-08 16:06:18 +00:00
Toon Moene
f69257d6af re PR fortran/7388 (Incorrect output with 0 based array of characters.)
2002-09-08  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.dg/7388.f: New test case for PR 7388.

From-SVN: r56953
2002-09-08 13:03:43 +00:00
Kazu Hirata
4b7e68e7d2 basic-block.h: Fix comment formatting.
* basic-block.h: Fix comment formatting.
	* c-common.c: Likewise.
	* c-common.h: Likewise.
	* c-lex.c: Likewise.
	* c-pretty-print.c: Likewise.
	* cfglayout.c: Likewise.
	* cfgloop.c: Likewise.
	* defaults.h: Likewise.
	* et-forest.c: Likewise.
	* explow.c: Likewise.
	* function.h: Likewise.
	* gcov.c: Likewise.
	* genattrtab.c: Likewise.
	* gengtype.c: Likewise.
	* ifcvt.c: Likewise.
	* libgcc2.c: Likewise.
	* loop.c: Likewise.
	* profile.c: Likewise.
	* ra-build.c: Likewise.
	* real.c: Likewise.
	* rtl.h: Likewise.
	* tracer.c: Likewise.
	* tree-inline.c: Likewise.
	* varasm.c: Likewise.

From-SVN: r56952
2002-09-08 12:47:27 +00:00