This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch c i386]: Replace target macro TARGET_ENUM_VA_LIST by target hook
On Thu, 27 May 2010, Richard Guenther wrote:
> On Thu, May 27, 2010 at 1:12 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
> > Hello,
> >
> > patch replaces target macro TARGET_ENUM_VA_LIST by target hook
> > enum_va_list (TARGET_ENUM_VA_LIST_P).
> >
> > 2010-05-27 ?Kai Tietz
> >
> > ? ? ? ?* c-common.c (c_common_nodes_and_builtins): Replace use
> > ? ? ? ?of TARGET_ENUM_VA_LIST by target hook enum_va_list.
> > ? ? ? ?* config/i386/i386.c (TARGET_ENUM_VA_LIST_P): Hook
> > ? ? ? ?to ix86_enum_va_list.
> > ? ? ? ?* config/i386/i386.h (TARGET_ENUM_VA_LIST): Removed.
> > ? ? ? ?* doc/tm.texi (TARGET_ENUM_VA_LIST): Removed.
> > ? ? ? ?(TARGET_ENUM_VA_LIST_P): Add hook description.
> > ? ? ? ?* target-def.h (TARGET_ENUM_VA_LIST_P): Added.
> > ? ? ? ?* target.h (gcc_target): Add enum_va_list hook.
> >
> > Tested for x86_64-pc-mingw32 and i686-pc-mingw32.
> >
> > Ok for apply?
>
> Ok if there are no complaints from C or x86 maintainers.
The C part is OK.
--
Joseph S. Myers
joseph@codesourcery.com