https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92438

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Dec 26 10:16:01 2019
New Revision: 279736

URL: https://gcc.gnu.org/viewcvs?rev=279736&root=gcc&view=rev
Log:
        PR c++/92438
        * parser.c (cp_parser_constructor_declarator_p): If open paren
        is followed by RID_ATTRIBUTE, skip over the attribute tokens and
        try to parse type specifier.

        * g++.dg/ext/attrib61.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/attrib61.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to