This is the mail archive of the gcc@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: GCC 4.0 Status Report (2005-04-05)


Mark Mitchell schrieb:
Andrew Pinski wrote:


On Apr 4, 2005, at 7:26 PM, Mark Mitchell wrote:


20734 rejects valid pointer to member

Not yet assigned.



How is this less Critical? This would breaks lots of code, it is template related too as it is not rejected when not in templates.


Clearly this is a judgement call.

However, I think it's less critical because pointers-to-members and, in particular, pointers-to-members in templates are relatively less common. And, it's rejects-valid, so at least you know that you have a problem. And there are workarounds. In contrast, the top bug on the list is known to cause silent miscompilation of Qt, a very major package, and it's not easy to know where the problem is.


what is the workaround to this?
(in the case the class the pointer target is a member of is a template parameter, unlike in the PR test case)



-- Stefan Strasser


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