aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.c
diff options
context:
space:
mode:
authorOllie Wild <aaw@google.com>2007-09-28 04:25:54 +0000
committerOllie Wild <aaw@gcc.gnu.org>2007-09-28 04:25:54 +0000
commit12487dd07ef8c5b789ad47dc7f4341347e68f625 (patch)
tree879e65668805330d7be1aedfae2d117c74ba8aec /gcc/langhooks.c
parent3e60eff0f3e4808393ced59da85219fb99d38220 (diff)
downloadgcc-12487dd07ef8c5b789ad47dc7f4341347e68f625.zip
gcc-12487dd07ef8c5b789ad47dc7f4341347e68f625.tar.gz
gcc-12487dd07ef8c5b789ad47dc7f4341347e68f625.tar.bz2
varasm.c (compare_constant): Removed call to lang_hooks.expand_constant.
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. From-SVN: r128859
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r--gcc/langhooks.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index 4682514..6a9a74d 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -76,14 +76,6 @@ 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