Commit Graph

45041 Commits

Author SHA1 Message Date
Michael Koch
69aeba4ed0 DatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line.
2002-09-13  Michael Koch  <konqueror@gmx.de>

	* java/net/DatagramPacket.java (DatagramPacket):
	Added linebreak for 80 chars per line.
	* java/net/JarURLConection.java
	(getInputStream, getJarEntry): Likewise.
	* java/net/SocketPermission.java
	(SocketPermission class docu, implies): Likewise.
	* java/net/URLClassLoader.java (findResources): Likewise.
	* java/net/URLConnection.java: Reindendet remark for 80 chars per line

From-SVN: r57105
2002-09-13 11:39:47 +00:00
Kazu Hirata
a1c65f9f4f decl.c: Fix comment formatting.
* decl.c: Fix comment formatting.
	* decl2.c: Likewise.

From-SVN: r57104
2002-09-13 11:33:47 +00:00
Hartmut Penner
4456530dac * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New insns.
From-SVN: r57102
2002-09-13 09:46:57 +00:00
Michael Koch
8764acde96 DatagramChannel.java, [...]: New dummy files to make java.net fully JDK 1.4 compatible
2002-09-13  Michael Koch  <konqueror@gmx.de>

	* java/nio/channels/DatagramChannel.java,
	java/nio/channels/ServerSocketChannel.java
	java/nio/channels/SocketChannel.java:
	New dummy files to make java.net fully JDK 1.4 compatible
	* Makefile.am (ordinary_java_source_files): Added
	java/net/DatagramSocketImplFactory.java (long forgotten),
	java/nio/SocketChannel.java,
	java/nio/ServerSocketChannel.java,
	java/nio/DatagramChannel.java
	* Makefile.in: Regenrated.

