diff options
author | Michael Matz <matz@suse.de> | 2012-05-29 14:41:53 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2012-05-29 14:41:53 +0000 |
commit | ca5f4331230013bba0a5e4d1c4340158b2991b65 (patch) | |
tree | 5534a3c29342dd48c087ead51be0face86e90762 /gcc/function.c | |
parent | 508ef0c675b409e2c92c8078a2dc5043da88db1b (diff) | |
download | gcc-ca5f4331230013bba0a5e4d1c4340158b2991b65.zip gcc-ca5f4331230013bba0a5e4d1c4340158b2991b65.tar.gz gcc-ca5f4331230013bba0a5e4d1c4340158b2991b65.tar.bz2 |
expr.c (expand_expr_real_1 <normal_inner_ref>): Don't allocate a kept temp.
* expr.c (expand_expr_real_1 <normal_inner_ref>): Don't allocate
a kept temp.
(expand_expr_real_1 <COMPOUND_LITERAL_EXPR>): Make unreachable.
* gimple-fold.c (canonicalize_constructor_val): Canonicalize
COMPOUND_LITERAL_EXPR.
* function.c (expand_function_start): Don't call expand_decl,
instead assert that we have RTL assigned.
* tree-ssa-live.c (remove_unused_locals): Clear
nonlocal_goto_save_area if its backing variable is removed.
* stmt.c (expand_asm_operands): Remove handling of non-lvalues
as mem inputs.
(expand_decl): Assert that this does nothing.
* calls.c (expand_call): Don't call mark_temp_addr_taken.
* c-tree.h (c_expand_decl): Remove prototype.
c-family/
* c-common.h (c_expand_decl): Remove prototype.
ada/
* gcc-interface/utils.c (create_var_decl_1): Don't call expand_decl.
From-SVN: r187962
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/function.c b/gcc/function.c index 00c55a1..0fd4d36 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4788,11 +4788,8 @@ expand_function_start (tree subr) tree t_save; rtx r_save; - /* ??? We need to do this save early. Unfortunately here is - before the frame variable gets declared. Help out... */ tree var = TREE_OPERAND (cfun->nonlocal_goto_save_area, 0); - if (!DECL_RTL_SET_P (var)) - expand_decl (var); + gcc_assert (DECL_RTL_SET_P (var)); t_save = build4 (ARRAY_REF, TREE_TYPE (TREE_TYPE (cfun->nonlocal_goto_save_area)), |