This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch c i386]: Re: Replace target macro TARGET_ENUM_VA_LIST by target hook
- From: Joern Rennecke <joern dot rennecke at embecosm dot com>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Steven Bosscher <stevenb dot gcc dot gmail dot com at example dot com>, Richard Guenther <richard dot guenther at gmail dot com>, Gerald Pfeifer <gerald at pfeifer dot com>
- Date: Fri, 28 May 2010 12:51:14 -0400
- Subject: [patch c i386]: Re: Replace target macro TARGET_ENUM_VA_LIST by target hook
Why have you introduced another target hook initializer macro name that
does not match the targetm member name?
It should either be enum_va_list and TARGET_ENUM_VA_LIST or
enum_va_list_p and TARGET_ENUM_VA_LIST_P.
Also, in tm.texi, you got the type for the ptype hook parameter wrong.