1. 29 Nov, 2014 2 commits
  2. 28 Nov, 2014 23 commits
  3. 27 Nov, 2014 15 commits
    • i386.md (preferred_for_size): New attribute · a1a3ab65
      	* config/i386/i386.md (preferred_for_size): New attribute
      	(*pushxf): Split Yx*r constraints to r,*r.  Use preferred_for_size
      	attribute to conditionally disable alternative 1.
      	(*pushdf): Split Yd*r constraints to r,*r.  Use preferred_for_size
      	and prefered_for_speed attributes to conditionally disable
      	alternative 1.
      	(*movxf_internal): Split Yx*r constraints to r,*r.  Use
      	preferred_for_size attribute to conditionally disable
      	alternatives 3 and 4.
      	(*movdf_internal): Split Yd*r constraints to r,*r.  Use
      	preferred_for_size and prefered_for_speed attributes to conditionally
      	disable alternatives 3 and 4.
      	* config/i386/constraints.md (Yd, Yx): Remove register constraints.
      
      From-SVN: r218134
      Uros Bizjak committed
    • Use R15_REG for REAL_PIC_OFFSET_TABLE_REGNUM · e8b5eb25
      	 PR target/63833
      	 * config/i386/i386.h (REAL_PIC_OFFSET_TABLE_REGNUM): Use
      	 R15_REG for 64-bit.
      	 * config/i386/rdos64.h (REAL_PIC_OFFSET_TABLE_REGNUM): Removed.
      
      From-SVN: r218132
      H.J. Lu committed
    • Add self as nvptx port maintainer. · b9fb25a5
      	* MAINTAINERS (nvptx port): New entry.
      
      From-SVN: r218131
      Bernd Schmidt committed
    • Disable pedantic warning for this testcase. · 3c8c4e7d
      Committed as obvious patch
      
      From-SVN: r218130
      Kai Tietz committed
    • IPA ICF: fix memory leak. · c190efcc
      	* ipa-icf.c (sem_function::equals_private): int* is replaced with
      	auto_vec.
      	(sem_function::bb_dict_test): Likewise.
      	* ipa-icf.h: Likewise.
      
      
      Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
      
      From-SVN: r218129
      Martin Liska committed
    • re PR middle-end/64088 (ICE: in fold_abs_const, at fold-const.c:15550) · a92bf1b1
      2014-11-27  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/64088
      	* fold-const.c (const_unop): Re-instantiate missing condition
      	before calling fold_abs_const.
      
      	* gcc.dg/torture/pr64088.c: New testcase.
      
      	PR tree-optimization/64088
      	* tree-ssa-tail-merge.c (update_debug_stmt): After resetting
      	the stmt break from the loop over use operands.
      
      	* gcc.dg/torture/pr64091.c: New testcase.
      
      From-SVN: r218128
      Richard Biener committed
    • Support avx512f in __builtin_cpu_supports. · c17eac85
      gcc/
      
              * config/i386/cpuid.h (bit_MPX, bit_BNDREGS, bit_BNDCSR):
              Define.
              * config/i386/i386.c (get_builtin_code_for_version): Add avx512f.
              (fold_builtin_cpu): Ditto.
              * doc/extend.texi: Documment it.
      
      
      
      gcc/testsuite/
      
              * g++.dg/ext/mv2.C: Add test for target ("avx512f").
              * gcc.target/i386/builtin_target.c: Ditto.
      
      
      
      libgcc/
      
              * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
              * config/i386/cpuinfo.c (get_available_features): Detect it.
      
      From-SVN: r218125
      Ilya Tocar committed
    • lib1funcs.S (FUNC_START): Add conditional section redefine for macro… · 1025cb6c
      lib1funcs.S (FUNC_START): Add conditional section redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
      
      2014-11-27  Tony Wang  <tony.wang@arm.com>
      
          libgcc/
          * config/arm/lib1funcs.S (FUNC_START): Add conditional section
          redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
          (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
      
      From-SVN: r218124
      Tony Wang committed
    • re PR c++/63904 (ICE when accessing array member of constexpr struct) · 4784470a
      2014-11-27  Kai Tietz  <ktietz@redhat.com>
      
      	PR c++/63904
      	* constexpr.c (cxx_eval_vec_init_1): Avoid
      	type-overflow issue.
      
      From-SVN: r218123
      Kai Tietz committed
    • re PR c++/63904 (ICE when accessing array member of constexpr struct) · 4c1bfef7
      	PR c++/63904
      	* g++.dg/cpp0x/pr63904.C: New.
      
      From-SVN: r218122
      Kai Tietz committed
    • re PR middle-end/64067 (ICE in expand_expr_real_1, at expr.c:10540, involving… · 30d5d8c5
      re PR middle-end/64067 (ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans)
      
      	PR middle-end/64067
      	* expr.c (expand_expr_addr_expr_1) <case COMPOUND_LITERAL_EXPR>:
      	Handle it by returning address of COMPOUND_LITERAL_EXPR_DECL
      	not only if modifier is EXPAND_INITIALIZER, but whenever
      	COMPOUND_LITERAL_EXPR_DECL is non-NULL and TREE_STATIC.
      
      	* gcc.c-torture/compile/pr64067.c: New test.
      
      From-SVN: r218121
      Jakub Jelinek committed
    • re PR tree-optimization/64024 (gcc.dg/vect/vect-simd-clone-6.c ICEs) · 6c9e85fb
      	PR tree-optimization/64024
      	* tree-vectorizer.h (struct _stmt_vec_info): Remove simd_clone_fndecl
      	field.  Add simd_clone_info field.
      	(STMT_VINFO_SIMD_CLONE_FNDECL): Remove.
      	(STMT_VINFO_SIMD_CLONE_INFO): Define.
      	* tree-vect-stmts.c (vectorizable_simd_clone_call): Adjust for
      	STMT_VINFO_SIMD_CLONE_FNDECL becoming first element of
      	STMT_VINFO_SIMD_CLONE_INFO vector.  For linear arguments, remember
      	base and linear_step from analysis phase and use it during transform
      	phase, biased by the difference between LOOP_VINFO_NITERS{_UNCHANGED,}
      	multiplied by linear_step.
      	(free_stmt_vec_info): Release STMT_VINFO_SIMD_CLONE_INFO.
      
      	* gcc.dg/vect/vect-simd-clone-13.c: New test.
      	* gcc.dg/vect/vect-simd-clone-14.c: New test.
      
      From-SVN: r218120
      Jakub Jelinek committed
    • re PR lto/64025 (Several testsuite execution failures with -O2 -flto… · a7c75343
      re PR lto/64025 (Several testsuite execution failures with -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects)
      
      	PR lto/64025
      	* alias.c (find_base_term): Use std::swap.  Prefer tmp2
      	if it is CONSTANT_P other than CONST_INT.
      
      From-SVN: r218119
      Jakub Jelinek committed
    • re PR target/59593 ([arm big-endian] using "ldrh" access a immediate which… · 84593a48
      re PR target/59593 ([arm big-endian] using "ldrh" access a  immediate  which stored in a memory by word)
      
      2014-11-27  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/
          PR target/59593
          * config/arm/arm.c (dump_minipool): dispatch to consttable pattern
          based on mode size.
          * config/arm/arm.md (consttable_1): Move from config/arm/thumb1.md and
          make it TARGET_EITHER.
          (consttable_2): Move from config/arm/thumb1.md, make it TARGET_EITHER
          and move HFmode handling from consttable_4 to it.
          (consttable_4): Move HFmode handling to consttable_2 pattern.
          * config/arm/thumb1.md (consttable_1): Move to config/arm/arm.md.
          (consttable_2): Ditto.
      
          gcc/testsuite/
          PR target/59593
          * gcc.target/arm/constant-pool.c: New test.
      
      From-SVN: r218118
      Thomas Preud'homme committed