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/cfgexpand.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/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index cd04a62..f50ab4a 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -643,11 +643,6 @@ expand_one_static_var (tree var) if (TREE_ASM_WRITTEN (var)) return; - /* Give the front end a chance to do whatever. In practice, this is - resolving duplicate names for IMA in C. */ - if (lang_hooks.expand_decl (var)) - return; - /* Otherwise, just emit the variable. */ rest_of_decl_compilation (var, 0, 0); } @@ -749,10 +744,7 @@ static HOST_WIDE_INT expand_one_var (tree var, bool toplevel, bool really_expand) { if (TREE_CODE (var) != VAR_DECL) - { - if (really_expand) - lang_hooks.expand_decl (var); - } + ; else if (DECL_EXTERNAL (var)) ; else if (DECL_HAS_VALUE_EXPR_P (var)) |