]> git.ipfire.org Git - thirdparty/gcc.git/commit
varasm.c (compare_constant): Removed call to lang_hooks.expand_constant.
authorOllie Wild <aaw@google.com>
Mon, 8 Oct 2007 16:52:27 +0000 (16:52 +0000)
committerOllie Wild <aaw@gcc.gnu.org>
Mon, 8 Oct 2007 16:52:27 +0000 (16:52 +0000)
commit6524147cd27499610b5f7b77314cc3e5a37bef3d
treea9192dd87364f60defb8b8a8f52355444dc0b37d
parenta222efd88a856f71d4e7dcb14d97d5f5a3aadce3
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.

gcc/ada/
* misc.c (LANG_HOOKS_PUSHDECL): Replaced lhd_return_tree with
gnat_return_tree.
(gnat_init_gcc_eh): Replaced gnat_eh_runtime_type with
gnat_return_tree.
(gnat_eh_runtime_type): Removed.
(gnat_return_tree): New function.

From-SVN: r129133
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/misc.c
gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.h
gcc/cp/expr.c
gcc/cp/typeck2.c
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h
gcc/varasm.c