cvt.c (build_up_reference): A TARGET_EXPR has side effects.
* cvt.c (build_up_reference): A TARGET_EXPR has side effects. 14507 From-SVN: r17422
This commit is contained in:
parent
5830e3a0ca
commit
f62aa8f3f1
|
@ -1,3 +1,7 @@
|
|||
Mon Jan 19 13:18:51 1998 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* cvt.c (build_up_reference): A TARGET_EXPR has side effects.
|
||||
|
||||
Fri Jan 16 11:40:50 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
|
||||
|
||||
* error.c (dump_decl): For enum tags, output the tag, not its value.
|
||||
|
|
|
@ -422,6 +422,7 @@ build_up_reference (type, arg, flags, checkconst)
|
|||
{
|
||||
tree slot = build_decl (VAR_DECL, NULL_TREE, argtype);
|
||||
arg = build (TARGET_EXPR, argtype, slot, arg, NULL_TREE, NULL_TREE);
|
||||
TREE_SIDE_EFFECTS (arg) = 1;
|
||||
}
|
||||
|
||||
/* If we had a way to wrap this up, and say, if we ever needed it's
|
||||
|
|
Loading…
Reference in New Issue