1. 24 Feb, 2017 19 commits
  2. 23 Feb, 2017 16 commits
  3. 22 Feb, 2017 5 commits
    • rs6000: Fix fsel pattern (PR79211) · c5f06528
      The fsel define_insn uses fpr_reg_operand for its predicates.  This
      won't work because passes can put a hard register in the operands: in
      the testcase, combine likes to forward the parameter registers to what
      then is still an smin, and then split1 uses "*s<minmax><mode>3_fpr"
      (which has gpc_reg_operand).  And then we have a GPR in the operand,
      which does not match fpr_reg_operand.
      
      It seems to me the predicates should be gpc_reg_operand here as well.
      This patch changes that.
      
      
      	PR target/79211
      	* config/rs6000/rs6000.md (*fsel<SFDF:mode><SFDF2:mode>4): Use
      	gpc_reg_operand instead of fpr_reg_operand.
      
      From-SVN: r245667
      Segher Boessenkool committed
    • Fix MIPS o32 calling convention for MSA and FP vector types · 0a864a97
      gcc/
      	* config/mips/mips.c (mips_return_in_memory): Force FP
      	vector types to be returned in memory for o32 ABI.
      
      gcc/testsuite/
      
      	* gcc.target/mips/msa-fp-cc.c: New test.
      
      From-SVN: r245666
      Sameera Deshpande committed
    • * pt.c (do_class_deduction): Handle 0 argument case. · 349c6351
      From-SVN: r245665
      Jason Merrill committed
    • re PR c++/79664 (ICE with #pragma omp parallel in constexpr function) · e40b6fc7
      	PR c++/79664
      	* parser.c (cp_parser_omp_teams, cp_parser_omp_target): Use
      	SET_EXPR_LOCATION on OMP_TARGET/OMP_TEAMS tree.
      	* constexpr.c (potential_constant_expression_1): Handle
      	OMP_*, OACC_* and CILK_* trees.  Use error_at with
      	EXPR_LOC_OR_LOC (t, input_location) computed early
      	instead of error, or error_at with location_of (t).
      
      	* g++.dg/gomp/teams-1.C: Adjust expected diagnostic location.
      	* g++.dg/cpp1y/constexpr-throw.C: Likewise.
      	* g++.dg/gomp/pr79664.C: New test.
      
      From-SVN: r245662
      Jakub Jelinek committed
    • dwarf2out.c (gen_variable_die): For -gdwarf-5... · fe8ece05
      	* dwarf2out.c (gen_variable_die): For -gdwarf-5, use DW_TAG_variable
      	instead of DW_TAG_member for static data member declarations and don't
      	set no_linkage_name for static inline data members.
      	(gen_member_die): For -gdwarf-5 don't change DW_TAG_variable
      	to DW_TAG_member.
      
      	* g++.dg/debug/dwarf2/inline-var-2.C: New test.
      
      From-SVN: r245661
      Jakub Jelinek committed