diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-18 21:34:51 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-18 21:34:51 +0000 |
commit | 3e3f5658134438dcfb4ed65f19204cc52faeec16 (patch) | |
tree | f7751d8fc6afec0725d374a73d572b9d8c8973c3 /gcc | |
parent | 12d073e7c8c70ff2df0871bfa5cdf39c122ebac3 (diff) | |
download | gcc-3e3f5658134438dcfb4ed65f19204cc52faeec16.zip gcc-3e3f5658134438dcfb4ed65f19204cc52faeec16.tar.gz gcc-3e3f5658134438dcfb4ed65f19204cc52faeec16.tar.bz2 |
(expand_expr): Don't ensure ref to a volatile value if it is a function.
From-SVN: r3781
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3845,6 +3845,7 @@ expand_expr (exp, target, tmode, modifier) /* Ensure we reference a volatile object even if value is ignored. */ if (ignore && TREE_THIS_VOLATILE (exp) + && TREE_CODE (exp) != FUNCTION_DECL && mode != VOIDmode && mode != BLKmode) { target = gen_reg_rtx (mode); |