This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed][ada]: Remove LANG_HOOKS_EXPAND_EXPR
Joseph S. Myers wrote:
> On Fri, 17 Apr 2009, Diego Novillo wrote:
>
>> This langhook was removed a while ago but it was still present in ada.
>
> This illustrates one reason why we should be more consistent about adding
> removed hooks, and target macros replaced by hooks, to the lists of
> poisoned identifiers in system.h. (It also helps people updating
> out-of-tree or on-branch front ends and back ends to know what needs to
> change for changed interfaces in GCC.)
Yes, I did it in the LEGITIMIZE_ADDRESS patch for example.
I'll prepare a patch to poison the lang hooks I removed over the last year.
Paolo