1. 08 Aug, 2014 4 commits
    • calls.c (precompute_arguments): Check promoted_for_signed_and_unsigned_p and set the promoted mode. · 8c9a36b7
      gcc
      2014-08-08  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* calls.c (precompute_arguments): Check
      	 promoted_for_signed_and_unsigned_p and set the promoted mode.
      	(promoted_for_signed_and_unsigned_p): New function.
      	(expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
      	and set the promoted mode.
      	* expr.h (promoted_for_signed_and_unsigned_p): New function definition.
      	* cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
      	SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
      
      gcc/testsuite
      2014-08-08  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* gcc.dg/zero_sign_ext_test.c: New test.
      
      From-SVN: r213750
      Kugan Vivekanandarajah committed
    • calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET instead of… · 362d42dc
      calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET instead of SUBREG_PROMOTED_UNSIGNED_SET.
      
      gcc/
      2014-08-08  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET
      	instead of SUBREG_PROMOTED_UNSIGNED_SET.
      	(expand_call): Likewise.
      	* cfgexpand.c (expand_gimple_stmt_1): Use SUBREG_PROMOTED_SIGN
      	to get promoted mode.
      	* combine.c (record_promoted_value): Skip > 0 comparison with
      	SUBREG_PROMOTED_UNSIGNED_P as it now returns only 0 or 1.
      	* expr.c (convert_move): Use SUBREG_CHECK_PROMOTED_SIGN instead
      	of SUBREG_PROMOTED_UNSIGNED_P.
      	(convert_modes): Likewise.
      	(store_expr): Use SUBREG_PROMOTED_SIGN to get promoted mode.
      	Use SUBREG_CHECK_PROMOTED_SIGN instead of SUBREG_PROMOTED_UNSIGNED_P.
      	(expand_expr_real_1): Use new SUBREG_PROMOTED_SET instead of
      	SUBREG_PROMOTED_UNSIGNED_SET.
      	* function.c (assign_parm_setup_reg): Use new SUBREG_PROMOTED_SET
      	instead of SUBREG_PROMOTED_UNSIGNED_SET.
      	* ifcvt.c (noce_emit_cmove): Updated to use SUBREG_PROMOTED_GET and
      	SUBREG_PROMOTED_SET.
      	* internal-fn.c (ubsan_expand_si_overflow_mul_check): Use
      	SUBREG_PROMOTED_SET instead of SUBREG_PROMOTED_UNSIGNED_SET.
      	* optabs.c (widen_operand): Use SUBREG_CHECK_PROMOTED_SIGN instead
      	of SUBREG_PROMOTED_UNSIGNED_P.
      	* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Remove.
      	(SUBREG_PROMOTED_SET): New define.
      	(SUBREG_PROMOTED_GET): Likewise.
      	(SUBREG_PROMOTED_SIGN): Likewise.
      	(SUBREG_PROMOTED_SIGNED_P): Likewise.
      	(SUBREG_CHECK_PROMOTED_SIGN): Likewise.
      	(SUBREG_PROMOTED_UNSIGNED_P): Updated.
      	* rtlanal.c (unsigned_reg_p): Use new SUBREG_PROMOTED_GET
      	instead of SUBREG_PROMOTED_UNSIGNED_GET.
      	(nonzero_bits1): Skip > 0 comparison with the results as
      	SUBREG_PROMOTED_UNSIGNED_P now returns only 0 or 1.
      	(num_sign_bit_copies1): Use SUBREG_PROMOTED_SIGNED_P instead
      	of !SUBREG_PROMOTED_UNSIGNED_P.
      	* simplify-rtx.c (simplify_unary_operation_1): Use new
      	SUBREG_PROMOTED_SIGNED_P instead of !SUBREG_PROMOTED_UNSIGNED_P.
      	(simplify_subreg): Use new SUBREG_PROMOTED_SIGNED_P,
      	SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_SET instead of
      	SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_UNSIGNED_SET.
      
      From-SVN: r213749
      Kugan Vivekanandarajah committed
    • pr61772.c: Skip lto running. · 07ad7382
      
      	* gcc.dg/torture/pr61772.c: Skip lto running.
      
      From-SVN: r213748
      Bin Cheng committed
    • Daily bump. · 1f24d2a2
      From-SVN: r213747
      GCC Administrator committed
  2. 07 Aug, 2014 36 commits