This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove mark_addressable langhook
On Mon, 31 Aug 2009, Tom Tromey wrote:
> >>>>> "Richard" == Richard Guenther <rguenther@suse.de> writes:
>
> Richard> java/
> Richard> * lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Remove.
>
> Richard> - #undef LANG_HOOKS_MARK_ADDRESSABLE
> Richard> - #define LANG_HOOKS_MARK_ADDRESSABLE java_mark_addressable
>
> You should remove the function, too.
> This is its only real use (the other uses are recursive calls).
Damn recursion. Somebody should teach grep to ignore them!
I'll update the patch and double-check the other languages.
Thanks,
Richard.