1. 04 Feb, 2014 35 commits
  2. 03 Feb, 2014 5 commits
    • re PR tree-optimization/59924 (uninit memory hog) · ade3ff24
      PR tree-opt/59924
      
              * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've
              already processed this node.
              (normalize_one_pred_1): Pass along mark_set.
              (normalize_one_pred): Create and destroy a pointer_set_t.
              (normalize_one_pred_chain): Likewise.
      
      From-SVN: r207442
      Richard Henderson committed
    • re PR gcov-profile/58602 (.gcno files not truncated at gcov_close) · 55428cc3
      	PR gcov-profile/58602
              * gcc/gcov-io.c (gcov_open): Open with truncation when mode<0
      
      From-SVN: r207441
      Laurent Alfonsi committed
    • re PR ipa/59831 (ice in cgraph_speculative_call_info with -O3) · 85942f45
      
      	PR ipa/59831
      	* g++.dg/ipa/devirt-24.C: New testcase.
      
      	* ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on -fno-devirtualize;
      	Try to devirtualize by the knowledge of virtual table pointer given by
      	aggregate propagation.
      	* ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
      	ipa_print_node_jump_functions): Dump also offset that
      	is relevant for polymorphic calls.
      	(determine_known_aggregate_parts): Add arg_type parameter; use it
      	instead of determining the type from pointer type.
      	(ipa_compute_jump_functions_for_edge): Update call of
      	determine_known_aggregate_parts.
      	* gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ...
      	(gimple_get_virt_method_for_binfo): ... here; simplify using
      	vtable_pointer_value_to_vtable.
      	* gimple-fold.h (gimple_get_virt_method_for_vtable): Declare.
      	* ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter
      	to unsigned HOST_WIDE_INT; Use vtable_pointer_value_to_vtable.
      	(vtable_pointer_value_to_vtable): Break out from ...; handle also
      	POINTER_PLUS_EXPR.
      	(vtable_pointer_value_to_binfo): ... here.
      	* ipa-utils.h (vtable_pointer_value_to_vtable): Declare.
      
      From-SVN: r207439
      Jan Hubicka committed
    • tree-vect-slp.c (vect_supported_load_permutation_p): Avoid redef of outer loop index variable. · bddc974e
      2014-02-03  Teresa Johnson  <tejohnson@google.com>
      
      	* tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
      	redef of outer loop index variable.
      
      From-SVN: r207437
      Teresa Johnson committed
    • re PR c++/53017 (Integer constant expression not constant enough for vector_size) · 5d77fb19
      2014-02-03  Marc Glisse  <marc.glisse@inria.fr>
      
      	PR c++/53017
      	PR c++/59211
      gcc/c-family/
      	* c-common.c (handle_aligned_attribute, handle_alloc_size_attribute,
      	handle_vector_size_attribute, handle_nonnull_attribute): Call
      	default_conversion on the attribute argument.
      	(handle_nonnull_attribute): Increment the argument number.
      gcc/cp/
      	* tree.c (handle_init_priority_attribute): Call default_conversion on
      	the attribute argument.
      gcc/
      	* doc/extend.texi (Function Attributes): Typo.
      gcc/testsuite/
      	* c-c++-common/attributes-1.c: New testcase.
      	* g++.dg/cpp0x/constexpr-attribute2.C: Likewise.
      
      From-SVN: r207436
      Marc Glisse committed