1. 24 Aug, 2008 1 commit
  2. 23 Aug, 2008 13 commits
    • ipa-cp.c (constant_val_insert): Remove. · 0f1961a2
      
      	* ipa-cp.c (constant_val_insert): Remove.
      	(ipcp_propagate_one_const): Remove.
      	(ipcp_create_replace_map): Always insert replacements to the map.
      	(ipcp_insert_stage): Do not try to insert statements by hand.
      	* tree-inline.c (insert_init_stmt): Break out from ...
      	(setup_one_parameter): ... here; allow NULL BB pointer.
      	(tree_function_versioning): Use setup_one_parameter to process
      	replacement map.
      
      From-SVN: r139525
      Jan Hubicka committed
    • gfortran.h (gfc_component): Add field "symbol_attribute attr"... · d4b7d0f0
      2008-08-23  Janus Weil  <janus@gcc.gnu.org>
      
      	* gfortran.h (gfc_component): Add field "symbol_attribute attr", remove
      	fields "pointer", "allocatable", "dimension", "access".
      	Remove functions "gfc_set_component_attr" and "gfc_get_component_attr".
      	* interface.c (gfc_compare_derived_types): Ditto.
      	* trans-array.c (gfc_array_allocate,structure_alloc_comps): Ditto.
      	* trans-expr.c (gfc_conv_component_ref,gfc_trans_subcomponent_assign,
      	gfc_conv_structure): Ditto.
      	* symbol.c (gfc_find_component,free_components,gfc_set_component_attr,
      	gfc_get_component_attr,verify_bind_c_derived_type,
      	generate_isocbinding_symbol): Ditto.
      	* decl.c (build_struct): Ditto.
      	* dump-parse-tree.c (show_components): Ditto.
      	* trans-stmt.c (gfc_trans_deallocate): Ditto.
      	* expr.c (gfc_check_assign,gfc_check_pointer_assign,
      	gfc_default_initializer): Ditto.
      	* module.c (mio_component): Ditto.
      	* trans-types.c (copy_dt_decls_ifequal,gfc_get_derived_type): Ditto.
      	* resolve.c (has_default_initializer,resolve_structure_cons,
      	gfc_iso_c_func_interface,find_array_spec,resolve_ref,
      	resolve_deallocate_expr,resolve_allocate_expr,resolve_fl_derived,
      	resolve_equivalence_derived): Ditto.
      	* trans-io.c (transfer_expr): Ditto.
      	* parse.c (parse_derived): Ditto.
      	* dependency.c (gfc_check_dependency): Ditto.
      	* primary.c (gfc_variable_attr): Ditto.
      
      From-SVN: r139524
      Janus Weil committed
    • tree.c (decl_address_ip_invariant_p): New function. · 00fc2333
      
      	* tree.c (decl_address_ip_invariant_p): New function.
      	* tree.h (decl_address_ip_invariant_p): Declare.
      	* gimple.c (strip_invariant_refs): Break out from ...
      	(is_gimple_invariant_address): ... here
      	(is_gimple_ip_invariant_address): New function.
      	(is_gimple_ip_invariant): New function.
      	* gimple.h (is_gimple_ip_invariant_address, is_gimple_ip_invariant):
      	Declare.
      
      	* ipa-cp.c (ipcp_lat_is_const): Remove handling of IPA_CONST_VALUE_REF.
      	(ipcp_lat_is_insertable): All constants are insertable.
      	(ipcp_lattice_from_jfunc, ipcp_print_all_lattices): Remove handling of
      	IPA_CONST_VALUE_REF.
      	(ipcp_initialize_node_lattices): Propagate all types of operands.
      	(build_const_val): Do not handle IPA_CONST_VALUE_REF.
      	(ipcp_create_replace_map): Reformat.
      	(ipcp_need_redirect_p): Simplify.
      	(ipcp_insert_stage): Check that argument is used before clonning.
      	* ipa-prop.c (ipa_print_node_jump_functions): Do not handle IPA_CONST_REF.
      	(compute_scalar_jump_functions): Simplify using is_gimple_ip_invariat.
      	(determine_cst_member_ptr): Keep wrapping ADDR_EXPR of members.
      	(update_call_notes_after_inlining): Expect ADDR_EXPR in operand.
      	* ipa-prop.h (jump_func_type): Remove IPA_CONST_REF.
      	(jump_func_type): Remove IPA_CONST_VALUE_REF.
      	* tree-inline.c (tree_function_versioning): Add variables referenced by
      	replacing trees.
      
      From-SVN: r139523
      Jan Hubicka committed
    • re PR target/37094 (Ada build broken for i586) · 98e146ab
      
      	PR target/37094
      	* i386.c (standard_80387_constant_p): Use optimize_size.
      
      From-SVN: r139522
      Jan Hubicka committed
    • re PR fortran/37076 (Concatenation of KIND=4 strings with KIND=4 parameters fails) · 3434e9a4
      2008-08-23  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/37076
              * arith.c (gfc_arith_concat): Fix concat of kind=4 strings.
      
      2008-08-23  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/37076
              * gfortran.dg/widechar_9.f90: New.
      
      From-SVN: r139521
      Tobias Burnus committed
    • re PR fortran/37025 (ICE with TRANSFER to non-default-kind character: transfer(int(z'bde4'),4_'a')) · 12ba225d
      2008-08-23  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/37025
              * target-memory.c (gfc_interpret_character): Support
              kind=4 characters.
      
      2008-08-23  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/37025
              * gfortran.dg/widechar_8.f90: New.
      
      From-SVN: r139520
      Tobias Burnus committed
    • re PR middle-end/37161 (Revision 139225 caused gfortran.dg/vect/pr33301.f -O) · 8b7b9d66
      	PR tree-optimization/37161
      	* tree-vectorizer.h (vect_get_smallest_scalar_type): Declare.
      	* tree-vect-analyze.c (vect_get_smallest_scalar_type): New function.
      	(vect_determine_vectorization_factor): Move the scalar type
      	retrieval to vect_get_smallest_scalar_type.
      	(vect_build_slp_tree): Call vect_get_smallest_scalar_type to get
      	scalar type. Remove redundant computation.
      	* tree-vect-transform.c (vect_get_constant_vectors): Add argument.
      	(vect_get_slp_defs): Take the type of RHS into account if
      	necessary by calling vect_get_smallest_scalar_type. Call
      	vect_get_constant_vectors with additional argument.
      
      From-SVN: r139518
      Ira Rosen committed
    • re PR other/35648 (-Wall includes -Wwrite-strings) · f4185118
      2008-08-23  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR 35648
      	* doc/invoke.texi (Wwrite-strings): Clarify description.
      
      From-SVN: r139517
      Manuel López-Ibáñez committed
    • MAINTAINERS: Use correct Umlaut for last name. · 28c9884c
      2008-08-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	* MAINTAINERS:  Use correct Umlaut for last name.
      
      From-SVN: r139510
      Thomas Koenig committed
    • [multiple changes] · 30a333ce
      2008-08-23  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add.
      	* testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise.
      	* testsuite/18_support/exception_ptr/current_exception.cc: Use it.
              * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
              * testsuite/18_support/exception_ptr/lifespan.cc: Likewise.
      
      2008-08-23  Sebastian Redl <sebastian.redl@getdesigned.at>
      
      	Add (again) exception propagation support as per N2179.  Feature is
      	available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined.
      	* libsupc++/exception_ptr.h (exception_ptr, current_exception,
              copy_exception, rethrow_exception): New file, implement exception
      	propagation.
              * libsupc++/eh_ptr.cc (exception_ptr, current_exception,
              rethrow_exception, __gxx_dependent_exception_cleanup): Likewise.
              * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count.
      	(__cxa_dependent_exception, __cxa_allocate_dependent_exception,
              __cxa_free_dependent_exception, __get_dependent_exception_from_ue,
              __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception,
              __gxx_dependent_exception_class, __get_object_from_ue,
              __get_object_from_ambiguous_exception): Add.
              (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename.
              (__is_gxx_exception_class): Handle dependent exceptions.
              * libsupc++/eh_arm.cc (__cxa_type_match): Likewise.
              * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise.
              * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise.
              * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise.
              * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception,
              __cxa_free_dependent_exception): Add.
              * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference
              counting.
              * libsupc++/exception: Conditionally include exception_ptr.h.
              * libsupc++/Makefile.am: Register new files.
              * libsupc++/Makefile.in: Regenerate.
              * config/abi/pre/gnu.ver: Add new symbols.
              * testsuite/18_support/exception_ptr/current_exception.cc: Test the
              core functionality of current_exception().
              * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the
              core functionality of rethrow_exception().
              * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of
              exception objects during exception propagation.
      
      From-SVN: r139509
      Paolo Carlini committed
    • re PR middle-end/37174 (ICE: in vinfo_for_stmt, at tree-vectorizer.h:546) · f5d3c7e1
      	PR tree-optimization/37174
      	* tree-vect-analyze.c (vect_get_and_check_slp_defs): Check that the
      	def stmt is a part of the loop before accessing its stmt_vec_info.
      
      From-SVN: r139508
      Ira Rosen committed
    • Daily bump. · 087b99a2
      From-SVN: r139505
      GCC Administrator committed
  3. 22 Aug, 2008 26 commits