Nathan Sidwell [Fri, 13 Sep 2002 21:47:22 +0000 (21:47 +0000)]
pt.c (unify, ARRAY_TYPE): Element type can be more qualified.
cp:
* pt.c (unify, ARRAY_TYPE): Element type can be more qualified.
testsuite:
* g++.dg/template/deduce1.C: New test.
From-SVN: r57120
Steve Ellcey [Fri, 13 Sep 2002 21:12:18 +0000 (21:12 +0000)]
config.gcc (ia64*-*-aix*, [...]): Set extra_parts.
* config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
ia64*-*-linux*): Set extra_parts.
* config/ia64/t-aix (EXTRA_PARTS): Remove.
* config/ia64/t-ia64 (EXTRA_PARTS): Remove.
From-SVN: r57119
Kazu Hirata [Fri, 13 Sep 2002 20:35:07 +0000 (20:35 +0000)]
fixunssfsi.c: Replace H8/S with H8S.
* config/h8300/fixunssfsi.c: Replace H8/S with H8S.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.
* doc/invoke.texi: Likewise.
From-SVN: r57118
Kazu Hirata [Fri, 13 Sep 2002 20:12:25 +0000 (20:12 +0000)]
* config/h8300/h8300.c (h8300_init_once): Fix formatting.
From-SVN: r57117
Kazu Hirata [Fri, 13 Sep 2002 18:33:34 +0000 (18:33 +0000)]
simd-1.c: Force all use of int to 32-bit int.
* gcc.c-torture/execute/simd-1.c: Force all use of int to
32-bit int.
From-SVN: r57116
Matt Austern [Fri, 13 Sep 2002 18:08:16 +0000 (18:08 +0000)]
cp-tree.h, tree.c: New function non_cast_lvalue_p.
2002-09-13 Matt Austern <austern@apple.com>
* cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p.
* cp/call.c: Change call-by-const-reference mechanism to use
non_cast_lvalue_p when deciding whether the create a temporary.
We need a temporary when passing, e.g. (long) x by const ref.
* testsuite/g++.dg/other/constref[12].C: New, regression tests for
passing a cast expression to a function by const reference.
From-SVN: r57115
Richard Henderson [Fri, 13 Sep 2002 18:01:09 +0000 (11:01 -0700)]
alpha.md (attr type): Add callpal.
* config/alpha/alpha.md (attr type): Add callpal.
(imb, trap, load_tp, set_tp): Use it.
* config/alpha/ev4.md (ev4_callpal): New.
* config/alpha/ev5.md (ev5_callpal): New.
* config/alpha/ev6.md (ev6_ibr): Handle callpal.
* config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
(alphaev5_insn_pipe): Likewise.
From-SVN: r57113
Andreas Jaeger [Fri, 13 Sep 2002 17:19:55 +0000 (19:19 +0200)]
* Makefile.in (print-rtl.o): Depend on CONFIG_H.
From-SVN: r57111
Steve Ellcey [Fri, 13 Sep 2002 16:58:27 +0000 (16:58 +0000)]
t-hpux (LIBGCC1_TEST, [...]): New, set to NULL.
* config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
LIB2ADDEH): New, set to NULL.
(SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
From-SVN: r57110
Steve Ellcey [Fri, 13 Sep 2002 16:40:53 +0000 (16:40 +0000)]
quadlib.c (_U_Qfcmp): Make extern.
* config/ia64/quadlib.c (_U_Qfcmp): Make extern.
(_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
(_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
Add declarations.
(_U_Qfneg): Remove.
From-SVN: r57109
Dhananjay R. Deshpande [Fri, 13 Sep 2002 15:42:47 +0000 (15:42 +0000)]
h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support for H8/300, H8/S aa:8 mode.
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
for H8/300, H8/S aa:8 mode.
(TINY_CONSTANT_ADDRESS_P): Add support for H8/S aa:16 mode.
* config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
for H8/300 aa:8 mode.
From-SVN: r57108
Michael Koch [Fri, 13 Sep 2002 11:39:47 +0000 (11:39 +0000)]
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
Kazu Hirata [Fri, 13 Sep 2002 11:33:47 +0000 (11:33 +0000)]
decl.c: Fix comment formatting.
* decl.c: Fix comment formatting.
* decl2.c: Likewise.
From-SVN: r57104
Hartmut Penner [Fri, 13 Sep 2002 09:46:57 +0000 (09:46 +0000)]
* config/s390/s390.md ("trap", "conditional_trap", "*trap"): New insns.
From-SVN: r57102
Michael Koch [Fri, 13 Sep 2002 09:02:23 +0000 (09:02 +0000)]
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
GCC Administrator [Fri, 13 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57099
GCC Administrator [Fri, 13 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r57098.3
Richard Henderson [Fri, 13 Sep 2002 06:28:21 +0000 (23:28 -0700)]
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
Stan Shebs [Fri, 13 Sep 2002 04:00:56 +0000 (04:00 +0000)]
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
Stan Shebs [Fri, 13 Sep 2002 03:44:54 +0000 (03:44 +0000)]
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
Alan Modra [Fri, 13 Sep 2002 01:40:44 +0000 (01:40 +0000)]
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
Kazu Hirata [Fri, 13 Sep 2002 00:22:59 +0000 (00:22 +0000)]
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
Benjamin Kosnik [Thu, 12 Sep 2002 23:27:30 +0000 (23:27 +0000)]
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
Zack Weinberg [Thu, 12 Sep 2002 22:34:08 +0000 (22:34 +0000)]
toplev.c: Move default definition of USER_LABEL_PREFIX...
* toplev.c: Move default definition of USER_LABEL_PREFIX...
* defaults.h: ... here.
From-SVN: r57081
Richard Henderson [Thu, 12 Sep 2002 21:05:13 +0000 (14:05 -0700)]
* vax.c: Include tree.h earlier.
From-SVN: r57080
Stan Shebs [Thu, 12 Sep 2002 19:46:34 +0000 (19:46 +0000)]
darwin.c (machopic_finish): Remove #if 0 chunks.
* config/darwin.c (machopic_finish): Remove #if 0 chunks.
(machopic_operand_p): Ditto.
From-SVN: r57079
Kazu Hirata [Thu, 12 Sep 2002 18:25:28 +0000 (18:25 +0000)]
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
Kazu Hirata [Thu, 12 Sep 2002 18:06:31 +0000 (18:06 +0000)]
* toplev.c (do_abort): Fix a comment typo.
From-SVN: r57077
Kazu Hirata [Thu, 12 Sep 2002 17:31:41 +0000 (17:31 +0000)]
cselib.c: Fix comment formatting.
* cselib.c: Fix comment formatting.
* gengtype.c: Likewise.
From-SVN: r57076
Nicola Pero [Thu, 12 Sep 2002 17:30:45 +0000 (17:30 +0000)]
Small cleanups of nil_method in sendmsg.c
From-SVN: r57075
Nicola Pero [Thu, 12 Sep 2002 17:29:58 +0000 (17:29 +0000)]
Tidied up the declaration and usage of nil_method
From-SVN: r57074
Nicola Pero [Thu, 12 Sep 2002 17:29:26 +0000 (17:29 +0000)]
Added long comments on why nil_method takes the arguments it takes and how
it's going to be used
From-SVN: r57073
Nicola Pero [Thu, 12 Sep 2002 17:28:47 +0000 (17:28 +0000)]
Added comments to the definition of IMP
From-SVN: r57072
Kazu Hirata [Thu, 12 Sep 2002 17:15:30 +0000 (17:15 +0000)]
h8300.md (udivmodqi4): Do not use an expander.
* config/h8300/h8300.md (udivmodqi4): Do not use an expander.
(udivmodhi4): Likewise.
From-SVN: r57071
Graham Stott [Thu, 12 Sep 2002 16:33:37 +0000 (16:33 +0000)]
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
Jason Merrill [Thu, 12 Sep 2002 14:23:42 +0000 (10:23 -0400)]
diagnostic.c (output_add_identifier): New fn.
* diagnostic.c (output_add_identifier): New fn.
* diagnostic.h: Declare it.
From-SVN: r57066
Jason Merrill [Thu, 12 Sep 2002 14:00:21 +0000 (10:00 -0400)]
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
Jakub Jelinek [Thu, 12 Sep 2002 13:40:01 +0000 (15:40 +0200)]
* config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
From-SVN: r57061
Ulrich Weigand [Thu, 12 Sep 2002 12:37:17 +0000 (12:37 +0000)]
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
GCC Administrator [Thu, 12 Sep 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57056
Hartmut Penner [Thu, 12 Sep 2002 06:49:26 +0000 (06:49 +0000)]
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
Michael Koch [Thu, 12 Sep 2002 06:35:51 +0000 (06:35 +0000)]
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
Alan Modra [Thu, 12 Sep 2002 02:14:26 +0000 (02:14 +0000)]
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
Eric Botcazou [Thu, 12 Sep 2002 01:29:21 +0000 (18:29 -0700)]
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
Dan Nicolaescu [Thu, 12 Sep 2002 00:55:21 +0000 (00:55 +0000)]
* print-tree.c (print_node): Print the restrict qualifier.
From-SVN: r57045
Mike Stump [Thu, 12 Sep 2002 00:51:25 +0000 (00:51 +0000)]
* splay-tree.c (splay_tree_successor): Fix comments.
From-SVN: r57044
Tom Tromey [Thu, 12 Sep 2002 00:40:12 +0000 (00:40 +0000)]
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
Janis Johnson [Wed, 11 Sep 2002 22:10:10 +0000 (22:10 +0000)]
install.texi: Fix typos.
2002-09-11 Janis Johnson <janis187@us.ibm.com>
* doc/install.texi: Fix typos.
From-SVN: r57041
Zack Weinberg [Wed, 11 Sep 2002 20:06:45 +0000 (20:06 +0000)]
Fix typo in last commit
From-SVN: r57038
Zack Weinberg [Wed, 11 Sep 2002 19:58:02 +0000 (19:58 +0000)]
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
Per Bothner [Wed, 11 Sep 2002 19:53:14 +0000 (12:53 -0700)]
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
Jesse Rosenstock [Wed, 11 Sep 2002 19:37:03 +0000 (19:37 +0000)]
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
David Edelsohn [Wed, 11 Sep 2002 17:36:06 +0000 (17:36 +0000)]
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
Michael Koch [Wed, 11 Sep 2002 10:16:00 +0000 (10:16 +0000)]
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
GCC Administrator [Wed, 11 Sep 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57028
Matthias Klose [Wed, 11 Sep 2002 05:49:48 +0000 (05:49 +0000)]
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
Benjamin Kosnik [Wed, 11 Sep 2002 04:25:41 +0000 (04:25 +0000)]
[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
Benjamin Kosnik [Wed, 11 Sep 2002 03:36:45 +0000 (03:36 +0000)]
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
John David Anglin [Wed, 11 Sep 2002 02:45:09 +0000 (02:45 +0000)]
pa.md (extzv): Check predicates before emitting extzv_32.
* pa.md (extzv): Check predicates before emitting extzv_32.
(insv): Likewise.
From-SVN: r57018
Gabriel Dos Reis [Tue, 10 Sep 2002 23:19:10 +0000 (23:19 +0000)]
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
Matthias Klose [Tue, 10 Sep 2002 22:09:53 +0000 (22:09 +0000)]
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
John David Anglin [Tue, 10 Sep 2002 21:06:59 +0000 (21:06 +0000)]
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
Paolo Carlini [Tue, 10 Sep 2002 19:35:04 +0000 (21:35 +0200)]
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
Ulrich Weigand [Tue, 10 Sep 2002 18:46:06 +0000 (18:46 +0000)]
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
Michael Koch [Tue, 10 Sep 2002 18:02:02 +0000 (18:02 +0000)]
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
Denis Chertykov [Tue, 10 Sep 2002 15:53:14 +0000 (15:53 +0000)]
* config/avr/avr.md (movstrhi): Use right operands for conversion.
From-SVN: r57008
Richard Earnshaw [Tue, 10 Sep 2002 15:44:05 +0000 (15:44 +0000)]
* gcc.c-torture/compile/
20020910-1.c: New test.
From-SVN: r57007
Richard Earnshaw [Tue, 10 Sep 2002 15:39:44 +0000 (15:39 +0000)]
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
David Edelsohn [Tue, 10 Sep 2002 12:39:20 +0000 (12:39 +0000)]
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
Andreas Jaeger [Tue, 10 Sep 2002 12:26:40 +0000 (14:26 +0200)]
Fix entry.
From-SVN: r57004
Frank Ch. Eigler [Tue, 10 Sep 2002 12:22:02 +0000 (12:22 +0000)]
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
Frank Ch. Eigler [Tue, 10 Sep 2002 12:21:34 +0000 (12:21 +0000)]
* 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
Jan Hubicka [Tue, 10 Sep 2002 12:14:38 +0000 (14:14 +0200)]
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
GCC Administrator [Tue, 10 Sep 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57000
GCC Administrator [Tue, 10 Sep 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r56999.3
Per Bothner [Tue, 10 Sep 2002 07:02:28 +0000 (00:02 -0700)]
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
Andreas Jaeger [Tue, 10 Sep 2002 06:10:24 +0000 (08:10 +0200)]
* gcc.dg/
20020312-2.c: Adjust for x86-64.
From-SVN: r56993
Danny Smith [Tue, 10 Sep 2002 02:41:55 +0000 (02:41 +0000)]
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
Steve Ellcey [Mon, 9 Sep 2002 22:03:31 +0000 (22:03 +0000)]
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
John David Anglin [Mon, 9 Sep 2002 21:34:48 +0000 (21:34 +0000)]
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
Tom Tromey [Mon, 9 Sep 2002 21:19:16 +0000 (21:19 +0000)]
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
Tim Josling [Mon, 9 Sep 2002 20:52:30 +0000 (20:52 +0000)]
Fix for recent treelang build failure due to changes to C.
From-SVN: r56981
Gerald Pfeifer [Mon, 9 Sep 2002 20:37:09 +0000 (22:37 +0200)]
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
Benjamin Kosnik [Mon, 9 Sep 2002 20:26:42 +0000 (20:26 +0000)]
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
David Edelsohn [Mon, 9 Sep 2002 20:04:32 +0000 (20:04 +0000)]
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
Janis Johnson [Mon, 9 Sep 2002 18:26:40 +0000 (18:26 +0000)]
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
Denis Chertykov [Mon, 9 Sep 2002 18:20:45 +0000 (18:20 +0000)]
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
Ulrich Weigand [Mon, 9 Sep 2002 18:02:01 +0000 (18:02 +0000)]
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
Ranjit Mathew [Mon, 9 Sep 2002 17:56:37 +0000 (17:56 +0000)]
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
Jan Hubicka [Mon, 9 Sep 2002 11:00:55 +0000 (13:00 +0200)]
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
Nick Clifton [Mon, 9 Sep 2002 10:58:52 +0000 (10:58 +0000)]
(output.h): Move after inclusion of tree.h. Fix folding marks.
From-SVN: r56969
Toshiyasu Morita [Mon, 9 Sep 2002 08:10:46 +0000 (08:10 +0000)]
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
GCC Administrator [Mon, 9 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56967
GCC Administrator [Mon, 9 Sep 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r56966.3
Alan Modra [Mon, 9 Sep 2002 02:25:42 +0000 (02:25 +0000)]
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
Kaveh R. Ghazi [Mon, 9 Sep 2002 01:53:23 +0000 (01:53 +0000)]
* cp-tree.h (require_complete_eh_spec_types): Add prototype.
From-SVN: r56960
Kaveh R. Ghazi [Mon, 9 Sep 2002 01:51:45 +0000 (01:51 +0000)]
* fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
From-SVN: r56959
Richard Henderson [Sun, 8 Sep 2002 18:36:54 +0000 (11:36 -0700)]
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
Roger Sayle [Sun, 8 Sep 2002 18:32:31 +0000 (18:32 +0000)]
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
Roger Sayle [Sun, 8 Sep 2002 18:07:54 +0000 (18:07 +0000)]
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