summaryrefslogtreecommitdiffstats
path: root/gcc/expr.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-29 16:23:20 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-29 16:23:20 +0000
commit930f0e87e15159578bcf3bc6edb70a2c9bdc5360 (patch)
treeb04c965157f31a59a49b3963cd4d9793bb84fcf4 /gcc/expr.c
parent7333de4ccf82d5671ad3e9f6c363980831a4f2b6 (diff)
downloadppe42-gcc-930f0e87e15159578bcf3bc6edb70a2c9bdc5360.tar.gz
ppe42-gcc-930f0e87e15159578bcf3bc6edb70a2c9bdc5360.zip
* calls.c (expand_call): Don't create a VAR_DECL just to throw it
away. * expr.c (expand_expr, case TARGET_EXPR): Don't call mark_addressable. * tree.h (get_file_function_name): Remove two duplicate declarations. * typeck.c (mark_addressable): Remove code that pokes around in RTL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36038 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index a5c306fd3a5..04604e01ea8 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -8104,10 +8104,7 @@ expand_expr (exp, target, tmode, modifier)
preserve_temp_slots (target);
DECL_RTL (slot) = target;
if (TREE_ADDRESSABLE (slot))
- {
- TREE_ADDRESSABLE (slot) = 0;
- mark_addressable (slot);
- }
+ put_var_into_stack (slot);
/* Since SLOT is not known to the called function
to belong to its stack frame, we must build an explicit
@@ -8145,10 +8142,7 @@ expand_expr (exp, target, tmode, modifier)
/* If we must have an addressable slot, then make sure that
the RTL that we just stored in slot is OK. */
if (TREE_ADDRESSABLE (slot))
- {
- TREE_ADDRESSABLE (slot) = 0;
- mark_addressable (slot);
- }
+ put_var_into_stack (slot);
}
}
OpenPOWER on IntegriCloud