1. 27 Apr, 2002 4 commits
  2. 26 Apr, 2002 23 commits
  3. 25 Apr, 2002 12 commits
    • s390.c (s390_emit_epilogue): Always restore registers needed by the compiler... · cf5ee720
      * config/s390/s390.c (s390_emit_epilogue): Always restore registers
      needed by the compiler, even if they are used as global regs.
      
      From-SVN: r52768
      Ulrich Weigand committed
    • mips.c (mips_class_max_nregs, [...]): New functions. · d604bca3
      2002-04-24  Matt Hiller  <hiller@redhat.com>
      
      	* mips.c (mips_class_max_nregs, mips_register_move_cost): New
      	functions.
      	* mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
      	of the corresponding functions.
      	* mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
      	New prototypes.
      
      2002-04-24  Matt Hiller  <hiller@redhat.com>
      
      	* config/mips/mips.h (mips_sw_reg_names): Declare as extern.
      
      	(ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
      	(FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
      	registers, adjust comment accordingly.
      	(FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
      	reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
      	DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
      	for coprocessor registers.
      	(ADDITIONAL_REGISTER_NAMES): Include
      	ALL_COP_ADDITIONAL_REGISTER_NAMES.
      
      	(COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
      	COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
      	COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
      	COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
      	COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
      
      	(mips_char_to_class): Adjust comment to include coprocessor
      	constraint letters.
      
      	* config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
      	New functions.
      	(mips_reg_names, mips_regno_to_class): Include coprocessor
      	information.
      	(mips_sw_reg_names): Ditto, make non-static.
      	(mips_move_1word): Handle moves to and from coprocessor registers.
      	(mips_move_2words): Handle moves to and from coprocessor
      	registers.
      	(mips_class_max_nregs, mips_register_move_cost): Handle
      	coprocessor register classes.
      	(override_options): Initialize mips_char_to_class and
      	mips_hard_regno_mode_ok properly for coprocessor registers.
      
      	* config/mips/mips.md (movdi_internal, movdi_internal2,
      	movsi_internal1, movsi_internal2): Add constraint-sets for
      	coprocessor registers.
      	* testsuite/gcc.c-torture/mipscop-1.c: New testcase.
      	* testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
      	isn't mips.
      	* testsuite/gcc.c-torture/mipscop-2.c: New testcase.
      	* testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
      	isn't mips.
      	* testsuite/gcc.c-torture/mipscop-3.c: New testcase.
      	* testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
      	isn't mips.
      	* testsuite/gcc.c-torture/mipscop-4.c: New testcase.
      	* testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
      	isn't mips.
      
      	* doc/tm.texi: Document feature.
      
      From-SVN: r52765
      Matt Hiller committed
    • integrate.c (function_attribute_inlinable_p): Simplify. · b9a26d09
      	* integrate.c (function_attribute_inlinable_p): Simplify.
      	Check the table pointer is not NULL.
      
      From-SVN: r52763
      Neil Booth committed
    • 20020227-1.x: New file, xfail on 64-bit targets. · bf882c20
      	* gcc.c-torture/execute/20020227-1.x: New file, xfail on 64-bit
      	targets.
      
      From-SVN: r52762
      Kaveh R. Ghazi committed
    • re PR c++/5607 (No pointer adjustment in covariant return types) · 8d1f0f67
              PR c++/5607
              * search.c (check_final_overrider): No longer static.
              * class.c (update_vtable_entry_for_fn): Call it.
              * cp-tree.h: Adjust.
      
      From-SVN: r52760
      Jason Merrill committed
    • * doc/c-tree.texi: Fix typo in introduction. · ab5973b7
      From-SVN: r52758
      Steven Bosscher committed
    • Daily bump. · 0f2fd6a8
      From-SVN: r52757
      GCC Administrator committed
    • c-common.h (c_common_parse_file): Update. · ff45c01e
      	* c-common.h (c_common_parse_file): Update.
      	* c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
      	* c-lex.c (YYDEBUG): Get from c-lex.h.
      	(c_common_parse_file): Update.
      	* c-lex.h (YYDEBUG, yydebug): New.
      	* c-parse.in (YYDEBUG): Get from c-lex.h.
      	(c_set_yydebug): Remove.
      	* c-tree.h (c_set_yydebug): Remove.
      	* langhooks-def.h (lhd_do_nothing_i): New.
      	(lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
      	(LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
      	* langhooks.c  (lhd_do_nothing_i): New.
      	(lhd_set_yydebug): Remove.
      	* langhooks.h (struct lang_hooks): Update.
      	* toplev.c (set_yydebug): New.
      	(compile_file): Update call to parse_file hook.
      	(decode_d_option): Update.
      ada:
      	* misc.c (gnat_parse_file): Update.
      cp:
      	* cp-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
      	* cp-tree.h (cxx_set_yydebug): Die.
      	* lex.c (YYDEBUG): Get from c-lex.h.
      	(cxx_set_yydebug): Remove.
      	* parse.y: Include c-lex.h.
      	(YYDEBUG): Get from c-lex.h.
      f:
      	* com.h (ffe_parse_file): Update.
      	* lex.c (ffe_parse_file): Update.
      java:
      	* java-tree.h (java_parse_file): Update.
      	(java_set_yydebug): Remove.
      	* jcf-parse.c (yydebug): Remove.
      	(java_set_yydebug): Die.
      	(java_parse_file): Update.
      	* lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
      objc:
      	* objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
      
      From-SVN: r52753
      Neil Booth committed
    • For PR java/6425: · 9127b2da
      	* parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
      	EXPR_WFL_QUALIFICATION of qual_wfl.
      
      From-SVN: r52751
      Tom Tromey committed
    • mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing out an array type. · b970a21d
      	* mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
      	out an array type.
      	(write_CV_qualifiers_for_type): Use TYPE_QUALS, not cp_type_quals,
      	to determine qualifiers.
      
      From-SVN: r52749
      Mark Mitchell committed
    • typeck.c (build_modify_expr): The pedwarn for array assignment is now unconditional. · a49cfba8
              * typeck.c (build_modify_expr): The pedwarn for array assignment is
              now unconditional.
              * tree.c (build_cplus_array_type_1): Still process simple array types
              normally in templates.
      
      From-SVN: r52746
      Jason Merrill committed
  4. 24 Apr, 2002 1 commit