1. 09 Jan, 2013 15 commits
    • re PR middle-end/55114 (gcc.dg/builtins-53.c ICEs on mips64 soft-float) · 9a002da8
      gcc/
      	PR middle-end/55114
      	* expr.h (maybe_emit_group_store): Declare.
      	* expr.c (maybe_emit_group_store): New function.
      	* builtins.c (expand_builtin_int_roundingfn): Call it.
      	(expand_builtin_int_roundingfn_2): Likewise.
      
      From-SVN: r195060
      Richard Sandiford committed
    • PR rtl-optimization/pr55829 · 511dcace
      2013-01-09  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/pr55829
      	* lra-constraints.c (match_reload): Add code for absent output.
      	(curr_insn_transform): Add code for reloads of matched inputs
      	without output.
      
      2013-01-09  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/pr55829
      	* gcc.target/i386/pr55829.c: New.
      
      From-SVN: r195057
      Vladimir Makarov committed
    • sse.md (*vec_interleave_highv2df): Change mode attribute of movddup insn to DF. · 7b0fe4f4
      	* config/i386/sse.md (*vec_interleave_highv2df): Change mode
      	attribute of movddup insn to DF.
      	(*vec_interleave_lowv2df): Ditto.
      	(vec_dupv2df): Ditto.
      
      From-SVN: r195056
      Uros Bizjak committed
    • re PR fortran/55758 (LOGICAL and BIND(C): Reject kind=2/4/8/16 with -std=f2008,… · d0841b5b
      re PR fortran/55758 (LOGICAL and BIND(C): Reject kind=2/4/8/16 with -std=f2008, improve warning, switch to nonBOOLEAN_TYPE for those)
      
      2013-01-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/55758
              * resolve.c (resolve_symbol): Reject non-C_Bool logicals
              in BIND(C) procedures with -std=f*.
      
      2013-01-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/55758
              * gfortran.dg/bind_c_bool_1.f90: New.
              * gfortran.dg/do_5.f90: Add dg-warning.
      
      From-SVN: r195055
      Tobias Burnus committed
    • re PR tree-optimization/55875 (IVopts caused miscompilation) · 870ca331
      	PR tree-optimiation/55875
      	* gcc.c-torture/execute/pr55875.c: New testcase.
      	* g++.dg/torture/pr55875.C: New testcase.
      
      	* tree-ssa-loop-niter.c (number_of_iterations_cond): Add
      	EVERY_ITERATION parameter.
      	(number_of_iterations_exit): Check if exit is executed every
      	iteration.
      	(idx_infer_loop_bounds): Similarly here.
      	(n_of_executions_at_most): Simplify
      	to only test for cases where statement is dominated by the
      	particular bound; handle correctly the "postdominance"
      	test.
      	(scev_probably_wraps_p): Use max loop iterations info
      	as a global bound first.
      
      From-SVN: r195054
      Jan Hubicka committed
    • v850.md (cbranchsf4): New pattern. · 3cd232b5
      	* config/v850/v850.md (cbranchsf4): New pattern.
      	(cstoresf4): New pattern.
      	(cbranchdf4): New pattern.
      	(cstoredf4): New pattern.
      	(movsicc): Disallow floating point comparisons.
      	(cmpsf_le_insn): Fix order of operators.
      	(cmpsf_lt_insn): Likewise.
      	(cmpsf_eq_insn): Likewise.
      	(cmpdf_le_insn): Likewise.
      	(cmpdf_lt_insn): Likewise.
      	(cmpdf_eq_insn): Likewise.
      	(cmpsf_ge_insn): Use LE comparison.
      	(cmpdf_ge_insn): Likewise.
      	(cmpsf_gt_insn): Use LT comparison.
      	(cmpdf_gt_insn): Likewise.
      	(cmpsf_ne_insn): Delete pattern.
      	(cmpdf_ne_insn): Delete pattern.
      	* config/v850/v850.c (v850_gen_float_compare): Use
      	gen_cmpdf_eq_insn for NE comparison.
      	(v850_float_z_comparison_operator)
      	(v850_float_nz_comparison_operator): Move from here ...
      	* config/v850/predicates.md: ... to here.  Move GT and GE
      	comparisons into v850_float_z_comparison_operator.
      	* config/v850/v850-protos.h (v850_float_z_comparison_operator):
      	Delete prototype.
      	(v850_float_nz_comparison_operator): Likewise.
      
      From-SVN: r195053
      Nguyen Duy Dat committed
    • Build gmp before configuring gcc · 458752de
      	* Makefile.def (configure-gcc): Depend on all-gmp.
      	(all-gcc): Remove dependency on all-gmp.
      	* Makefile.in: Regenerated.
      
      From-SVN: r195052
      H.J. Lu committed
    • re PR c/48418 (Bit shift operator >>=) · cc83c823
      	PR c/48418
      	* c-common.c (c_fully_fold_internal): Warn for LSHIFT_EXPR and
      	RSHIFT_EXPR, if orig_op1 isn't INTEGER_CST, op1 is INTEGER_CST
      	and is either negative or bigger or equal to type precision
      	of the first operand.
      
      	* typeck.c (cp_build_binary_op): For LSHIFT_EXPR and RSHIFT_EXPR,
      	call maybe_constant_value for the negative or too big shift
      	count warnings.
      
      	* c-c++-common/pr48418.c: New test.
      
      From-SVN: r195051
      Jakub Jelinek committed
    • re PR c++/55801 (ICE with thread_local after ill-formed declaration) · fdbff37f
      /cp
      2013-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/55801
      	* decl2.c (var_needs_tls_wrapper): Return false when error_operand_p
      	of the argument is true.
      
      /testsuite
      2013-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/55801
      	* g++.dg/tls/thread_local-ice.C: New.
      
      From-SVN: r195050
      Paolo Carlini committed
    • pa.c (pa_emit_move_sequence): Replace calls to gen_insv with calls to gen_insvsi/gen_insvdi. · f0d54148
      	* config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
      	with calls to gen_insvsi/gen_insvdi.
      
      From-SVN: r195049
      John David Anglin committed
    • * gcc.dg/guality/pr54693.c: Null-terminate arr. · ed385baf
      From-SVN: r195048
      Andreas Schwab committed
    • Set up X86_TUNE_AVX128_OPTIMAL for m_BTVER2 · 8f01beca
      From-SVN: r195047
      Venkataramanan Kumar committed
    • re PR tree-optimization/48189 (ICE: SIGFPE (division by zero) in in… · 2aa579ad
      re PR tree-optimization/48189 (ICE: SIGFPE (division by zero) in in predict_loops () at predict.c:991 with --param max-predicted-iterations=0)
      
      	PR tree-optimization/48189
      	* predict.c (predict_loops): If max is 0, don't call compare_tree_int.
      	If nitercst is 0, don't predict the exit edge.
      
      	* gcc.dg/pr48189.c: New test.
      
      From-SVN: r195046
      Jakub Jelinek committed
    • pa.h (VAL_U6_BITS_P): Define. · f6f94d94
      	* config/pa/pa.h (VAL_U6_BITS_P): Define.
      	(INT_U6_BITS): Likewise.
      	* config/pa/predicates.md (uint6_operand): New predicate.
      	(shift5_operand, shift6_operand): Likewise.
      	* config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
      	arith32_operand.
      	(lshrdi3): Use shift6_operand.
      	(shrpsi4, shrpdi4): New insn patterns.
      	(extzv): Delete expander.
      	(extzvsi, extzvdi): New expanders.  Use uint5_operand and uint6_operand
      	predicates in unamed zero extract patterns.  Tighten common constraint.
      	(extv): Delete expander.
      	(extvsi, extvdi): New expanders.  Use uint5_operand and uint6_operand
      	predicates in unamed sign extract patterns.  Tighten common constraint.
      	(insv): Delete expander.
      	(insvsi, insvdi): New expanders.  Use uint5_operand and uint6_operand
      	predicates in unamed insert patterns.  Tighten common constraint.
      	Change uint32_operand predicate to uint6_operand predicate in unamed
      	DImode pattern to insert constant values of type 1...1xxxx.
      
      From-SVN: r195045
      John David Anglin committed
    • Daily bump. · 2a4e207b
      From-SVN: r195043
      GCC Administrator committed
  2. 08 Jan, 2013 25 commits