This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29328] calling convention attributes not encoded in member function pointer
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2006 04:56:52 -0000
- Subject: [Bug c++/29328] calling convention attributes not encoded in member function pointer
- References: <bug-29328-7865@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-05 04:56 -------
Here is a shorter testcase which shows the problem:
class X{};
void (X:: *b)();
void (__attribute((stdcall))X:: *c)() = b;
This also can create wrong code too.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |accepts-invalid, wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2006-10-05 04:56:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29328