1. 16 Sep, 2004 9 commits
    • cp-tree.h (struct lang_type_class): Make pure_virtuals a VEC(tree). · 585b44d3
      	* cp-tree.h (struct lang_type_class): Make pure_virtuals a
      	VEC(tree).
      	(CLASSTYPE_INLINE_FRIENDS, CLASSTYPE_PURE_VIRTUALS): Update
      	comments.
      	* call.c (build_new_method_call): Don't confirm a pure virtual is
      	in CLASSTYPE_PURE_VIRTUALS.  Reorder checks. Make it a warning.
      	* class.c (check_methods): CLASSTYPE_INLINE_FRIENDS is a VEC(tree).
      	(fixup_inline_methods, finish_struct): Likewise.
      	* decl.c (finish_method): Likewise.
      	* search.c (dfs_get_pure_virtuals, get_pure_virtuals):
      	CLASSTYPE_PURE_VIRTUALS is a VEC(tree).
      	* typeck2.c (abstract_virtuals_error): Likewise. Truncate the
      	vector to avoid repeating the list in error messages.
      
      From-SVN: r87592
      Nathan Sidwell committed
    • encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro. · 45f17969
      2004-09-16  Andrew Pinski  <apinski@apple.com>
      
              * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
      
      From-SVN: r87591
      Andrew Pinski committed
    • * gcc.pot: Regenerate. · a05e4fdb
      From-SVN: r87590
      Joseph Myers committed
    • re PR libobjc/11572 (GNU libobjc no longer compiled on Darwin) · 0a1c093b
      2004-09-15  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR target/11572
              * configure.in (*-*-darwin*): Renable libobjc.
              * configure: Regenerate.
      
      From-SVN: r87589
      Andrew Pinski committed
    • re PR libobjc/11572 (GNU libobjc no longer compiled on Darwin) · 3dd53121
      2004-09-15  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR target/11572
              * c-incpath.h (target_c_incpath_s): Add extra_pre_includes.
              Add two parameters to extra_includes.
              (C_INCPATH_INIT): Remove.
              * c-incpath.c (register_include_chains): Call extra_pre_includes
              before adding the standard include directory.
              Update call to extra_includes.
              (!defined TARGET_EXTRA_INCLUDES): Update
              hook_void_charptr_charptr_int and add !define
              TARGET_EXTRA_PRE_INCLUDES.
              (!define TARGET_EXTRA_INCLUDES): Define as
              hook_void_charptr_charptr_int.
              (!define TARGET_EXTRA_PRE_INCLUDES): Likewise.
              (target_c_incpath): Always declare.
              * fixinclude.c (defined TARGET_EXTRA_INCLUDES): Declare a
              empty function.
              (define TARGET_EXTRA_PRE_INCLUDES): Likewise.
              * config/darwin.h: (darwin_register_frameworks): Update for
              the two new parameters.
              (darwin_register_objc_includes): Add prototype.
              (TARGET_EXTRA_PRE_INCLUDES): Define.
              * config/darwin-c.c (darwin_register_objc_includes): New function.
              (darwin_register_frameworks): Update for the two new parameters.
              (target_c_incpath): Remove.
              * config/t-darwin (darwin-c.o): Add $(PREPROCESSOR_DEFINES) to
              the compile line.
              * doc/tm.texi (TARGET_EXTRA_INCLUDES): Document the two new
              parameters.
              (TARGET_EXTRA_PRE_INCLUDES): Document.
      
              * gcc.c (spec_function): Add replace-outfile.
              (replace_outfile_spec_function): New function.
              * config/darwin.h (LINK_SPEC): Add replace
              -lobjc with -lobjc-gnu if -fgnu-runtime is
              supplied.
              * invoke.texi (replace-outfile): Document.
      
      From-SVN: r87588
      Andrew Pinski committed
    • cxxabi_tweaks.h (__cxa_cdtor_return_type): Define. · 511bbc8f
      	* config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type):
      	Define.
      	* config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type):
      	Define.
      	* libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type.
      	(__cxa_vec_new): Use it.
      	(__cxa_vec_new2): Likewise.
      	(__cxa_vec_new3): Likewise.
      	(__cxa_vec_cdtor): Likewise.
      	(__cxa_vec_cctor): Likeiwse.
      	(__cxa_vec_dtor): Likewise.
      	(__cxa_vec_cleanup): Likewise.
      	(__cxa_vec_delete2): Likewise.
      	(__cxa_vec_delete3): Likewise.
      	* libsupc++/vec.cc (__cxa_vec_new): Likewise.
      	(__cxa_vec_new2): Likewise.
      	(__cxa_vec_new3): Likewise.
      	(__cxa_vec_cdtor): Likewise.
      	(__cxa_vec_cctor): Likeiwse.
      	(__cxa_vec_dtor): Likewise.
      	(__cxa_vec_cleanup): Likewise.
      	(__cxa_vec_delete2): Likewise.
      	(__cxa_vec_delete3): Likewise.
      	(__aeabi_vec_ctor_nocookie_nodtor): New function.
      	(__aeabi_vec_ctor_cookie_nodtor): Likewise.
      	(__aeabi_vec_cctor_nocookie_nodtor): Likewise.
      	(__aeabi_vec_new_cookie_noctor): Likewise.
      	(__aeabi_vec_new_nocookie): Likewise.
      	(__aeabi_vec_new_cookie_nodtor): Likewise.
      	(__aeabi_vec_new_cookie): Likewise.
      	(__aeabi_vec_dtor): Likewise.
      	(__aeabi_vec_dtor_cookie): Likewise.
      	(__aeabi_vec_delete): Likewise.
      	(__aeabi_vec_delete3): Likewise.
      	(__aeabi_vec_delete3_nodtor): Likewise.
      	(__aeabi_atexit): Likewise.
      
      	* testsuite/g++.old-deja/g++.abi/cxa_vec.C: Adjust for ARM
      	EABI.
      
      From-SVN: r87585
      Mark Mitchell committed
    • Revert accidental commit of unrelated/unfinished changes. · 329bed5e
      From-SVN: r87583
      Paul Brook committed
    • Daily bump. · bb15588e
      From-SVN: r87581
      GCC Administrator committed
    • predict.c (expr_expected_value, [...]): New function. · 42f97fd2
      	* predict.c (expr_expected_value, strip_builtin_expect): New function.
      	(tree_predict_by_opcode): Use it.
      	(tree_estimate_probability): Add, for now disabled,
      	strip_builtin_expect call.
      
      From-SVN: r87578
      Jan Hubicka committed
  2. 15 Sep, 2004 31 commits