(expand_expr, case SAVE_EXPR): Fix error in last change.
From-SVN: r7141
This commit is contained in:
parent
0aaf4a5876
commit
e70d22c84f
|
@ -3952,8 +3952,9 @@ expand_expr (exp, target, tmode, modifier)
|
||||||
if (GET_CODE (SAVE_EXPR_RTL (exp)) == REG
|
if (GET_CODE (SAVE_EXPR_RTL (exp)) == REG
|
||||||
&& GET_MODE (SAVE_EXPR_RTL (exp)) != mode)
|
&& GET_MODE (SAVE_EXPR_RTL (exp)) != mode)
|
||||||
{
|
{
|
||||||
temp = gen_rtx (SUBREG, promote_mode (type, mode, &unsignedp, 0),
|
/* Compute the signedness and make the proper SUBREG. */
|
||||||
SAVE_EXPR_RTL (exp), 0);
|
promote_mode (type, mode, &unsignedp, 0);
|
||||||
|
temp = gen_rtx (SUBREG, mode, SAVE_EXPR_RTL (exp), 0);
|
||||||
SUBREG_PROMOTED_VAR_P (temp) = 1;
|
SUBREG_PROMOTED_VAR_P (temp) = 1;
|
||||||
SUBREG_PROMOTED_UNSIGNED_P (temp) = unsignedp;
|
SUBREG_PROMOTED_UNSIGNED_P (temp) = unsignedp;
|
||||||
return temp;
|
return temp;
|
||||||
|
|
Loading…
Reference in New Issue