1. 26 Jan, 2004 14 commits
  2. 25 Jan, 2004 26 commits
    • mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2, and MIPS64 have HI/LO interlocks. · fdcf1e1e
      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
      Chris Demetriou committed
    • monetary_members.cc: Restore locale before rethrowing exception. · f942e78d
      * config/locale/gnu/monetary_members.cc: Restore locale before
      rethrowing exception.
      
      From-SVN: r76595
      Andreas Schwab committed
    • re PR c++/13810 (ICE on invalid default templates) · bbcd2439
      	PR c++/13810
      	* g++.dg/template/ttp7.C: New test.
      
      From-SVN: r76594
      Giovanni Bajo committed
    • re PR c++/13810 (ICE on invalid default templates) · a3a503a5
      	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
      Giovanni Bajo committed
    • basic_string.h (_M_replace_aux, [...]): Define inline here. · 91eab378
      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
      Paolo Carlini committed
    • stormy16-protos.h: Remove the prototype for xstormy16_setup_incoming_varargs. · 7e43c821
      	* 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
      Kazu Hirata committed
    • EXCLUDES: Update. · 01b84e13
      	* EXCLUDES: Update.
      	* gcc.pot: Regenerate.
      
      From-SVN: r76588
      Joseph Myers committed
    • mips.c (mips_offset_within_object_p): New function. · 62973ffe
      	* 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
      Richard Sandiford committed
    • sh.h (PROMOTE_FUNCTION_ARGS): Remove. · 8e67da21
      	* config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
      	(PROMOTE_FUNCTION_RETURN): Likewise.
      
      From-SVN: r76584
      Kazu Hirata committed
    • mn10300-protos.h: Remove the prototype for mn10300_builtin_saveregs. · 9024ea92
      	* 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
      Kazu Hirata committed
    • re PR bootstrap/13853 (Bootstrap fails when compiled with gcc 2.8.1 (gnat-3.14p)) · 20b4e8ae
      	PR bootstrap/13853
      	* cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.
      
      From-SVN: r76579
      Eric Botcazou committed
    • TextArea.java: Fix indentation. · 062732fd
      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 committed
    • GtkToolkit.java (checkImage): Inform image observer of image loading status. · 0058a7d8
      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
      Thomas Fitzsimmons committed
    • 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