projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d073e
)
(expand_expr): Don't ensure ref to a volatile value if it is a function.
author
Richard Stallman
<rms@gnu.org>
Thu, 18 Mar 1993 21:34:51 +0000
(21:34 +0000)
committer
Richard Stallman
<rms@gnu.org>
Thu, 18 Mar 1993 21:34:51 +0000
(21:34 +0000)
From-SVN: r3781
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 6242fe6607f15c2bf6ba83622ceb95cd7c397633..894545195b293e9d36c0f263d43f550f687c5915 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-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);