diff options
author | aaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-29 03:47:05 +0000 |
---|---|---|
committer | aaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-29 03:47:05 +0000 |
commit | 1fab06aaf36ca06985faf4a832f50a6de6eeab58 (patch) | |
tree | 117f5e7112f351b5d67c496778a7e3a085dcdc1b /gcc/langhooks.c | |
parent | dfa26c6cc44dc1bb920d5209a45289a8c4566ea0 (diff) | |
download | gcc-1fab06aaf36ca06985faf4a832f50a6de6eeab58.tar.gz |
Revert
2007-09-27 Ollie Wild <aaw@google.com>
gcc/
* varasm.c (compare_constant): Removed call to
lang_hooks.expand_constant.
(copy_constants): Removed call to lang_hooks.expand_constant.
(compute_reloc_for_constant): Removed call to
lang_hooks.expand_constant.
(output_addressed_constants): Removed call to
lang_hooks.expand_constant.
(constructor_static_from_elts_p): Removed call to
lang_hooks.expand_constant.
(output_constant): Removed calls to lang_hooks.expand_constant.
* langhooks.h (struct lang_hooks): Removed field expand_constant.
* langhooks-def.h (lhd_return_tree): Removed.
(LANG_HOOKS_EXPAND_CONSTANT): Removed.
(LANG_HOOKS_INITIALIZER): Removed LANG_HOOKS_EXPAND_CONSTANT.
* langhooks.c (lhd_return_tree): Removed.
gcc/cp/
* typeck2.c (digest_init): Call cplus_expand_constant after
convert_for_initialization.
* cp-objcp-common.h (LANG_HOOKS_EXPAND_CONSTANT): Removed.
* expr.c (cplus_expand_constant): Updated function description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 6a9a74dc70c..4682514508d 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -76,6 +76,14 @@ lhd_do_nothing_f (struct function * ARG_UNUSED (f)) { } +/* Do nothing (return the tree node passed). */ + +tree +lhd_return_tree (tree t) +{ + return t; +} + /* Do nothing (return NULL_TREE). */ tree |