projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3439b
)
unuglyfying code
author
Aldy Hernandez
<aldyh@gcc.gnu.org>
Sun, 23 Jul 2000 17:17:37 +0000
(17:17 +0000)
committer
Aldy Hernandez
<aldyh@gcc.gnu.org>
Sun, 23 Jul 2000 17:17:37 +0000
(17:17 +0000)
From-SVN: r35206
gcc/recog.c
patch
|
blob
|
history
diff --git
a/gcc/recog.c
b/gcc/recog.c
index 3b7dab35ff23e7fead9c683899cf17f88d4498fd..a8d06bb59812a9ef1f3286ebaf509b85a919620c 100644
(file)
--- a/
gcc/recog.c
+++ b/
gcc/recog.c
@@
-934,10
+934,13
@@
general_operand (op, mode)
if (code == MEM)
{
register rtx y = XEXP (op, 0);
+
if (! volatile_ok && MEM_VOLATILE_P (op))
return 0;
+
if (GET_CODE (y) == ADDRESSOF)
return 1;
+
/* Use the mem's mode, since it will be reloaded thus. */
mode = GET_MODE (op);
GO_IF_LEGITIMATE_ADDRESS (mode, y, win);