[patch c i386]: Replace target macro TARGET_ENUM_VA_LIST by target hook

Richard Guenther richard.guenther@gmail.com
Thu May 27 10:32:00 GMT 2010


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.

Thanks,
Richard.

> Regards,
> Kai
> --
> |  (\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>



More information about the Gcc-patches mailing list