This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add support for the Win32 hook prologue (try 5)
- From: Stefan Dösinger <stefan at codeweavers dot com>
- To: Ross Ridge <rridge at csclub dot uwaterloo dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 24 Sep 2009 17:03:57 +0200
- Subject: Re: [PATCH] Add support for the Win32 hook prologue (try 5)
- References: <20090924143440.B819F73F77@caffeine.csclub.uwaterloo.ca>
Am 24.09.2009 um 16:34 schrieb Ross Ridge:
You need to create a new function as Richard Henderson implied above.
The ix86_handle_abi_attribute function expects to be passed a type
decl
and checks that it's a function type.
Ouch, stupid me. The check is right there at the start of
ix86_handle_abi_attribute. I'll give your suggestion a try.