aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-08-29 16:23:20 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-08-29 16:23:20 +0000
commit4361b41d838b11e957dfb751d55298bd1d1b1a55 (patch)
treeb04c965157f31a59a49b3963cd4d9793bb84fcf4 /gcc/expr.c
parent9b1ee05b0e2a948a2612dcc6b9835a91ee855f99 (diff)
downloadgcc-4361b41d838b11e957dfb751d55298bd1d1b1a55.zip
gcc-4361b41d838b11e957dfb751d55298bd1d1b1a55.tar.gz
gcc-4361b41d838b11e957dfb751d55298bd1d1b1a55.tar.bz2
calls.c (expand_call): Don't create a VAR_DECL just to throw it away.
* 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. From-SVN: r36038
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 a5c306f..04604e0 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);
}
}