diff options
author | Richard Stallman <rms@gnu.org> | 1993-09-20 21:24:17 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-09-20 21:24:17 +0000 |
commit | 2c4c436ae8f1a6c4035fc33b87dd83fdf566a61a (patch) | |
tree | db3f674c4cf9120e966baf7ecf7cfb021edf2f9f | |
parent | 493692cdb533b1e0f1057174d8aca43c6a0e563b (diff) | |
download | gcc-2c4c436ae8f1a6c4035fc33b87dd83fdf566a61a.zip gcc-2c4c436ae8f1a6c4035fc33b87dd83fdf566a61a.tar.gz gcc-2c4c436ae8f1a6c4035fc33b87dd83fdf566a61a.tar.bz2 |
(expand_expr): Handle flag_volatile here.
From-SVN: r5375
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |