Commit 610ce97e by Jason Merrill Committed by Jason Merrill

expr.c (expand_expr, [...]): Call mark_addressable again for the slot after we give it RTL.

	* expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
 	again for the slot after we give it RTL.

From-SVN: r15482
parent f633220c
......@@ -1064,6 +1064,11 @@ Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
print out the names of the notes. Print out the name of the insn
that is not a note, and not an {,CALL_,JUMP_}INSN.
Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
* expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
again for the slot after we give it RTL.
Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
* configure.in (haifa configury): Fix typo.
......
......@@ -6919,6 +6919,11 @@ expand_expr (exp, target, tmode, modifier)
/* All temp slots at this level must not conflict. */
preserve_temp_slots (target);
DECL_RTL (slot) = target;
if (TREE_ADDRESSABLE (slot))
{
TREE_ADDRESSABLE (slot) = 0;
mark_addressable (slot);
}
/* Since SLOT is not known to the called function
to belong to its stack frame, we must build an explicit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment