[PATCH] Remove prepare_assemble_variable lang hook
Richard Guenther
richard.guenther@gmail.com
Sun Apr 8 11:36:00 GMT 2007
On 4/6/07, Andrew_Pinski@playstation.sony.com
<Andrew_Pinski@playstation.sony.com> wrote:
> Hi,
> This langhook was added with
> http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02633.html and then made dead
> with http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02660.html.
> Jan said he had one more use for this lang hook but that was over 3 years
> and no language uses the lang hook still. Plus I think the
> cgraph/tree-ssa changes make the use
> of the langhook that Jan had in mind no longer needed.
>
> OK? Bootstrapped and tested on i686-linux-gnu with no regressions.
This is ok.
Thanks,
Richard.
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
> * varasm.c (assemble_variable): Remove call to
> lang_hooks.decls.prepare_assemble_variable.
> * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): Kill.
> (LANG_HOOKS_DECLS): Remove LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE.
> * langhooks.h (lang_hooks_for_decls): Remove
> prepare_assemble_variable.
>
>
>
>
More information about the Gcc-patches
mailing list