From 610ce97e654a9f2ed5e103bddd936988c5768538 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 16 Sep 1997 07:53:56 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/expr.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2c079bc726..9cfaca9ec2f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1064,6 +1064,11 @@ Fri Aug 15 13:43:39 1997 Michael Meissner 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 + + * 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 * configure.in (haifa configury): Fix typo. diff --git a/gcc/expr.c b/gcc/expr.c index 640bc8fd30e..96033da1baa 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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 -- 2.30.2