GCC Administrator [Mon, 26 Jan 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76604
Michael Hayes [Mon, 26 Jan 2004 00:12:05 +0000 (00:12 +0000)]
c4x.c (c4x_check_legit_addr): Rename to c4x_legitimate_address_p.
* config/c4x/c4x.c (c4x_check_legit_addr): Rename to
c4x_legitimate_address_p. Fix post_modify check.
* config/c4x/c4x-protos.h (c4x_check_legit_addr): Adjust.
* config/c4x/c4x.h (c4x_check_legit_addr): Adjust.
From-SVN: r76601
Kazu Hirata [Mon, 26 Jan 2004 00:09:47 +0000 (00:09 +0000)]
pa-protos.h: Remove the prototype for hppa_builtin_saveregs.
* config/pa/pa-protos.h: Remove the prototype for
hppa_builtin_saveregs. Add a prototype for
pa_return_in_memory.
* config/pa/pa.c (TARGET_PROMOTE_FUNCTION_RETURN): New.
(TARGET_PROMOTE_PROTOTYPES): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
(pa_struct_value_rtx): Likewise.
(pa_return_in_memory): Likewise.
* config/pa/pa.h (STRUCT_VALUE_REGNUM): Rename to
PA_STRUCT_VALUE_REGNUM.
(INIT_CUMULATIVE_ARGS): Use pa_return_in_memory.
(EXPAND_BUILTIN_SAVEREGS): Remove.
(PROMOTE_PROTOTYPES): Likewise.
(PROMOTE_FUNCTION_RETURN): Likewise.
From-SVN: r76600
Kazu Hirata [Mon, 26 Jan 2004 00:05:38 +0000 (00:05 +0000)]
vax.c (TARGET_PROMOTE_PROTOTYPES): New.
* config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(vax_struct_value_rtx): Likewise.
* config/vax/vax.h (STRUCT_VALUE_REGNUM): Rename to
VAX_STRUCT_VALUE_REGNUM.
(PROMOTE_PROTOTYPES): Remove.
From-SVN: r76599
Michael Hayes [Sun, 25 Jan 2004 23:58:39 +0000 (23:58 +0000)]
* config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref.
From-SVN: r76598
Chris Demetriou [Sun, 25 Jan 2004 23:45:48 +0000 (23:45 +0000)]
mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2, and MIPS64 have HI/LO interlocks.
2003-04-25 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2,
and MIPS64 have HI/LO interlocks. Update comment.
From-SVN: r76597
Andreas Schwab [Sun, 25 Jan 2004 23:31:43 +0000 (23:31 +0000)]
monetary_members.cc: Restore locale before rethrowing exception.
* config/locale/gnu/monetary_members.cc: Restore locale before
rethrowing exception.
From-SVN: r76595
Giovanni Bajo [Sun, 25 Jan 2004 22:46:48 +0000 (22:46 +0000)]
re PR c++/13810 (ICE on invalid default templates)
PR c++/13810
* g++.dg/template/ttp7.C: New test.
From-SVN: r76594
Giovanni Bajo [Sun, 25 Jan 2004 22:43:08 +0000 (22:43 +0000)]
re PR c++/13810 (ICE on invalid default templates)
PR c++/13810
* parser.c (cp_parser_type_parameter): When cp_parser_id_expression
returns a TYPE_DECL. no further lookup is required.
* semantics.c (check_template_template_default_arg): A TYPE_DECL
is invalid. Rework to give better diagnostics.
From-SVN: r76593
Paolo Carlini [Sun, 25 Jan 2004 22:43:07 +0000 (22:43 +0000)]
basic_string.h (_M_replace_aux, [...]): Define inline here.
2004-01-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
Define inline here.
* include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
Move inline.
* include/bits/basic_string.tcc: Very minor tweaks.
From-SVN: r76592
Kazu Hirata [Sun, 25 Jan 2004 22:20:15 +0000 (22:20 +0000)]
stormy16-protos.h: Remove the prototype for xstormy16_setup_incoming_varargs.
* config/stormy16/stormy16-protos.h: Remove the prototype for
xstormy16_setup_incoming_varargs.
* config/stormy16/stormy16.c
(xstormy16_setup_incoming_varargs): Remove.
(xstormy16_return_in_memory): New.
(TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
(TARGET_PROMOTE_PROTOTYPES): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
* config/stormy16/stormy16.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Likewise
(PROMOTE_PROTOTYPES): Likewise
(RETURN_IN_MEMORY): Likewise
(STRUCT_VALUE): Likewise
(SETUP_INCOMING_VARARGS): Likewise
From-SVN: r76590
Joseph Myers [Sun, 25 Jan 2004 21:50:01 +0000 (21:50 +0000)]
EXCLUDES: Update.
* EXCLUDES: Update.
* gcc.pot: Regenerate.
From-SVN: r76588
Richard Sandiford [Sun, 25 Jan 2004 21:27:37 +0000 (21:27 +0000)]
mips.c (mips_offset_within_object_p): New function.
* config/mips/mips.c (mips_offset_within_object_p): New function.
(mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and
SYMBOL_CONSTANT_POOL cases. Also use it for SYMBOL_GENERAL if the
ABI has 64-bit pointers and the object file only allows 32-bit symbols.
From-SVN: r76586
Kazu Hirata [Sun, 25 Jan 2004 20:23:09 +0000 (20:23 +0000)]
sh.h (PROMOTE_FUNCTION_ARGS): Remove.
* config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Likewise.
From-SVN: r76584
Kazu Hirata [Sun, 25 Jan 2004 20:17:44 +0000 (20:17 +0000)]
mn10300-protos.h: Remove the prototype for mn10300_builtin_saveregs.
* config/mn10300/mn10300-protos.h: Remove the prototype for
mn10300_builtin_saveregs.
* config/mn10300/mn10300.c (TARGET_PROMOTE_PROTOTYPES): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
(mn10300_return_in_memory): Likewise.
(mn10300_builtin_saveregs): Make it static.
* config/mn10300/mn10300.h (PROMOTE_PROTOTYPES): Remove.
(RETURN_IN_MEMORY): Likewise.
(STRUCT_VALUE): Likewise.
(EXPAND_BUILTIN_SAVEREGS): Likewise.
From-SVN: r76581
Eric Botcazou [Sun, 25 Jan 2004 20:09:27 +0000 (21:09 +0100)]
re PR bootstrap/13853 (Bootstrap fails when compiled with gcc 2.8.1 (gnat-3.14p))
PR bootstrap/13853
* cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.
From-SVN: r76579
Thomas Fitzsimmons [Sun, 25 Jan 2004 18:36:04 +0000 (18:36 +0000)]
TextArea.java: Fix indentation.
2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
(getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
when peer is null.
(setColumns): Remove FIXME -- peer will retrieve number of
columns by calling getColumns.
(setRows): Likewise for number of rows.
(next_text_number): New field.
(paramString): Fix param string.
(generateName): New method.
(getUniqueLong): New method.
From-SVN: r76577
Thomas Fitzsimmons [Sun, 25 Jan 2004 18:29:42 +0000 (18:29 +0000)]
GtkToolkit.java (checkImage): Inform image observer of image loading status.
2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
image observer of image loading status.
(getImage (String)): Start image production.
(getImage (URL)): Likewise.
From-SVN: r76574
Kazu Hirata [Sun, 25 Jan 2004 17:51:51 +0000 (17:51 +0000)]
lib1funcs.asm (divnorm, modnorm): Optimize by using ccr.
* config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
using ccr.
From-SVN: r76573
Kazu Hirata [Sun, 25 Jan 2004 17:41:01 +0000 (17:41 +0000)]
i860-protos.h: Remove the prototype for i860_saveregs.
* config/i860/i860-protos.h: Remove the prototype for
i860_saveregs.
* config/i860/i860.c (i860_saveregs): Make it static.
(i860_struct_value_rtx): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
* config/i860/i860.h (STRUCT_VALUE_REGNUM): Rename to
I860_STRUCT_VALUE_REGNUM.
(EXPAND_BUILTIN_SAVEREGS): Remove.
From-SVN: r76572
Kazu Hirata [Sun, 25 Jan 2004 17:35:43 +0000 (17:35 +0000)]
m68hc11.c (TARGET_STRUCT_VALUE_RTX): New.
* config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New.
(TARGET_RETURN_IN_MEMORY): Likewise.
(m68hc11_struct_value_rtx): Likewise.
(m68hc11_return_in_memory): Likewise.
* config/m68hc11/m68hc11.h: Remove a commented-out definition
of PROMOTE_PROTOTYPES.
(RETURN_IN_MEMORY): Remove.
(STRUCT_VALUE_REGNUM): Likewise.
From-SVN: r76571
Kazu Hirata [Sun, 25 Jan 2004 17:30:51 +0000 (17:30 +0000)]
mmix-protos.h: Remove the prototype for mmix_setup_incoming_varargs.
* config/mmix/mmix-protos.h: Remove the prototype for
mmix_setup_incoming_varargs.
* config/mmix/mmix.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_SETUP_INCOMING_VARARGS): Likewise.
(mmix_setup_incoming_varargs): Make it static.
(mmix_struct_value_rtx): New.
* config/mmix/mmix.h (PROMOTE_FUNCTION_ARGS): Remove.
Remove a commented-out definition of PROMOTE_FUNCTION_RETURN.
(STRUCT_VALUE_REGNUM): Remove.
(SETUP_INCOMING_VARARGS): Likewise.
From-SVN: r76570
Kazu Hirata [Sun, 25 Jan 2004 17:28:19 +0000 (17:28 +0000)]
mips-protos.h: Remove the prototypes for mips_setup_incoming_varargs and mips_return_in_memory.
* config/mips/mips-protos.h: Remove the prototypes for
mips_setup_incoming_varargs and mips_return_in_memory.
* config/mips/mips.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
(TARGET_PROMOTE_PROTOTYPES): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_SETUP_INCOMING_VARARGS): Likewise.
(TARGET_STRICT_ARGUMENT_NAMING): Likewise.
(mips_setup_incoming_varargs): Match the prototype for
TARGET_SETUP_INCOMING_VARARGS.
(mips_return_in_memory): Make it static. Add argument fntype.
(mips_strict_argument_naming): New.
* config/mips/mips.h (PROMOTE_PROTOTYPES): Remove.
(PROMOTE_FUNCTION_ARGS): Likewise.
(PROMOTE_FUNCTION_RETURN): Likewise.
(STRUCT_VALUE): Likewise.
(RETURN_IN_MEMORY): Likewise.
(SETUP_INCOMING_VARARGS): Likewise.
(STRICT_ARGUMENT_NAMING): Likewise.
From-SVN: r76569
Kazu Hirata [Sun, 25 Jan 2004 17:23:01 +0000 (17:23 +0000)]
mips-protos.h: Remove the prototypes for mips_setup_incoming_varargs and mips_return_in_memory.
* config/mips/mips-protos.h: Remove the prototypes for
mips_setup_incoming_varargs and mips_return_in_memory.
* config/mips/mips.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
(TARGET_PROMOTE_PROTOTYPES): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_SETUP_INCOMING_VARARGS): Likewise.
(TARGET_STRICT_ARGUMENT_NAMING): Likewise.
(mips_setup_incoming_varargs): Match the prototype for
TARGET_SETUP_INCOMING_VARARGS.
(mips_return_in_memory): Make it static. Add argument fntype.
(mips_strict_argument_naming): New.
* config/mips/mips.h (PROMOTE_PROTOTYPES): Remove.
(PROMOTE_FUNCTION_ARGS): Likewise.
(PROMOTE_FUNCTION_RETURN): Likewise.
(STRUCT_VALUE): Likewise.
(RETURN_IN_MEMORY): Likewise.
(SETUP_INCOMING_VARARGS): Likewise.
(STRICT_ARGUMENT_NAMING): Likewise.
From-SVN: r76568
Kazu Hirata [Sun, 25 Jan 2004 17:14:41 +0000 (17:14 +0000)]
ip2k.c (TARGET_STRUCT_VALUE_RTX): New.
* config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_SETUP_INCOMING_VARARGS): Likewise.
(ip2k_return_in_memory): Likewise.
(ip2k_setup_incoming_varargs): Likewise.
* config/ip2k/ip2k.h (RETURN_IN_MEMORY): Remove.
(STRUCT_VALUE): Likewise.
(STRUCT_VALUE_INCOMING): Likewise.
(SETUP_INCOMING_VARARGS): Likewise.
From-SVN: r76566
Kazu Hirata [Sun, 25 Jan 2004 17:10:03 +0000 (17:10 +0000)]
avr.c (TARGET_STRUCT_VALUE_RTX): New.
* config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_STRICT_ARGUMENT_NAMING): Likewise.
(avr_return_in_memory): Remove.
* config/avr/avr.h (RETURN_IN_MEMORY): Remove.
(STRUCT_VALUE): Likewise.
(STRUCT_VALUE_INCOMING): Likewise.
(STRICT_ARGUMENT_NAMING): Likewise.
From-SVN: r76565
Joseph Myers [Sun, 25 Jan 2004 16:48:48 +0000 (16:48 +0000)]
* de.po: Update.
From-SVN: r76563
Kriang Lerdsuwanakij [Sun, 25 Jan 2004 15:03:09 +0000 (15:03 +0000)]
Fix ChangeLog date.
From-SVN: r76560
Kriang Lerdsuwanakij [Sun, 25 Jan 2004 14:18:19 +0000 (14:18 +0000)]
re PR c++/13797 (ICE on invalid template parameter)
PR c++/13797
* pt.c (instantiate_class_template): Add an error_mark_node
check.
(tsubst_decl) <TEMPLATE_DECL case>: Likewise.
* g++.dg/template/nontype4.C: New test.
* g++.dg/template/nontype5.C: Likewise.
From-SVN: r76556
Michael Koch [Sun, 25 Jan 2004 13:08:08 +0000 (13:08 +0000)]
Class.java: Imports reworked, reformated.
2004-01-25 Michael Koch <konqueror@gmx.de>
* java/lang/Class.java: Imports reworked, reformated.
(Class): Javadoc added.
(forName): Likewise.
(getClasses): Likewise.
(getClassLoader): Likewise.
(getComponentType): Likewise.
(getConstructor): Likewise.
(getConstructors): Likewise.
(getDeclaredConstructor): Likewise.
(getDeclaredClasses): Likewise.
(getDeclaredConstructors): Likewise.
(getDeclaredField): Likewise.
(getDeclaredMethod): Likewise.
(getDeclaredMethods): Likewise.
(getDeclaringClass): Likewise.
(getField): Likewise.
(getInterfaces): Likewise.
(getMethod): Likewise.
(getMethods): Likewise.
(getModifiers): Likewise.
(getName): Likewise.
(getResource): Likewise.
(getResourceAsStream): Likewise.
(getSigners): Likewise.
(setSigners): Likewise.
(getSuperclass): Likewise.
(isArray): Likewise.
(isAssignableFrom): Likewise.
(isInstance): Likewise.
(isInterface): Likewise.
(isPrimitive): Likewise.
(newInstance): Likewise.
(getProtectionDomain): Likewise.
(toString): Likewise.
(Class): Moved.
(initializeClass): Likewise.
(finalize): Likewise.
From-SVN: r76554
Jan Hubicka [Sun, 25 Jan 2004 11:11:47 +0000 (12:11 +0100)]
* combine.c (recog_for_combine): Avoid allocating unnecesary RTX.
From-SVN: r76553
Paolo Carlini [Sun, 25 Jan 2004 11:07:50 +0000 (11:07 +0000)]
string_append.cc: Increase number of iterations.
2004-01-25 Paolo Carlini <pcarlini@suse.de>
* testsuite/performance/string_append.cc: Increase number
of iterations.
From-SVN: r76551
Paolo Carlini [Sun, 25 Jan 2004 10:26:46 +0000 (10:26 +0000)]
basic_string.h (erase(size_type, size_type), [...]): Call _M_replace_safe instead, thus avoiding redundant check for length_error.
2004-01-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (erase(size_type, size_type),
erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
instead, thus avoiding redundant check for length_error.
* include/bits/basic_string.h: Tweak some comments.
From-SVN: r76550
Richard Sandiford [Sun, 25 Jan 2004 10:16:21 +0000 (10:16 +0000)]
mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
* config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
(mips_regno_mode_ok_for_base_p): Declare.
* config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77.
(FRAME_POINTER_REGNUM): Renumber to 78.
(FIRST_PSEUDO_REGISTER): Update comment accordingly.
(BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete.
(GP_REG_OR_PSEUDO_NONSTRICT_P): Delete.
(REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p.
(REG_MODE_OK_FOR_BASE_P): Likewise.
* config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change
entry for 77 to "$arg" and entry for 78 to "$frame".
(mips_regno_to_class): Map 77 and 78 to ALL_REGS.
(mips_reg_mode_ok_for_base_p): Remove.
(mips_regno_mode_ok_for_base_p): New function, derived from old
BASE_REG_P macro. Don't enforce the mips16 stack pointer
restrictions unless we're being strict.
(mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p.
testsuite/
* gcc.dg/torture/mips-clobber-at.c: New test.
From-SVN: r76547
Eric Botcazou [Sun, 25 Jan 2004 06:58:33 +0000 (07:58 +0100)]
ffi.c (ffi_prep_args_v9): Shift the parameter array when the structure return address is passed in %o0.
* src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array
when the structure return address is passed in %o0.
(ffi_V9_return_struct): Rename into ffi_v9_layout_struct.
(ffi_v9_layout_struct): Align the field following a nested structure
on a word boundary. Use memmove instead of memcpy.
(ffi_call): Update call to ffi_V9_return_struct.
(ffi_prep_closure): Define 'ctx' only for V8.
(ffi_closure_sparc_inner): Clone into ffi_closure_sparc_inner_v8
and ffi_closure_sparc_inner_v9.
(ffi_closure_sparc_inner_v8): Return long doubles by reference.
Always skip the structure return address. For structures and long
doubles, copy the argument directly.
(ffi_closure_sparc_inner_v9): Skip the structure return address only
if required. Shift the maximum floating-point slot accordingly. For
big structures, copy the argument directly; otherwise, left-justify the
argument and call ffi_v9_layout_struct to lay out the structure on
the stack.
* src/sparc/v8.S: Undef STACKFRAME before defining it.
(ffi_closure_v8): Pass the structure return address. Update call to
ffi_closure_sparc_inner_v8. Short-circuit FFI_TYPE_INT handling.
Skip the 'unimp' insn when returning long doubles and structures.
* src/sparc/v9.S: Undef STACKFRAME before defining it.
(ffi_closure_v9): Increase the frame size by 2 words. Short-circuit
FFI_TYPE_INT handling. Load structures both in integers and
floating-point registers on return.
* README: Update status of the SPARC port.
From-SVN: r76543
Andrew Pinski [Sun, 25 Jan 2004 06:03:25 +0000 (22:03 -0800)]
Remove for real.
From-SVN: r76542
Kazu Hirata [Sun, 25 Jan 2004 03:52:42 +0000 (03:52 +0000)]
c-common.h: Fix comment typos.
* c-common.h: Fix comment typos.
* c-decl.c: Likewise.
* cgraphunit.c: Likewise.
* combine.c: Likewise.
* et-forest.c: Likewise.
* flow.c: Likewise.
* function.c: Likewise.
* ifcvt.c: Likewise.
* integrate.c: Likewise.
* jump.c: Likewise.
* postreload.c: Likewise.
* varray.c: Likewise.
From-SVN: r76539
Kazu Hirata [Sun, 25 Jan 2004 03:28:25 +0000 (03:28 +0000)]
frontends.texi: Update copyright.
* doc/frontends.texi: Update copyright.
* doc/gcov.texi: Likewise.
* doc/gty.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
* doc/standards.texi: Likewise.
From-SVN: r76537
Herman A.J. ten Brugge [Sun, 25 Jan 2004 02:20:16 +0000 (03:20 +0100)]
re PR target/12978 (problem with -fweb and c4x target)
2004-01-24 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
PR target/12978
* c4x.md: (movstrqi*) Use match_scratch instead of match_dup.
Remove movstrqi_small because it conflicts with movstrqi_large.
From-SVN: r76534
Joseph Myers [Sun, 25 Jan 2004 02:06:24 +0000 (02:06 +0000)]
* de.po: Update.
From-SVN: r76532
GCC Administrator [Sun, 25 Jan 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76529
Kazu Hirata [Sat, 24 Jan 2004 22:27:20 +0000 (22:27 +0000)]
cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
* config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(cris_struct_value_rtx): Likewise.
* config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove.
(CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of
STRUCT_VALUE_REGNUM.
(STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM.
From-SVN: r76525
Michael Koch [Sat, 24 Jan 2004 20:56:47 +0000 (20:56 +0000)]
2004-01-24 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/jar/Connection.java
(hdrHash): Removed.
(hdrVec): Removed.
(gotHeaders): Removed.
(getHeaderField): Removed.
(getHeaderFields): Removed.
(getHeaderFieldKey): Removed.
(getKey): Removed.
(getField): Removed.
(getHeaders): Removed.
From-SVN: r76523
Ian Lance Taylor [Sat, 24 Jan 2004 20:54:58 +0000 (20:54 +0000)]
re PR bootstrap/13848 (bootstrap failure - ICE in ada/utils.c)
PR bootstrap/13848
* cse.c (cse_cc_succs): Change the mode of the source expression
as soon as decide we need a new mode. Don't permit changing modes
if we found a match in a successor block.
(cse_condition_code_reg): Save original mode of source expression
so that we know whether we have to change the mode in other
insns.
* gcc.dg/
20040124-1.c: New test.
From-SVN: r76522
Michael Koch [Sat, 24 Jan 2004 20:34:41 +0000 (20:34 +0000)]
Makefile.am: Added library version to gtk peer lib.
2004-01-24 Michael Koch <konqueror@gmx.de>
* Makefile.am: Added library version to gtk peer lib.
* Makefile.in: Regenerated.
From-SVN: r76520
Michael Koch [Sat, 24 Jan 2004 20:32:57 +0000 (20:32 +0000)]
InflaterInputStream.java: Merged class documentation with classpath.
2004-01-24 Michael Koch <konqueror@gmx.de>
* java/util/zip/InflaterInputStream.java: Merged class documentation
with classpath.
From-SVN: r76519
Paolo Carlini [Sat, 24 Jan 2004 18:54:23 +0000 (18:54 +0000)]
basic_string.tcc (operator+(const _CharT*, const basic_string&)): No need to go through the append taking two iterators.
2004-01-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (operator+(const _CharT*,
const basic_string&)): No need to go through the append
taking two iterators.
From-SVN: r76517
Paolo Carlini [Sat, 24 Jan 2004 16:52:04 +0000 (16:52 +0000)]
basic_string.tcc (rfind(_CharT, size_type)): Revert last change to use std::min: machine language is worse.
2004-01-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (rfind(_CharT, size_type)):
Revert last change to use std::min: machine language is worse.
(find_last_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(_CharT, size_type)): Ditto.
* include/bits/basic_string.tcc (insert(size_type, const _CharT*,
size_type)): Discard the value returned by _M_check.
(replace(size_type, size_type, const _CharT*, size_type)): Ditto.
(append(const basic_string&, size_type, size_type)): Ditto.
(copy(_CharT*, size_type, size_type)): Ditto.
(compare(size_type, size_type, const basic_string&)): Ditto.
(compare(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(compare(size_type, size_type, const _CharT*)): Ditto.
(compare(size_type, size_type, const _CharT*, size_type)): Ditto.
From-SVN: r76514
Andreas Tobler [Sat, 24 Jan 2004 16:13:48 +0000 (17:13 +0100)]
pyobjc-tc.c (main): Treat result value as of type ffi_arg.
2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
as of type ffi_arg.
* testsuite/libffi.call/struct3.c (main): Fix CHECK.
From-SVN: r76513
Jan Hubicka [Sat, 24 Jan 2004 15:31:04 +0000 (16:31 +0100)]
emit-rtl.c (change_address, [...]): Return early when there is nothing to change.
* emit-rtl.c (change_address, adjust_address_1, offset_address,
widen_memory_access): Return early when there is nothing to change.
From-SVN: r76512
Paolo Carlini [Sat, 24 Jan 2004 12:32:54 +0000 (12:32 +0000)]
basic_string.h (insert(size_type, const basic_string&, size_type, size_type)): Define inline here.
2004-01-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (insert(size_type,
const basic_string&, size_type, size_type)): Define inline here.
* include/bits/basic_string.tcc (insert(size_type,
const basic_string&, size_type, size_type)): Move inline.
From-SVN: r76509
Paolo Carlini [Sat, 24 Jan 2004 11:34:06 +0000 (11:34 +0000)]
basic_string.h (assign(const basic_string&, size_type, size_type)): Define inline here.
2004-01-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (assign(const basic_string&,
size_type, size_type)): Define inline here.
(replace(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(_M_replace_dispatch(iterator, iterator, _InputIterator,
_InputIterator, __false_type)): Only declare.
(_M_replace(iterator, iterator, _InputIterator,
_InputIterator)): Remove.
* include/bits/basic_string.tcc (assign(const basic_string&,
size_type, size_type)): Move inline.
(replace(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(_M_replace_dispatch(iterator, iterator, _InputIterator,
_InputIterator, __false_type)): Define, now does also what
_M_replace did before.
* src/string-inst.cc (_M_replace): Don't instantiate.
* include/bits/basic_string.tcc (find(const _CharT*,
size_type, size_type)): Tidy.
(rfind(_CharT, size_type)): Ditto.
(find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
(find_first_not_of(_CharT, size_type)): Ditto.
(find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(_CharT, size_type)): Ditto.
From-SVN: r76508
Jakub Jelinek [Sat, 24 Jan 2004 11:01:29 +0000 (12:01 +0100)]
simplify-rtx.c (simplify_relational_operation): Don't simplify address == constant into address + -constant == 0.
* simplify-rtx.c (simplify_relational_operation): Don't
simplify address == constant into address + -constant == 0.
* gcc.dg/
20040123-1.c: New test.
From-SVN: r76490
Kazu Hirata [Sat, 24 Jan 2004 10:09:48 +0000 (10:09 +0000)]
gcc.c (process_command): Don't internationalize the Copyright message.
* gcc.c (process_command): Don't internationalize the
Copyright message.
* mips-tfile.c (main): Likewise.
From-SVN: r76488
Andreas Tobler [Sat, 24 Jan 2004 09:57:07 +0000 (10:57 +0100)]
cse.c: (cse_cc_succs) Fix comparison warning.
2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
* cse.c: (cse_cc_succs) Fix comparison warning.
From-SVN: r76487
Kazu Hirata [Sat, 24 Jan 2004 09:54:32 +0000 (09:54 +0000)]
* config/h8300/h8300.md: Remove extraneous USE in expanders.
From-SVN: r76486
Kazu Hirata [Sat, 24 Jan 2004 06:47:03 +0000 (06:47 +0000)]
h8300-protos.h: Provide prototypes for h8300_legitimate_constant_p and h8300_legitimate_address_p.
* config/h8300/h8300-protos.h: Provide prototypes for
h8300_legitimate_constant_p and h8300_legitimate_address_p.
* config/h8300/h8300.c (h8300_legitimate_constant_p): New.
(h8300_rtx_ok_for_base_p): Likewise.
(h8300_legitimate_address_p): Likewise.
* config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use
h8300_legitimate_constant_p.
(RTX_OK_FOR_BASE_P): Remove.
(GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p.
From-SVN: r76484
Kazu Hirata [Sat, 24 Jan 2004 05:32:06 +0000 (05:32 +0000)]
h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.
* config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New.
(REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
(REG_OK_FOR_INDEX_STRICT_P): Likewise.
(REG_OK_FOR_BASE_STRICT_P): Likewise.
(REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P.
(REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P.
(REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P.
(REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P.
From-SVN: r76483
Zack Weinberg [Sat, 24 Jan 2004 05:27:45 +0000 (05:27 +0000)]
* gcc.dg/builtins-30.c: Move dg-warning marks to the proper lines.
From-SVN: r76482
Paolo Carlini [Sat, 24 Jan 2004 01:25:37 +0000 (01:25 +0000)]
re PR libstdc++/13838 (std::bitset<>::operator |= error with -D_GLIBCXX_DEBUG)
2004-01-23 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13838
* include/debug/bitset (operator|=): Fix typo.
* testsuite/23_containers/bitset/operations/13838.cc: New.
From-SVN: r76479
Jan Hubicka [Sat, 24 Jan 2004 00:38:50 +0000 (01:38 +0100)]
* cselib.c (remove_useless_values): Do not access discarded values.
From-SVN: r76478
Joseph Myers [Sat, 24 Jan 2004 00:30:58 +0000 (00:30 +0000)]
c-typeck.c (build_conditional_expr): Do not allow non-lvalue arrays.
* c-typeck.c (build_conditional_expr): Do not allow non-lvalue
arrays.
testsuite:
* gcc.dg/c90-array-lval-7.c, gcc.dg/c99-array-lval-7.c: New tests.
From-SVN: r76477
Paolo Carlini [Sat, 24 Jan 2004 00:27:19 +0000 (00:27 +0000)]
basic_string.tcc (insert(size_type, const _CharT*, size_type __n)): Fix length_error check.
2004-01-23 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (insert(size_type,
const _CharT*, size_type __n)): Fix length_error check.
(replace(size_type, size_type, const _CharT*, size_type):
Ditto; call _M_replace_safe.
(_M_replace_aux(size_type, size_type, size_type, _CharT):
Fix length_error check.
(_M_replace(iterator, iterator, _InputIterator,
_InputIterator)): Ditto, tweak.
(_M_replace_safe(size_type, size_type, const _CharT*,
size_type)): Remove length_error check.
* include/bits/basic_string.tcc (append(const basic_string&),
append(const basic_string&, size_type, size_type)): Tweak
comment.
* include/bits/basic_string.tcc (copy(_CharT*, size_type,
size_type)): If __n == 0 don't call traits::copy.
From-SVN: r76476
DJ Delorie [Sat, 24 Jan 2004 00:23:24 +0000 (19:23 -0500)]
Makefile.def (target_modules): Don't stage.
* Makefile.def (target_modules) [libiberty]: Don't stage.
* Makefile.in: Rebuilt.
From-SVN: r76475
Stefan Olsson [Sat, 24 Jan 2004 00:21:02 +0000 (00:21 +0000)]
mt_allocator.h: Reduce lock contention.
2004-01-23 Stefan Olsson <stefan@snon.net>
* include/ext/mt_allocator.h: Reduce lock contention.
From-SVN: r76474
GCC Administrator [Sat, 24 Jan 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r76471
Kazu Hirata [Fri, 23 Jan 2004 23:49:36 +0000 (23:49 +0000)]
* recog.c: Fix a typo in copyright.
From-SVN: r76467
Andrew Pinski [Fri, 23 Jan 2004 22:57:07 +0000 (22:57 +0000)]
re PR c++/13701 (g++.old-deja/g++.eh/cleanup2.C ICEs)
2004-01-23 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/13701
* decl.c (finish_function): Move the call to
finish_fname_decls below the call to
finish_eh_spec_block.
From-SVN: r76464
Andrew Pinski [Fri, 23 Jan 2004 22:45:53 +0000 (22:45 +0000)]
20030121-1.c: Move to ..
2004-01-23 Andrew Pinski <apinski@apple.com>
* gcc.dg/
20030121-1.c: Move to ..
* gcc.dg/
20040121-1.c: here.
From-SVN: r76463
Andrew Pinski [Fri, 23 Jan 2004 22:41:20 +0000 (22:41 +0000)]
rs6000.md (call): Fix misappiled patch.
2004-01-23 Andrew Pinski <apinski@apple.com>
* config/rs6000/rs6000.md (call): Fix misappiled patch.
(call_value): Likewise.
From-SVN: r76462
Richard Henderson [Fri, 23 Jan 2004 22:23:10 +0000 (14:23 -0800)]
combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
* combine.c (SHIFT_COUNT_TRUNCATED): Provide default value.
(simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0)
if SHIFT_COUNT_TRUNCATED is set.
From-SVN: r76461
Bob Wilson [Fri, 23 Jan 2004 22:12:34 +0000 (22:12 +0000)]
xtensa.c (xtensa_va_arg): Handle complex values as separate real and imaginary parts.
* config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as
separate real and imaginary parts.
* config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define.
From-SVN: r76459
Hartmut Penner [Fri, 23 Jan 2004 22:07:06 +0000 (22:07 +0000)]
re PR rtl-optimization/13674 (ICE in reload_cse_simplify_operands, at postreload.c:378 on PPC64)
2004-01-23 Hartmut Penner <hpenner@de.ibm.com>
PR target/13674
* config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage
loading into GPR.
From-SVN: r76458
Jan Hubicka [Fri, 23 Jan 2004 22:05:19 +0000 (23:05 +0100)]
emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing change.
* emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing
change.
From-SVN: r76457
Jan Hubicka [Fri, 23 Jan 2004 22:01:55 +0000 (23:01 +0100)]
alloc-pool.c (align_four): Kill.
* alloc-pool.c (align_four): Kill.
(create_alloc_pool): Align size to eight.
(free_alloc_pool, free_pool): Invalidate deallocated data.
From-SVN: r76456
Ian Lance Taylor [Fri, 23 Jan 2004 21:05:21 +0000 (21:05 +0000)]
re PR target/1532 (-O3 generates (obviously) redundant tests and jumps)
PR gcc/1532
* cse.c (cse_change_cc_mode): New static function.
(cse_change_cc_mode_insns, cse_cc_succs): Likewise.
(cse_condition_code_reg): New function.
* rtl.h (cse_condition_code_reg): Declare.
* toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg.
* target.h (struct gcc_target): Add fixed_condition_code_regs and
cc_modes_compatible.
* target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define.
(TARGET_CC_MODES_COMPATIBLE): Define.
(TARGET_INITIALIZER): Add new initializers.
* targhooks.c (default_cc_modes_compatible): New function.
* targhooks.c (default_cc_modes_compatible): Declare.
* hooks.c (hook_bool_intp_intp_false): New function.
* hooks.h (hook_bool_intp_intp_false): Declare.
* config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define.
(TARGET_CC_MODES_COMPATIBLE): Define.
(ix86_fixed_condition_code_regs): New static function.
(ix86_cc_modes_compatible): Likewise.
* doc/tm.texi (Condition Code): Document new hooks.
From-SVN: r76454
Rainer Orth [Fri, 23 Jan 2004 20:40:52 +0000 (20:40 +0000)]
inclhack.def (bad_lval): Renamed to ...
* fixinc/inclhack.def (bad_lval): Renamed to ...
(alpha_bad_lval): ... this.
Removed file list.
Restrict to alpha*-dec-osf*.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/dirent.h: Remove, moving test ...
* fixinc/tests/base/testing.h: ... here, reflecting new name.
From-SVN: r76450
Andrew Pinski [Fri, 23 Jan 2004 18:38:40 +0000 (10:38 -0800)]
re PR c/13814 (rejects different prototypes than builtin function)
2004-01-23 Zack Weinberg <zack@codesourcery.com>
PR c/13814
* c-decl.c (diagnose_mismatched_decls): Also discard a
built-in if we encounter an old-style definition with the
same name.
From-SVN: r76445
Roger Sayle [Fri, 23 Jan 2004 18:37:16 +0000 (18:37 +0000)]
* gcc.dg/builtins-29.c: New test case.
From-SVN: r76444
Zack Weinberg [Fri, 23 Jan 2004 18:13:55 +0000 (18:13 +0000)]
re PR c/18314 (Abnormal behavior in optimization)
PR 18314
* c-decl.c (diagnose_mismatched_decls): Also discard a
built-in if we encounter an old-style definition with the
same name.
testsuite:
* gcc.dg/builtins-30.c: New testcase.
From-SVN: r76441
Jakub Jelinek [Fri, 23 Jan 2004 17:42:58 +0000 (18:42 +0100)]
config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was set to default{32,64}.
* config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was
set to default{32,64}.
From-SVN: r76439
Jakub Jelinek [Fri, 23 Jan 2004 17:32:16 +0000 (18:32 +0100)]
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Corrected to handle kernels with changed ucontext.
* config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)
[!__powerpc64__]: Corrected to handle kernels with changed ucontext.
* include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
header. For __powerpc64__ provide the default-signal.h definitions
for now.
* include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
instead of the dummy definitions.
* configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
(powerpc64*-*): Remove with_libffi_default.
Only add -mminimal-toc for 64-bit compilations.
* configure.in: Use powerpc-signal.h on powerpc64 as well.
(x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
* configure: Rebuilt.
From-SVN: r76437
Eric Botcazou [Fri, 23 Jan 2004 16:52:07 +0000 (17:52 +0100)]
fold-const.c (fold_binary_op_with_conditional_arg): Only build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.
* fold-const.c (fold_binary_op_with_conditional_arg): Only
build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR.
Co-Authored-By: Olivier Hainque <hainque@act-europe.fr>
From-SVN: r76434
Paolo Carlini [Fri, 23 Jan 2004 16:51:24 +0000 (16:51 +0000)]
re PR libstdc++/13831 (Unused variable in basic_filebuf::underflow)
2004-01-23 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13831
* include/bits/fstream.tcc (underflow): Remove unused
variable.
* include/bits/streambuf_iterator.h (equal): Ditto.
* include/bits/locale_facets.h (_M_convert_from_char):
Ditto.
From-SVN: r76433
Kaveh R. Ghazi [Fri, 23 Jan 2004 16:47:06 +0000 (16:47 +0000)]
re PR c/13814 (rejects different prototypes than builtin function)
PR c/13814
* config/linker-map.gnu (nan): Delete.
* libmath/mathconf.h (NAN, nan): Delete.
* linkage.m4 (nan): Don't check for it.
* libmath/nan.c: Delete file.
* config.h.in, configure: Regenerate.
From-SVN: r76431
Daniel Jacobowitz [Fri, 23 Jan 2004 16:33:43 +0000 (16:33 +0000)]
arm.c (arm_legitimate_address_p): Don't check the mode size for minipool references.
* config/arm/arm.c (arm_legitimate_address_p): Don't check the mode
size for minipool references.
From-SVN: r76429
Roger Sayle [Fri, 23 Jan 2004 16:16:33 +0000 (16:16 +0000)]
real.c (real_floor, real_ceil): Tweak to allow input and output arguments to overlap.
* real.c (real_floor, real_ceil): Tweak to allow input and output
arguments to overlap.
(real_round): New function to implement round(3m) semantics.
* real.h (real_round): Prototype here.
* builtins.c (fold_builtin_round): New function to constant fold
round, roundf and roundl.
(fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}.
* gcc.dg/builtins-29.c: New test case.
From-SVN: r76428
Michael Koch [Fri, 23 Jan 2004 15:53:51 +0000 (15:53 +0000)]
FileLockImpl.java: Compile fixes.
2004-01-23 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileLockImpl.java: Compile fixes.
From-SVN: r76427
Michael Koch [Fri, 23 Jan 2004 15:29:38 +0000 (15:29 +0000)]
VMClassLoader.java: Reworked imports.
2004-01-23 Michael Koch <konqueror@gmx.de>
* java/lang/VMClassLoader.java: Reworked imports.
From-SVN: r76426
Alexandre Oliva [Fri, 23 Jan 2004 15:29:09 +0000 (15:29 +0000)]
re PR target/13819 (sh-elf broken; abort in sh_reorg())
PR optimization/13819
* config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs
introduced by 2004-01-20's Jan Hubicka's copy_insn change.
(sh_handle_sp_switch_attribute): Remove warning.
From-SVN: r76425
Michael Koch [Fri, 23 Jan 2004 15:19:28 +0000 (15:19 +0000)]
AbstractAction.java: Reformated.
2004-01-23 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java: Reformated.
From-SVN: r76424
Michael Koch [Fri, 23 Jan 2004 15:15:31 +0000 (15:15 +0000)]
2004-01-23 Michael Koch <konqueror@gmx.de>
* java/text/CollationElementIterator.java:
(setText): New method.
From-SVN: r76423
Michael Koch [Fri, 23 Jan 2004 14:37:09 +0000 (14:37 +0000)]
FileLockImpl.java: Fixed filename in copyright.
2004-01-23 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileLockImpl.java:
Fixed filename in copyright.
(released): Removed.
(finalize): New method.
* gnu/java/nio/natFileLockImpl.cc
(releaseImpl): Implemented.
* java/nio/channels/FileChannelImpl.java:
Reworked imports.
(lock): Implemented.
(lockImpl): New method.
(tryLock): Implemented.
(tryLockImpl): New method.
* java/nio/channels/natFileChannelImpl.cc
(lockImpl): New method.
(tryLockImpl): New method.
From-SVN: r76422
Michael Koch [Fri, 23 Jan 2004 14:07:28 +0000 (14:07 +0000)]
2004-01-23 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorEcos.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorPosix.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorWin32.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.
From-SVN: r76421
Paolo Carlini [Fri, 23 Jan 2004 13:57:19 +0000 (13:57 +0000)]
basic_string.h (push_back(_CharT)): Call _M_replace_aux.
2004-01-23 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (push_back(_CharT)):
Call _M_replace_aux.
(insert(size_type, const basic_string&)): Trivial tweak.
(insert(size_type, size_type, _CharT)): Call _M_replace_aux.
(insert(iterator, _CharT)): Ditto.
(erase(size_type, size_type)): Ditto.
(erase(iterator)): Ditto.
(erase(iterator, iterator)): Ditto.
(replace(size_type, size_type, size_type, _CharT)): Ditto.
From-SVN: r76420
Michael Koch [Fri, 23 Jan 2004 13:50:10 +0000 (13:50 +0000)]
2004-01-23 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java
(sync): Moved around, added javadoc.
(valid): Likewise.
(open): Likewise.
(write): Likewise.
(close): Likewise.
(setLength): Likewise.
(seek): Likewise.
(getLength): Likewise.
(getFilePointer): Likewise.
(read): Likewise.
(available): Likewise.
(finalize): Likewise.
From-SVN: r76419
Jan Hubicka [Fri, 23 Jan 2004 13:24:58 +0000 (14:24 +0100)]
* i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets.
From-SVN: r76416
J"orn Rennecke [Fri, 23 Jan 2004 13:01:42 +0000 (13:01 +0000)]
tm.texi: Insert some weasel words when LOAD_EXTEND_OP may or may not return non-NIL.
* doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP
may or may not return non-NIL.
* postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code,
check CANNOT_CHANGE_MODE_CLASS
From-SVN: r76415
Michael Koch [Fri, 23 Jan 2004 12:42:10 +0000 (12:42 +0000)]
AbstractAction.java: Reformated.
2004-01-23 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java: Reformated.
(getPropertyChangeListeners): New method.
* javax/swing/AbstractCellEditor.java: Reformated.
(getCellEditorListeners): New method.
* javax/swing/DefaultListSelectionModel.java
(listenerList): New field.
(listeners): Removed.
(get_listeners): Removed.
(addListSelectionListener): Rewritten.
(removeListSelectionListener): Rewritten.
(getListSelectionListeners): New method.
(getListeners): New method.
* javax/swing/JComboBox.java: Imports reworked.
(addActionListener): Implemented.
(removeActionListener): Implemented.
(addItemListener): Implemented.
(removeItemListener): Implemented.
(addPopupMenuListener): Implemented.
(removePopupMenuListener): Implemented.
(getActionListeners): New method.
(getItemListeners): New method.
(getPopupMenuListeners): New method.
From-SVN: r76413
Michael Koch [Fri, 23 Jan 2004 12:32:23 +0000 (12:32 +0000)]
2004-01-23 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java
(connect): Don't initialize bufferedOutputStream if not needed.
(sendRequest): Set property for content length if content is present.
Write content only if present.
(getOutputStream): Check if already connected, dont connect,
initalize bufferedOutputStream if needed.
From-SVN: r76412