1. 09 Jan, 2003 31 commits
  2. 08 Jan, 2003 9 commits
    • rs6000.h (FUNCTION_MODE): Always use SImode. · 5b71a4e7
              * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
              * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
              as hook_bool_tree_hwi_hwi_tree_true.
              (rs6000_emit_allocate_stack): Use TARGET_32BIT.
              (rs6000_emit_epilogue): Same.
              (rs6000_output_mi_thunk): Re-implement as RTL.
              * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
              xcoffout_declare_function if any debugging enabled.
      
      From-SVN: r61058
      David Edelsohn committed
    • config.guess: Update to 2003-01-03 version. · 66e2aa7d
      2003-01-08  Chris Demetriou  <cgd@broadcom.com>
      
              * config.guess: Update to 2003-01-03 version.
              * config.sub: Update to 2003-01-03 version.
      
      From-SVN: r61057
      Chris Demetriou committed
    • parser.c (cp_parser_primary_expression): See through explicitly scoped ALIAS_DECLs, too. · f74dbcec
              * parser.c (cp_parser_primary_expression): See through explicitly
              scoped ALIAS_DECLs, too.
      
      From-SVN: r61054
      Jason Merrill committed
    • config.gcc (mipsisa32r2-*-elf*, [...]): New targets, to support MIPS32 Release 2… · 2d2a50c3
      config.gcc (mipsisa32r2-*-elf*, [...]): New targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
      
      2003-01-08  Chris Demetriou  <cgd@broadcom.com>
      
      	* config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
      	targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
      	* config/mips/mips.h (enum processor_type): Rename
      	PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
      	PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
      	Add PROCESSOR_M4K.
      	(TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
      	(ISA_MIPS32R2): New define.
      	(GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
      	(ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
      	(ISA_HAS_PREFETCH): Add support for MIPS32R2.
      	(MIPS_ISA_DEFAULT): Likewise.  Also, fix indentation.
      	(TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2.  Add new
      	predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
      	(ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
      	compiling MIPS16 code.
      	(ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
      	comment.
      	(ISA_HAS_SEB_SEH): New define.
      	(ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
      	* config/mips/mips.c (mips_cpu_info_table): Adjust for enum
      	processor_type value renaming.  Add support for MIPS32R2.
      	Clean up comments, and move "sb1" entry with other MIPS64 CPU
      	entries.
      	(override_options): Reimplement -mipsN option handling so that
      	it will work correctly for -mips32r2.  Avoid branch-likely
      	instructions on MIPS32R2.
      	* config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
      	(extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
      	(extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
      	(extendhisi2_hw, extendqisi2_hw): New.
      	* config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
      	for MIPS32R2.  Add new predefine __mips_isa_rev for MIPS32,
      	MIPS32R2, and MIPS64.
      	(LINK_SPEC): Pass -mips32r2 to linker.
      	* config/mips/t-isa3264: Built -mips32r2 multilibs.
      	* doc/invoke.texi (MIPS Options): Add -mips32r2, add support
      	for mips32r2 in the -march description.  Alphabetically sort
      	CPU names in the -march description.  Add long-missed -mips32
      	and -mips64 to MIPS option summary.
      
      	* config.gcc: Update copyright years to include 2003.
      	* config/mips/mips.c: Likewise.
      	* config/mips/mips.h: Likewise.
      	* config/mips/mips.md: Likewise.
      	* config/mips/netbsd.h: Likewise.
      
      From-SVN: r61053
      Chris Demetriou committed
    • [multiple changes] · 7ec3af37
      
      2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/Makefile.am (stamp-*): Add checks for existing stamps.
      	* include/Makefile.in: Regenerate.
      
      	* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
      	* aclocal.m4: Regenerate.
      
      	* configure.in: Don't add new multi-do rules every time the
      	directory is reconfigured.
      	* configure: Regenerate.
      
      2003-01-08  Brad Spencer  <spencer@infointeractive.com>
                  Nathan Myers  <ncm@cantrip.org>
      
      	* src/Makefile.am (stamp-debug): Clean.
      	* src/Makefile.in: Regenerate.
      
      From-SVN: r61052
      Benjamin Kosnik committed
    • * decl.c: ANSIfy function declarations. · 11f6b451
      From-SVN: r61049
      Nathanael Nerode committed
    • parser.c (cp_parser_asm_definition): Correct handling of omitted operands. · 8caf4c38
      	* parser.c (cp_parser_asm_definition): Correct handling of omitted
      	operands.
      
      	* g++.dg/ext/asm4.C: New test.
      
      From-SVN: r61048
      Mark Mitchell committed
    • aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache variable. · 918c4fe4
      	* aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
      	variable.
      	* configure: Regenerated.
      
      From-SVN: r61047
      Andreas Schwab committed
    • re PR c++/9030 (Template friends and access to local classes) · 2b59fc25
      	PR c++/9030
      	* decl.c (make_typename_type): Check access only when tf_error.
      	(make_unbound_class_template): Likewise.
      	* pt.c (saved_access_scope): New variable.
      	(push_access_scope_real): New function.
      	(push_access_scope): Likewise.
      	(pop_access_scope): Likewise.
      	(tsubst_default_argument): Use them.
      	(instantiate_template): Likewise.
      	(regenerate_decl_from_template): Likewise.
      	(instantiate_decl): Likewise.
      	(get_mostly_instantiated_function_type): Likewise.
      
      	* g++.dg/template/friend12.C: New test.
      	* g++.dg/template/friend13.C: Likewise.
      	* g++.old-deja/g++.eh/spec6.C: Add missing error message.
      
      From-SVN: r61046
      Kriang Lerdsuwanakij committed