projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266f954
)
(expand_expr_stmt): Bypass fetching a volatile value if it is VOIDmode.
author
Richard Stallman
<rms@gnu.org>
Sat, 6 Feb 1993 01:02:25 +0000
(
01:02
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 6 Feb 1993 01:02:25 +0000
(
01:02
+0000)
From-SVN: r3432
gcc/stmt.c
patch
|
blob
|
history
diff --git
a/gcc/stmt.c
b/gcc/stmt.c
index a4f032372e340fdafd6a25ed6faa048f81ab5802..a615fce053a07877adad38e59821d5c3fc27fb49 100644
(file)
--- a/
gcc/stmt.c
+++ b/
gcc/stmt.c
@@
-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
{