expr.c (expand_expr): Allow assignments from TImode PARM_DECLs and VAR_DECLs.
8 * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs and VAR_DECLs. From-SVN: r21784
This commit is contained in:
parent
27fa9e4bdf
commit
ce3c0b5314
1 changed files with 6 additions and 1 deletions
|
@ -5255,7 +5255,10 @@ expand_expr (exp, target, tmode, modifier)
|
|||
}
|
||||
|
||||
#ifdef MAX_INTEGER_COMPUTATION_MODE
|
||||
if (target && TREE_CODE (exp) != INTEGER_CST)
|
||||
if (target
|
||||
&& TREE_CODE (exp) != INTEGER_CST
|
||||
&& TREE_CODE (exp) != PARM_DECL
|
||||
&& TREE_CODE (exp) != VAR_DECL)
|
||||
{
|
||||
enum machine_mode mode = GET_MODE (target);
|
||||
|
||||
|
@ -5265,6 +5268,8 @@ expand_expr (exp, target, tmode, modifier)
|
|||
}
|
||||
|
||||
if (TREE_CODE (exp) != INTEGER_CST
|
||||
&& TREE_CODE (exp) != PARM_DECL
|
||||
&& TREE_CODE (exp) != VAR_DECL
|
||||
&& GET_MODE_CLASS (tmode) == MODE_INT
|
||||
&& tmode > MAX_INTEGER_COMPUTATION_MODE)
|
||||
fatal ("unsupported wide integer operation");
|
||||
|
|
Loading…
Add table
Reference in a new issue