This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Reserve the __attributes__ for member function pointer type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]