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: "Bo Yang" <techrazy dot yang at gmail dot com>
- To: "Andrew Pinski" <pinskia at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Aug 2008 12:00:13 +0800
- Subject: Re: PATCH: Reserve the __attributes__ for member function pointer type
- References: <a47d5c0807302107o6ce10a99n3048aa004faee3f7@mail.gmail.com> <de8d50360807302110m3f33e26xcdc26d3cca08b898@mail.gmail.com>
On Thu, Jul 31, 2008 at 12:10 PM, Andrew Pinski <pinskia@gmail.com> wrote:
> 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 .
Yes, I have seen this bug, too. And the last comment of the bug is
posted by me. I am sure this bug reoccurs.
Regards!
Bo