projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c8c6a
)
(build_message_expr): Use save_expr for receiver.
author
Richard Stallman
<rms@gnu.org>
Tue, 3 Nov 1992 08:12:39 +0000
(08:12 +0000)
committer
Richard Stallman
<rms@gnu.org>
Tue, 3 Nov 1992 08:12:39 +0000
(08:12 +0000)
From-SVN: r2681
gcc/objc/objc-act.c
patch
|
blob
|
history
diff --git
a/gcc/objc/objc-act.c
b/gcc/objc/objc-act.c
index 1d38b8368ada451264a8f78ef3a3b0fad266d0ae..06e1de73137bf0f801e812a83e3c473d47c70b1b 100644
(file)
--- a/
gcc/objc/objc-act.c
+++ b/
gcc/objc/objc-act.c
@@
-2639,6
+2639,8
@@
build_message_expr (mess)
if (statically_allocated)
receiver = build_unary_op (ADDR_EXPR, receiver, 0);
+ /* Don't evaluate the receiver twice. */
+ receiver = save_expr (receiver);
self_object = receiver;
}
else