aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-09-20 21:24:17 +0000
committerRichard Stallman <rms@gnu.org>1993-09-20 21:24:17 +0000
commit2c4c436ae8f1a6c4035fc33b87dd83fdf566a61a (patch)
treedb3f674c4cf9120e966baf7ecf7cfb021edf2f9f
parent493692cdb533b1e0f1057174d8aca43c6a0e563b (diff)
downloadgcc-2c4c436ae8f1a6c4035fc33b87dd83fdf566a61a.zip
gcc-2c4c436ae8f1a6c4035fc33b87dd83fdf566a61a.tar.gz
gcc-2c4c436ae8f1a6c4035fc33b87dd83fdf566a61a.tar.bz2
(expand_expr): Handle flag_volatile here.
From-SVN: r5375
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 7f22cb1..33dccf4 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -3893,7 +3893,7 @@ expand_expr (exp, target, tmode, modifier)
|| TREE_CODE (TREE_TYPE (exp2)) == UNION_TYPE
|| TREE_CODE (TREE_TYPE (exp2)) == QUAL_UNION_TYPE)))
MEM_IN_STRUCT_P (temp) = 1;
- MEM_VOLATILE_P (temp) = TREE_THIS_VOLATILE (exp);
+ MEM_VOLATILE_P (temp) = TREE_THIS_VOLATILE (exp) | flag_volatile;
#if 0 /* It is incorrect to set RTX_UNCHANGING_P here, because the fact that
a location is accessed through a pointer to const does not mean
that the value there can never change. */