This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Reserve the __attributes__ for member function pointer type
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Bo Yang" <techrazy dot yang at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Jul 2008 21:10:26 -0700
- Subject: Re: PATCH: Reserve the __attributes__ for member function pointer type
- References: <a47d5c0807302107o6ce10a99n3048aa004faee3f7@mail.gmail.com>
On Wed, Jul 30, 2008 at 9:07 PM, Bo Yang <techrazy.yang@gmail.com> wrote:
> Hi,
>
> The now gcc trunk fails to record the attributes of pointer type
> to member functions. The following test case produce this problem.
> The __attribute__((__stdcall__)) of the pointer type "test" did not
> produce its effect. I mean, the generated ASM code did not use
> __stdcall__ convension for the "test" pointer. And this cause a
> corrupted stack then a crash of this test case.
This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9381 .
-- Pinski