From-SVN: r57101
2002-09-13 09:02:23 +00:00
GCC Administrator
a1edfd70e8 Daily bump.
From-SVN: r57099
2002-09-13 07:17:10 +00:00
GCC Administrator
087f5e5a79 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r57098.3
2002-09-13 07:17:09 +00:00
Richard Henderson
4d2d910c10 Makefile.in (HOST_PRINT): Use print-rtl1.o
* Makefile.in (HOST_PRINT): Use print-rtl1.o
        (print-rtl.o): Don't define GENERATOR_FILE.
        (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
        * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
        unless GENERATOR_FILE.

From-SVN: r57092
2002-09-12 23:28:21 -07:00
Stan Shebs
6ab9a3f4a8 darwin.h (USER_LABEL_PREFIX): Define here...
* config/darwin.h (USER_LABEL_PREFIX): Define here...
        * config/i386/darwin.h: ... instead of here.

From-SVN: r57090
2002-09-13 04:00:56 +00:00
Stan Shebs
7606e68f7b target.h (struct gcc_target): New field terminate_dw2_eh_frame_info.
* target.h (struct gcc_target): New field
        terminate_dw2_eh_frame_info.
        * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
        (TARGET_INITIALIZER): Add it.
        * dwarf2out.c (output_call_frame_info): Use target hook.
        * dwarf2asm.c (dw2_asm_output_delta): Use macro
        ASM_OUTPUT_DWARF_DELTA if defined.
        * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
        (ASM_OUTPUT_DWARF_DELTA): Ditto.
        (ASM_OUTPUT_DWARF_OFFSET): Ditto.
        (ASM_OUTPUT_DWARF_PCREL): Ditto.
        * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
        (powerpc-*-darwin*): Ditto.
        * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
        to work correctly for Darwin.
        * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
        (STARTFILE_SPEC): Add crtbegin.o.
        (ENDFILE_SPEC): Define.
        (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
        (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
        (ASM_OUTPUT_DWARF_DELTA): Define.
        (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
        * config/darwin.c (darwin_asm_output_dwarf_delta): New function.

From-SVN: r57089
2002-09-13 03:44:54 +00:00
Alan Modra
20b71b177f rs6000.c (rs6000_emit_load_toc_table): Remove "if" nesting.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
	nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
	* config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.

From-SVN: r57086
2002-09-13 11:10:44 +09:30
Kazu Hirata
00a17e31a6 call.c: Fix comment formatting.
* call.c: Fix comment formatting.
	* class.c: Likewise.
	* cp-lang.c: Likewise.
	* cp-tree.h: Likewise.
	* cvt.c: Likewise.

From-SVN: r57083
2002-09-13 00:22:59 +00:00
Benjamin Kosnik
714e9334c4 Makefile.am (LIBTOOL): Use --tag CC always for this directory.
2002-09-12  Benjamin Kosnik  <bkoz@redhat.com>

	* libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
	directory.
	* libmath/Makefile.in: Regenerate.
	* src/Makefile.am: Tweak comment.
	* src/Makefile.in: Regenerate.

	* config/locale/gnu/c_locale.h: Remove warnings.
	Inject __uselocale into __gnu_cxx.
	* config/locale/generic/c_locale.h: Match.

From-SVN: r57082
2002-09-12 23:27:30 +00:00
Zack Weinberg
d48fd218f9 toplev.c: Move default definition of USER_LABEL_PREFIX...
* toplev.c: Move default definition of USER_LABEL_PREFIX...
	* defaults.h: ... here.

From-SVN: r57081
2002-09-12 22:34:08 +00:00
Richard Henderson
92bc3c1a9a * vax.c: Include tree.h earlier.
From-SVN: r57080
2002-09-12 14:05:13 -07:00
Stan Shebs
3f64e54373 darwin.c (machopic_finish): Remove #if 0 chunks.
* config/darwin.c (machopic_finish): Remove #if 0 chunks.
        (machopic_operand_p): Ditto.

From-SVN: r57079
2002-09-12 19:46:34 +00:00
Kazu Hirata
52bd31bbf7 arm.c (arm_compute_initial_elimination_offset): Fix a comment typo.
* config/arm/arm.c (arm_compute_initial_elimination_offset):
	Fix a comment typo.

From-SVN: r57078
2002-09-12 18:25:28 +00:00
Kazu Hirata
387c92949f * toplev.c (do_abort): Fix a comment typo.
From-SVN: r57077
2002-09-12 18:06:31 +00:00
Kazu Hirata
e34bb0042e cselib.c: Fix comment formatting.
* cselib.c: Fix comment formatting.
	* gengtype.c: Likewise.

From-SVN: r57076
2002-09-12 17:31:41 +00:00
Nicola Pero
c2a68741db Small cleanups of nil_method in sendmsg.c
From-SVN: r57075
2002-09-12 17:30:45 +00:00
Nicola Pero
faaa30fe92 Tidied up the declaration and usage of nil_method
From-SVN: r57074
2002-09-12 17:29:58 +00:00
Nicola Pero
d90ad6d3ca Added long comments on why nil_method takes the arguments it takes and how
it's going to be used

From-SVN: r57073
2002-09-12 17:29:26 +00:00
Nicola Pero
4c341bf5b7 Added comments to the definition of IMP
From-SVN: r57072
2002-09-12 17:28:47 +00:00
Kazu Hirata
d0029ebd92 h8300.md (udivmodqi4): Do not use an expander.
* config/h8300/h8300.md (udivmodqi4): Do not use an expander.
	(udivmodhi4): Likewise.

From-SVN: r57071
2002-09-12 17:15:30 +00:00
Graham Stott
c3c637e36e i386.c (any_fp_register_operand, [...]): New predicate functions.
2002-09-12  Graham Stott  <graham.stott@btinternet.com>
            Roger Sayle  <roger@eyesopen.com>

	* i386.c (any_fp_register_operand, fp_register_operand,
	register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
	New predicate functions.
	* i386-protos.h:  Add their prototypes.
	* i386.h: Add them to PREDICATE_CODES.
	* i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
	"*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
	"*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
	"*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
	"*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
	"*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
	"*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
	"*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
	"*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
	"*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
	"*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
	Use these new predicates to simplify and correct the use of
	FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.

Co-Authored-By: Roger Sayle <roger@eyesopen.com>

From-SVN: r57068
2002-09-12 16:33:37 +00:00
Jason Merrill
236a2ac8cc diagnostic.c (output_add_identifier): New fn.
* diagnostic.c (output_add_identifier): New fn.
        * diagnostic.h: Declare it.

From-SVN: r57066
2002-09-12 10:23:42 -04:00
Jason Merrill
db4c55f693 calls.c (store_one_arg): Use size_in_bytes to determine the amount of space to push.
* calls.c (store_one_arg): Use size_in_bytes to determine the
        amount of space to push.

From-SVN: r57064
2002-09-12 10:00:21 -04:00
Jakub Jelinek
13c0bc2061 * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
From-SVN: r57061
2002-09-12 15:40:01 +02:00
Ulrich Weigand
0a3bdf9da7 s390-modes.def (CCAPmode, CCANmode): New CC modes.
* config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
	* config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
	(s390_select_ccmode): Likewise.
	(s390_branch_condition_mask): Likewise.
	(optimization_options): Do not set flag_branch_on_count.
	(s390_split_branches): Handle doloop branches.
	(s390_chunkify_pool): Likewise.
	* config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
	("doloop_end"): New expander.
	("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
	associated splitters): New.

From-SVN: r57060
2002-09-12 12:37:17 +00:00
GCC Administrator
81ea34e1c1 Daily bump.
From-SVN: r57056
2002-09-12 07:17:11 +00:00
Hartmut Penner
4f968d9388 fold-const.c (make_range): Only narrow to signed range if the signed range is smaller than the unsigned range.
* fold-const.c (make_range): Only narrow to signed range if
        the signed range is smaller than the unsigned range.

	* gcc.c-torture/execute/20020911-1.c: New.

From-SVN: r57050
2002-09-11 23:49:26 -07:00
Michael Koch
d0c97db6b3 2002-09-12 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocketImpl.jav
	(peekData): New method.
	* java/net/PlainDatagramSocketImpl.java
	(peekData): New method.
	* java/net/natPlainDatagramSocketImpl.cc
	(peekData): New method.
	* java/net/URLConnection
	(getPermission): New method.
	(addRequestProperty): New method.
	(getRequestProperties): New method.
	(guessContentTypeFromStream): New method, not really implemented.
	(URLConnection): Added/updated documentation.
	(connect): Added/updated documentation.
	(getURL): Added/updated documentation.
	(getContentLength): Added/updated documentation.
	(getContentType: Added/updated documentation.
	(getContentEncoding): Added/updated documentation.
	(getExpiration): Added/updated documentation.
	(getDate): Added/updated documentation.
	(getLastModified): Added/updated documentation.
	(getHeaderField): Added/updated documentation.
	(getHeaderFields): Added/updated documentation.
	(getHeaderFieldInt): Added/updated documentation.
	(getHeaderFieldDate): Added/updated documentation.
	(getHeaderFieldKey): Added/updated documentation.
	(getContent): Added/updated documentation.
	(getInputStream): Added/updated documentation.
	(getOutputStream): Added/updated documentation.
	(toString): Added/updated documentation.
	(setDoInput): Added/updated documentation.
	(getDoInput): Added/updated documentation.
	(setDoOutput): Added/updated documentation.
	(getDoOutput): Added/updated documentation.
	(setAllowUserInteraction): Added/updated documentation.
	(getAllowUserInteraction): Added/updated documentation.
	(setDefaultAllowUserInteraction): Added/updated documentation.
	(getDefaultAllowUserInteraction): Added/updated documentation.
	(setUseCaches): Added/updated documentation.
	(getUseCaches): Added/updated documentation.
	(setIfModifiedSince): Added/updated documentation.
	(getIfModifiedSince): Added/updated documentation.
	(getDefaultUseCaches): Added/updated documentation.
	(setDefaultUseCaches): Added/updated documentation.
	(setRequestProperty): Added/updated documentation.
	(getRequestProperty): Added/updated documentation.
	(setDefaultRequestProperty): Added/updated documentation.
	(getDefaultRequestProperty): Added/updated documentation.
	(setContentHandlerFactory): Added/updated documentation.

From-SVN: r57049
2002-09-12 06:35:51 +00:00
Alan Modra
35aff10b0f emit-rtl.c (set_mem_size): New function.
* emit-rtl.c (set_mem_size): New function.
	* expr.h (set_mem_size): Declare.
	* config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
	(expand_block_move): Instead, use adjust_address and
	replace_equiv_address to generate proper aliasing info.
	Move common code out of conditionals.  Localize vars.

From-SVN: r57047
2002-09-12 11:44:26 +09:30
Eric Botcazou
874f6a6d1f optabs.c (expand_binop): Minor cleanup.
* optabs.c (expand_binop): Minor cleanup.
        (expand_twoval_binop): Convert CONST_INTs like in expand_binop.

From-SVN: r57046
2002-09-11 18:29:21 -07:00
Dan Nicolaescu
d1df930ba1 * print-tree.c (print_node): Print the restrict qualifier.
From-SVN: r57045
2002-09-11 17:55:21 -07:00
Mike Stump
6eedb9ca76 * splay-tree.c (splay_tree_successor): Fix comments.
From-SVN: r57044
2002-09-12 00:51:25 +00:00
Tom Tromey
09bfbc1c11 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (TEXINFO_TEX): New macro.
	(info_TEXINFOS): Likewise.
	(fastjar_TEXINFOS): Likewise.
	(man_MANS): Likewise.
	(EXTRA_DIST): Likewise.
	(my_makei_flags): Likewise.
	(fastjar.info): New rule.
	(fastjar_TEXINFOS): Don't mention `$(srcdir)'.
	(TEXINFO_TEX): Likewise.
	(AUTOMAKE_OPTIONS): Added `cygnus'.

From-SVN: r57043
2002-09-12 00:40:12 +00:00
Janis Johnson
9026a957f2 install.texi: Fix typos.
2002-09-11  Janis Johnson  <janis187@us.ibm.com>

	* doc/install.texi: Fix typos.

From-SVN: r57041
2002-09-11 22:10:10 +00:00
Zack Weinberg
b2196e8f24 Fix typo in last commit
From-SVN: r57038
2002-09-11 20:06:45 +00:00
Zack Weinberg
3fd9d606f3 Makefile.in: Remove all references to s-under and underscore.c.
gcc:
	* Makefile.in: Remove all references to s-under and underscore.c.
	* collect2.c, tlink.c: Change all uses of prepends_underscore
	to look directly at USER_LABEL_PREFIX.

gcc/cp:
	* Make-lang.in: Build cp/cxxfilt.o from $(srcdir)/cp/cxxfilt.c,
	and c++filt from cxxfilt.o + version.o + $(LIBDEPS).
	* cxxfilt.c: New file: split from libiberty/cplus-dem.c, with
	minor adjustments (use version_string, eliminate yet another
	duplicate of xmalloc)

libiberty:
	* cplus-dem.c: Code code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
	* testsuite/Makefile.in: Adjust for test-demangle.
	* testsuite/regress-demangle: Deleted.
	* testsuite/test-demangle.c: New file.
	* testsuite/demangle-expected: Change \$ to $ throughout, now that
	this file is not being read by a shell script.

From-SVN: r57037
2002-09-11 19:58:02 +00:00
Per Bothner
6e471ea7b8 parse.y (fold_constant_for_init): If a VAR_DECL, convert numerical constant to the type of the field.
2002-09-11  Per Bothner  <per@bothner.com>

	* parse.y (fold_constant_for_init):  If a VAR_DECL, convert numerical
	constant to the type of the field.
	(java_complete_tree):  Remove now-redundant code.

	* parse.y (fold_constant_for_init):  'null' is not a constant expr.

From-SVN: r57036
2002-09-11 19:53:14 +00:00
Jesse Rosenstock
23114b697a For PR java/5794:
2002-09-03  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

	For PR java/5794:
	* verify.c (verify_jvm_instructions) [OPCODE_jsr]: Only push the
	return label if a ret instruction for the jsr has been reached.

From-SVN: r57035
2002-09-11 19:37:03 +00:00
David Edelsohn
5b5198f72b rs6000.c (rs6000_xcoff_asm_named_section): Append alignment to csect.
* config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
	alignment to csect.
	(rs6000_xcoff_unique_section): Only set section name for public
	data.
	(rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
	* config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
	duplicate definition.

From-SVN: r57034
2002-09-11 13:36:06 -04:00
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