diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2008-04-02 10:01:43 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2008-04-02 10:01:43 +0000 |
commit | 4846b4355c6f0253228e64ade49b8bf34227d693 (patch) | |
tree | bc6023893acaf15675538b0e59d69e987ad58feb /gcc/function.c | |
parent | 4fefbcdbe559d35de023ef4456ffbacba9bc37ad (diff) | |
download | gcc-4846b4355c6f0253228e64ade49b8bf34227d693.zip gcc-4846b4355c6f0253228e64ade49b8bf34227d693.tar.gz gcc-4846b4355c6f0253228e64ade49b8bf34227d693.tar.bz2 |
expr.c (expand_var): Delete it.
2008-04-02 Paolo Bonzini <bonzini@gnu.org>
* expr.c (expand_var): Delete it.
* expr.h (expand_var): Delete prototype.
* function.c (expand_function_start): Use expand_decl instead.
* cfgexpand.c (expand_one_static_var, expand_one_var): Don't call
langhook.
From-SVN: r133830
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index 5ca83b1..56f9865 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4259,7 +4259,9 @@ expand_function_start (tree subr) /* ??? We need to do this save early. Unfortunately here is before the frame variable gets declared. Help out... */ - expand_var (TREE_OPERAND (cfun->nonlocal_goto_save_area, 0)); + tree var = TREE_OPERAND (cfun->nonlocal_goto_save_area, 0); + if (!DECL_RTL_SET_P (var)) + expand_decl (var); t_save = build4 (ARRAY_REF, ptr_type_node, cfun->nonlocal_goto_save_area, |