1. 04 Feb, 2014 24 commits
  2. 03 Feb, 2014 16 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
    • re PR c++/58871 ([c++11] ICE with defaulted copy constructor in broken template class hierarchy) · f344f525
      /cp
      2014-02-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/58871
      	* method.c (synthesized_method_walk): If vbases is non-null but
      	is_empty is true, likewise don't worry about the virtual bases.
      
      /testsuite
      2014-02-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/58871
      	* g++.dg/cpp0x/pr58871.C: New.
      
      From-SVN: r207434
      Paolo Carlini committed
    • re PR tree-optimization/60000 (GCC trunk build failure caused by the vectorizer) · cf5b2be2
      2014-02-03  Cong Hou  <congh@google.com>
      
      	PR tree-optimization/60000
      	* tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL
      	if the vectorized statement is a store.  A store statement can only
      	appear at the end of pattern statements.
      
      2014-02-03  Cong Hou  <congh@google.com>
      
      	PR tree-optimization/60000
      	* g++.dg/vect/pr60000.cc: New test.
      
      From-SVN: r207433
      Cong Hou committed
    • ltmain.sh: Patch for Solaris. · e3aaedd6
      From Rainer Orth.
      
      From-SVN: r207432
      Ian Lance Taylor committed
    • * gcc_update (files_and_dependencies): Add aarch64-tune.md. · 37f14a0d
      From-SVN: r207429
      Brooks Moses committed
    • Add -mlong-double-128 and make it default for 64-bit Bionic · a2a1ddb5
      gcc/
      
      	* config/i386/i386.c (flag_opts): Add -mlong-double-128.
      	(ix86_option_override_internal): Default long double to 64-bit for
      	32-bit Bionic and to 128-bit for 64-bit Bionic.
      
      	* config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 128 if
      	TARGET_LONG_DOUBLE_128 is true.
      	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
      
      	* config/i386/i386.opt (mlong-double-80): Negate -mlong-double-64.
      	(mlong-double-64): Negate -mlong-double-128.
      	(mlong-double-128): New option.
      
      	* config/i386/i386-c.c (ix86_target_macros): Define
      	__LONG_DOUBLE_128__ for TARGET_LONG_DOUBLE_128.
      
      	* doc/invoke.texi: Document -mlong-double-128.
      
      gcc/testsuite/
      
      	* gcc.target/i386/long-double-64-1.c: Verify __multf3 isn't used.
      	* gcc.target/i386/long-double-64-4.c: Likewise.
      	* gcc.target/i386/long-double-80-1.c: Likewise.
      	* gcc.target/i386/long-double-80-2.c: Likewise.
      	* gcc.target/i386/long-double-80-3.c: Likewise.
      	* gcc.target/i386/long-double-80-4.c: Likewise.
      	* gcc.target/i386/long-double-80-5.c: Likewise.
      	* gcc.target/i386/long-double-64-2.c: Limit to ia32.  Verify
      	__multf3 isn't used.
      	* gcc.target/i386/long-double-64-3.c: Likewise.
      	* gcc.target/i386/long-double-128-1.c: New test.
      	* gcc.target/i386/long-double-128-2.c: Likewise.
      	* gcc.target/i386/long-double-128-3.c: Likewise.
      	* gcc.target/i386/long-double-128-4.c: Likewise.
      	* gcc.target/i386/long-double-128-5.c: Likewise.
      	* gcc.target/i386/long-double-128-6.c: Likewise.
      	* gcc.target/i386/long-double-128-7.c: Likewise.
      	* gcc.target/i386/long-double-128-8.c: Likewise.
      	* gcc.target/i386/long-double-128-9.c: Likewise.
      	* gcc.target/i386/long-double-64-5.c: Likewise.
      	* gcc.target/i386/long-double-64-6.c: Likewise.
      	* gcc.target/i386/long-double-64-7.c: Likewise.
      	* gcc.target/i386/long-double-64-8.c: Likewise.
      	* gcc.target/i386/long-double-64-9.c: Likewise.
      	* gcc.target/i386/long-double-80-10.c: Likewise.
      	* gcc.target/i386/long-double-80-8.c: Likewise.
      	* gcc.target/i386/long-double-80-9.c: Likewise.
      
      From-SVN: r207428
      H.J. Lu committed
    • Check if mode is OK first · f742cf90
      	PR rtl-optimization/60024
      	* sel-sched.c (init_regs_for_mode): Check if mode is OK first.
      
      From-SVN: r207427
      H.J. Lu committed
    • invoke.texi: (fprofile-reorder-functions): Fix typo. · 8f36fd30
      2014-02-03  Markus Trippelsdorf  <markus@trippelsdorf.de>
      
      	* doc/invoke.texi: (fprofile-reorder-functions): Fix typo.
      
      From-SVN: r207423
      Markus Trippelsdorf committed
    • Actually add the test case from the previous commit. · cbb43664
      From-SVN: r207422
      Andrey Belevantsev committed
    • re PR rtl-optimization/57662 (ICE: SIGSEGV in code_motion_process_successors… · 861ec4f3
      re PR rtl-optimization/57662 (ICE: SIGSEGV in code_motion_process_successors with -fschedule-insns2 -fselective-scheduling2)
      
      gcc/
      	PR rtl-optimization/57662
      	* sel-sched.c (code_motion_path_driver): Do not mark already not
      	existing blocks in the visiting bitmap.
      
      testsuite/
      	PR rtl-optimization/57662
      	* g++.dg/pr57662.C: New test.
      
      From-SVN: r207421
      Andrey Belevantsev committed
    • sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P on the insn being emitted. · fe08255d
              * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
              on the insn being emitted.
      
      From-SVN: r207420
      Andrey Belevantsev committed
    • [Documentation] Remove documentation of gimple_asm_clear_volatile · 96d3a240
      2014-02-03  James Greenhalgh  <james.greenhalgh@arm.com>
      	    Will Deacon  <will.deacon@arm.com>
      
      	* doc/gimple.texi (gimple_asm_clear_volatile): Remove.
      
      
      Co-Authored-By: Will Deacon <will.deacon@arm.com>
      
      From-SVN: r207419
      James Greenhalgh committed