--- Comment #9 from hjl at gcc dot gnu dot org 2010-02-23 17:04 ---
Subject: Bug 43031
Author: hjl
Date: Tue Feb 23 17:02:26 2010
New Revision: 157010
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157010
Log:
Backport testcases from mainline.
2010-02-23 H.J. Lu
--- Comment #7 from jacek at codeweavers dot com 2010-02-16 13:35 ---
I've confirmed that it's fixed for Mozilla code. Thank you!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43031
--- Comment #8 from hjl dot tools at gmail dot com 2010-02-17 04:51 ---
It failed on Linux/x86-64:
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/ext/attrib36.C:8:56:
warning: '__stdcall__' attribute ignored^M
--- Comment #4 from jason at gcc dot gnu dot org 2010-02-15 22:43 ---
Right, the stdcall attribute prevents us from using TYPE_CANONICAL, so it's not
clear to useless_type_conversion that the type of T::A is the same as P::F.
Specifically, they are distinct because P::F uses a typedef
--- Comment #5 from jason at gcc dot gnu dot org 2010-02-16 06:05 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #6 from jason at gcc dot gnu dot org 2010-02-16 06:05 ---
Subject: Bug 43031
Author: jason
Date: Tue Feb 16 06:05:20 2010
New Revision: 156793
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156793
Log:
PR c++/43031
* cp-gimplify.c (cp_gimplify_expr)
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-11 13:51 ---
Confirmed, reducing.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-11 14:46 ---
class T;
class L { };
class P : public L
{
typedef void (__attribute__((__stdcall__)) T::*F) (L*);
void f(bool aAdd);
};
class T
{
public:
virtual void __attribute__((__stdcall__)) A(L *listener) = 0;