1. 16 Sep, 2004 15 commits
    • missing changelog entry · fbc704f8
      missing changelog entry
      	* 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: r87602
      Nathan Sidwell committed
    • fold-const.c (fold): Fold difference of addresses. · 2f4675b4
      	* fold-const.c (fold): Fold difference of addresses.
      	(ptr_difference_const): Moved from tree-ssa-loop-ivopts, based on
      	get_inner_reference.
      	* tree-ssa-loop-ivopts.c (peel_address): Removed.
      	(ptr_difference_const): Moved to fold-const.c.
      	(split_address_cost): Use get_inner_reference instead of peel_address.
      	(ptr_difference_cost): Change type of diff to HOST_WIDE_INT.
      	* tree.h (ptr_difference_const): Export.
      
      	* tree-ssa-loop-ivopts.c (dump_iv, dump_use, dump_cand): Add induction
      	variable type to the dump.  Fix indentation.
      	(idx_find_step): Handle nonconstant array_ref_element_size and
      	array_ref_low_bound.
      	(idx_record_use): Handle array_ref_element_size and
      	array_ref_low_bound.
      	(find_interesting_uses_stmt): Handle memory = nontrivial_expression
      	statements correctly.
      	(get_computation_at, iv_value): Do not unshare expressions here.
      	(rewrite_use_outer): Unshare the expression before it is emitted
      	to code.
      	* tree-ssa-loop-niter.c (unsigned_type_for, signed_type_for):
      	Moved to tree.c.
      	* tree.c (unsigned_type_for, signed_type_for): Moved from
      	tree-ssa-loop-niter.c.  Use langhooks.
      	* tree.h (signed_type_for): Export.
      
      From-SVN: r87601
      Zdenek Dvorak committed
    • * search.c: Follow spelling conventions. · 9c763d19
      From-SVN: r87600
      Kazu Hirata committed
    • rs6000.c (rs6000_xcoff_asm_named_section): Update prototype. · 8210e4c4
              * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Update
              prototype.
      
      From-SVN: r87599
      David Edelsohn committed
    • trans-io.c (transfer_array_component): New function. · d2ccf6aa
      2004-09-16  Victor Leikehman  <lei@il.ibm.com>
      
      	PR/15364
      	* trans-io.c (transfer_array_component): New function.
      	(transfer_expr): For array fields, call transfer_array_component.
      testsuite/
      	* gfortran.dg/der_array_io_1.f90: New test.
      	* gfortran.dg/der_array_io_2.f90: New test.
      	* gfortran.dg/der_array_io_3.f90: New test.
      
      From-SVN: r87596
      Victor Leikehman committed
    • * gfortran.texi: Fix a typo. · de787a96
      From-SVN: r87595
      Kazu Hirata committed
    • 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 25 commits