On Tue, Feb 07, 2017 at 04:17:48PM -0500, Jason Merrill wrote: > On Tue, Feb 7, 2017 at 9:13 AM, Jonathan Wakely <jwak...@redhat.com> wrote: > > On 07/02/17 15:04 +0100, Marek Polacek wrote: > >> > >> Thanks much for the review. Looks ok now? > > I'd suggest adding something to say that the reason these are now > being diagnosed is that G++ used to treat e.g. this->member, where > member has a non-dependent type, as type-dependent, and now it > doesn't.
Like this? Index: porting_to.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/porting_to.html,v retrieving revision 1.5 diff -u -r1.5 porting_to.html --- porting_to.html 7 Feb 2017 14:22:39 -0000 1.5 +++ porting_to.html 8 Feb 2017 11:05:22 -0000 @@ -52,7 +52,9 @@ <p> As a consequence, the following examples are invalid and G++ will no longer -compile them: +compile them, because, in the following examples, G++ used to treat +<code>this-><em>member</em></code> where member has a non-dependent type, as +type-dependent, and now it doesn't. </p> <pre><code> Marek