(expand_expr_stmt): Bypass fetching a volatile value if it is VOIDmode.
From-SVN: r3432
This commit is contained in:
parent
266f95411b
commit
6a5bbbe6b8
@ -1326,7 +1326,9 @@ expand_expr_stmt (exp)
|
||||
if (last_expr_value != 0 && GET_CODE (last_expr_value) == MEM
|
||||
&& TREE_THIS_VOLATILE (exp))
|
||||
{
|
||||
if (TYPE_MODE (TREE_TYPE (exp)) != BLKmode)
|
||||
if (TYPE_MODE (TREE_TYPE (exp)) == VOIDmode)
|
||||
;
|
||||
else if (TYPE_MODE (TREE_TYPE (exp)) != BLKmode)
|
||||
copy_to_reg (last_expr_value);
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user