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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
I'm not sure the original test case and the one in comment #8 are the same bug.
 The former doesn't seem to have ever been rejected, while the latter used to
until r231354 when it became accepted.

r231354 | jason | 2015-12-06 23:35:14 -0500 (Sun, 06 Dec 2015) | 4 lines

        Fix parse/no-type-defn1.C with -std=c++1z.

        * parser.c (struct tentative_firewall): New.
        (cp_parser_template_id, cp_parser_decltype_expr): Use it.

I'm also not sure bug 45775 referenced in comment #3 is a duplicate of this
one.  I haven't been able to find a GCC revision that accepts the test case
there.

Finally, bug 40843 was fixed by r190830 which was committed to resolve bug
50545 and bug 51222, so it also doesn't seem to be a duplicate of this one.

Reply via email to