projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35523fc
)
(expand_expr): For COMPONENT_REF, don't force_reg op0 if it is BLKmode.
author
Richard Stallman
<rms@gnu.org>
Sun, 28 Mar 1993 23:55:45 +0000
(23:55 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 28 Mar 1993 23:55:45 +0000
(23:55 +0000)
From-SVN: r3905
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 40a56190208779659bdd68962ecdd842b2f33fcf..bee6e2d58cdf28dfe83e3e90b0cab04f12f529f1 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-3854,7
+3854,7
@@
expand_expr (exp, target, tmode, modifier)
if (CONSTANT_P (op0))
{
enum machine_mode mode = TYPE_MODE (TREE_TYPE (tem));
- if (LEGITIMATE_CONSTANT_P (op0))
+ if (
mode != BLKmode &&
LEGITIMATE_CONSTANT_P (op0))
op0 = force_reg (mode, op0);
else
op0 = validize_mem (force_const_mem (mode, op0));