Hi Jason /Nathan ,

We are able to fix the below issue and would like to hear any comments
/ suggestions will be appreciated.

Thank you
~Umesh


On Mon, Nov 12, 2018 at 5:07 PM umesh.kalappa0 at gmail dot com
<gcc-bugzi...@gcc.gnu.org> wrote:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52869
>
> Umesh Kalappa <umesh.kalappa0 at gmail dot com> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |umesh.kalappa0 at gmail dot 
> com
>
> --- Comment #8 from Umesh Kalappa <umesh.kalappa0 at gmail dot com> ---
> the following patch fix all the reported cases and tested with latest trunk 
> and
> 8.1 source i.e
>
> Index: gcc/cp/parser.c
> ===================================================================
> --- gcc/cp/parser.c     (revision 266026)
> +++ gcc/cp/parser.c     (working copy)
> @@ -24615,6 +24615,8 @@
>      {
>        tree expr;
>        cp_lexer_consume_token (parser->lexer);
> +
> +      inject_this_parameter (current_class_type, TYPE_UNQUALIFIED);
>
>        if (cp_lexer_peek_token (parser->lexer)->type == CPP_OPEN_PAREN)
>         {
>
> ok to commit ?

Reply via email to