This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: remove expand_constant lang_hook (was [RFC] Migrate pointers to members to the middle end)


Ollie Wild wrote:
> On 9/28/07, Ollie Wild <aaw@google.com> wrote:
>> Sorry about that.  I thought I'd tested this with a full bootstrap and
>> testsuite, but I obviously botched something somewhere.  I've rolled
>> this back.
> 
> Here's an updated patch which fixes the Ada build.  Rather than re-add
> lhd_return_tree, I've opted to use a gnat-specific function.  As luck
> would have it, gnat_eh_runtime_type already did the right thing, so
> I've renamed it and installed it as the pushdecl language hook.
> 
> Otherwise, this patch is identical to the previous one.

This is OK, if an Ada maintainers approves these changes:

> 2007-10-07  Ollie Wild  <aaw@google.com>
> 
>     * 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.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]