aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2009-09-09 00:43:36 +0000
committerMichael Matz <matz@gcc.gnu.org>2009-09-09 00:43:36 +0000
commit4e18a7d41d5fc0b5a9e596e5693e514cc6bdfbf7 (patch)
treea983d9f99d48e2a96d50bdf1d707e518b0f89c42 /gcc/cfgexpand.c
parent5fb455bc704247467133ca73922a026489be9947 (diff)
downloadgcc-4e18a7d41d5fc0b5a9e596e5693e514cc6bdfbf7.zip
gcc-4e18a7d41d5fc0b5a9e596e5693e514cc6bdfbf7.tar.gz
gcc-4e18a7d41d5fc0b5a9e596e5693e514cc6bdfbf7.tar.bz2
re PR middle-end/41268 (bootstrap is broken after r151350 (expand from tuples))
PR middle-end/41268 * cfgexpand.c (expand_gimple_stmt_1): Use an int for storing SUBREG_PROMOTED_UNSIGNED_P, instead of a bool. * rtl.h (struct rtx, SUBREG_PROMOTED_UNSIGNED_P): Update comments to reflect reality. From-SVN: r151544
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index e840da8..d1c2be2 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -1920,19 +1920,19 @@ expand_gimple_stmt_1 (gimple stmt)
;
else if (promoted)
{
- bool unsigndp = SUBREG_PROMOTED_UNSIGNED_P (target);
+ int unsignedp = SUBREG_PROMOTED_UNSIGNED_P (target);
/* If TEMP is a VOIDmode constant, use convert_modes to make
sure that we properly convert it. */
if (CONSTANT_P (temp) && GET_MODE (temp) == VOIDmode)
{
temp = convert_modes (GET_MODE (target),
TYPE_MODE (ops.type),
- temp, unsigndp);
+ temp, unsignedp);
temp = convert_modes (GET_MODE (SUBREG_REG (target)),
- GET_MODE (target), temp, unsigndp);
+ GET_MODE (target), temp, unsignedp);
}
- convert_move (SUBREG_REG (target), temp, unsigndp);
+ convert_move (SUBREG_REG (target), temp, unsignedp);
}
else if (nontemporal && emit_storent_insn (target, temp))
;