revert: calls.c (precompute_arguments): Check promoted_for_signed_and_unsigned_p...
authorKugan Vivekanandarajah <kuganv@linaro.org>
Wed, 10 Sep 2014 00:19:23 +0000 (00:19 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Wed, 10 Sep 2014 00:19:23 +0000 (00:19 +0000)
commit27be0c3223f143869834f6fc3ca55db940c3d1f4
treed053786efdea9dc7eae9d5703e0ec0f6b7bb2843
parent6e8962a5a0dbeb650af286b4a21b7dfe76661e4a
revert: calls.c (precompute_arguments): Check promoted_for_signed_and_unsigned_p and set the promoted mode.

gcc/ChangeLog:

2014-09-10  Kugan Vivekanandarajah  <kuganv@linaro.org>

Revert r213751:
* 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.

From-SVN: r215100
gcc/ChangeLog
gcc/calls.c
gcc/cfgexpand.c
gcc/expr.c
gcc/expr.h