OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce3676
)
(get_inner_reference): If flag_volatile, treat every INDIRECT_REF as volatile.
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Oct 1992 07:23:29 +0000
(07:23 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Oct 1992 07:23:29 +0000
(07:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2499
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index
84046a6
..
a9c6ff1
100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-2807,6
+2807,9
@@
get_inner_reference (exp, pbitsize, pbitpos, poffset, pmode, punsignedp, pvolati
while (1)
{
+ if (TREE_CODE (exp) == INDIRECT_REF && flag_volatile)
+ *pvolatilep = 1;
+
if (TREE_CODE (exp) == COMPONENT_REF || TREE_CODE (exp) == BIT_FIELD_REF)
{
tree pos = (TREE_CODE (exp) == COMPONENT_REF