1. 25 Jan, 2004 23 commits
    • lib1funcs.asm (divnorm, modnorm): Optimize by using ccr. · cff555dc
      	* config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
      	using ccr.
      
      From-SVN: r76573
      Kazu Hirata committed
    • i860-protos.h: Remove the prototype for i860_saveregs. · 30f58b01
      	* 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 committed
    • m68hc11.c (TARGET_STRUCT_VALUE_RTX): New. · 341ec191
      	* 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 committed
    • mmix-protos.h: Remove the prototype for mmix_setup_incoming_varargs. · 344caf1b
      	* 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 committed
    • mips-protos.h: Remove the prototypes for mips_setup_incoming_varargs and mips_return_in_memory. · a9ba5098
      	* 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 committed
    • mips-protos.h: Remove the prototypes for mips_setup_incoming_varargs and mips_return_in_memory. · 0c8da560
      	* 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 committed
    • ip2k.c (TARGET_STRUCT_VALUE_RTX): New. · 49ca372c
      	* 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 committed
    • avr.c (TARGET_STRUCT_VALUE_RTX): New. · b069302c
      	* 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
      Kazu Hirata committed
    • * de.po: Update. · c2c71fe2
      From-SVN: r76563
      Joseph Myers committed
    • Fix ChangeLog date. · ad2768d0
      From-SVN: r76560
      Kriang Lerdsuwanakij committed
    • re PR c++/13797 (ICE on invalid template parameter) · 2620d095
      	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
      Kriang Lerdsuwanakij committed
    • Class.java: Imports reworked, reformated. · 135f54eb
      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
      Michael Koch committed
    • string_append.cc: Increase number of iterations. · 9c519c93
      2004-01-25  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/performance/string_append.cc: Increase number
      	of iterations.
      
      From-SVN: r76551
      Paolo Carlini committed
    • basic_string.h (erase(size_type, size_type), [...]): Call _M_replace_safe… · 30f315cd
      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
      Paolo Carlini committed
    • mips-protos.h (mips_reg_mode_ok_for_base_p): Delete. · bcbc6b7f
      	* 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
      Richard Sandiford committed
    • ffi.c (ffi_prep_args_v9): Shift the parameter array when the structure return… · 0ce78f01
      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
      Eric Botcazou committed
    • Remove for real. · bd915f51
      From-SVN: r76542
      Andrew Pinski committed
    • c-common.h: Fix comment typos. · 1f52178b
      	* 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 committed
    • frontends.texi: Update copyright. · 56ae1316
      	* doc/frontends.texi: Update copyright.
      	* doc/gcov.texi: Likewise.
      	* doc/gty.texi: Likewise.
      	* doc/sourcebuild.texi: Likewise.
      	* doc/standards.texi: Likewise.
      
      From-SVN: r76537
      Kazu Hirata committed
    • re PR target/12978 (problem with -fweb and c4x target) · b1dccb28
      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
      Herman A.J. ten Brugge committed
    • * de.po: Update. · bda95edf
      From-SVN: r76532
      Joseph Myers committed
    • Daily bump. · 1a50f072
      From-SVN: r76529
      GCC Administrator committed
  2. 24 Jan, 2004 17 commits