1. 26 Feb, 2002 1 commit
  2. 25 Feb, 2002 8 commits
  3. 24 Feb, 2002 6 commits
  4. 23 Feb, 2002 15 commits
  5. 22 Feb, 2002 10 commits
    • class.c: Change vtable to be more compatible with g++ v3 abi. · dcb36804
      	*  class.c:  Change vtable to be more compatible with g++ v3 abi.
      	(get_dispatch_table):  Prepend offset-to-top (always 0) and
      	type_info pointer (currently unimplemented hence NULL) to vtable.
      	Specifically, prepend offset-to-top and typeinfo ptr (currently null).
      	(make_class_data):  Variable dtable_start_offset is sizeof 2 pointers.
      	Adjust vtable pointers by dtable_start_offse - i.e. skip new words.
      	(build_dtable_decl):  Add declarations for new fields.
      
      From-SVN: r49978
      Per Bothner committed
    • expr.c (store_expr): When converting expression to promoted equivalent type... · b76b08ef
      	* expr.c (store_expr): When converting expression to promoted
      	equivalent type, allow using SUBREG_REG of TARGET as the target
      	of the expansion of EXP.
      	* loop.c (basic_induction_var, case SUBREG): Always look inside.
      	* config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
      	(alpha_emit_set_const): Handle SImode when can't make new pseudos.
      	(alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
      	* config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
      
      From-SVN: r49972
      Richard Kenner committed
    • re PR c++/5748 (g++ dies with optimization) · 3256b817
      	PR c++/5748
      	* stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
      	decl if any of elements was TREE_USED.
      
      	* g++.dg/opt/anonunion1.C: New test.
      
      From-SVN: r49971
      Jakub Jelinek committed
    • sol2.h: Don't include sys/mman.h. · 9e0625a3
      * config/sparc/sol2.h: Don't include sys/mman.h.
      * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
      (arith_4096_operand): Don't throw high bits away.
      (const64_operand): Take sign extension of CONST_INTs into account.
      (const64_high_operand, sparc_emit_set_const32): Likewise.
      (GEN_HIGHINT64): Likewise.
      (sparc_emit_set_const64_quick1): Likewise.
      (const64_is_2insns): Likewise.
      (print_operand): Use trunc_int_for_mode for sign extension.
      * config/sparc/sparc.h (SMALL_INT32): Likewise.
      * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
      chars.  Assume CONST_INT is already properly sign-extended.
      (movdi split): Sign-extend each SImode part.
      (andsi3 split): Don't mask high bits off, so that result
      remains properly sign-extend.
      (iorsi3 split): Likewise.
      (xorsi3 split): Likewise.
      
      From-SVN: r49970
      Alexandre Oliva committed
    • re PR other/5746 (0220 cvs crashes using undeclared type) · 25c8b645
      	PR other/5746
      	* semantics.c (finish_switch_cond): Don't call get_unwidened
      	if error_mark_node.
      
      From-SVN: r49969
      Jakub Jelinek committed
    • parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$… · 453c182f
      parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call to finit$ (otherwise generate_bytecode_insns...
      
      
      	* parse.y (patch_method_invocation): Set CAN_COMPLETE_NORMALLY on call
      	to finit$ (otherwise generate_bytecode_insns drops it). However, we
      	don't need to set it on the COMPOUND_EXPR - the caller does that.
      
      From-SVN: r49966
      Per Bothner committed
    • PR c++/2645, DR 295 · 4f2b0fb2
      cp:
      	PR c++/2645, DR 295
      	* cp-tree.h (tsubst_flags_t): Add tf_ignore_bad_quals,
      	tf_keep_type_decl.
      	(make_typename_type): Use tsubst_flags_t.
      	* decl.c (make_typename_type): Adjust. Return non-artificial
      	TYPE_DECLs, if required.
      	(grokdeclarator): Simplify CVR qualification handling. Allow bad
      	qualifiers on typedef types.
      	* decl2.c (handle_class_head): Adjust make_typename_type call.
      	* parse.y (nested_name_specifier): Likewise.
      	(typename_sub0): Likewise.
      	(typename_sub1): Likewise.
      	* pt.c (convert_template_argument): Adjust make_typename_type
      	return value.
      	(tsubst): Adjust cp_build_qualified_type_real calls.
      	(check_cv_quals_for_unify): Cope with alowing bad qualifications
      	on template type parms.
      	(instantiate_decl): Recheck substitutions to give warnings on bad
      	qualifications.
      	* tree.c (cp_build_qualified_type_real): Use tf_allow_bad_quals.
      testsuite:
      	* g++.dg/template/qualttp19.C: New test.
      	* g++.dg/template/qualttp20.C: New test.
      	* g++.old-deja/g++.jason/report.C: Adjust expected errors
      	* g++.old-deja/g++.other/qual1.C: Likewise.
      
      From-SVN: r49961
      Nathan Sidwell committed
    • * fold-const.c (fold): Fix typo in comments. · 54fec3d5
      From-SVN: r49960
      Richard Sandiford committed
    • Daily bump. · d8e7756c
      From-SVN: r49957
      GCC Administrator committed
    • * Makefile.in (langhooks.o): Update dependencies. · 667ada9b
      From-SVN: r49956
      Diego Novillo committed