Re: [C++ Patch / RFC] PR 54864

2013-08-07 Thread Paolo Carlini
Hi, On 08/07/2013 09:52 PM, Jason Merrill wrote: The rule that allows use of *this is pretty specific: Unlike the object expression in other contexts, *this is not required to be of complete type for purposes of class member access (5.2.5) outside the member function body. That doesn't seem

Re: [C++ Patch / RFC] PR 54864

2013-08-07 Thread Jason Merrill
On 08/07/2013 03:17 PM, Paolo Carlini wrote: the issue here is that... I'm not sure the bug report is valid ;) Seriously, *if* we think it is, must be fixable with a moderate effort. Here Jason fixed the closely related c++/53721: http://gcc.gnu.org/ml/gcc-patches/2013-04/msg01445.html and

[C++ Patch / RFC] PR 54864

2013-08-07 Thread Paolo Carlini
Hi, the issue here is that... I'm not sure the bug report is valid ;) Seriously, *if* we think it is, must be fixable with a moderate effort. Here Jason fixed the closely related c++/53721: http://gcc.gnu.org/ml/gcc-patches/2013-04/msg01445.html and tweaking a bit more the check would al