[Bug c++/93801] False -Wmismatched-tags upon redundant typename

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 20 21:33:00 GMT 2020


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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:

https://gcc.gnu.org/g:96cbc56ed96490c58a9800f3e7507758b6602777

commit r10-6768-g96cbc56ed96490c58a9800f3e7507758b6602777
Author: Martin Sebor <msebor@redhat.com>
Date:   Thu Feb 20 14:31:38 2020 -0700

    PR c++/93801 - False -Wmismatched-tags upon redundant typename

    gcc/cp/ChangeLog:

        PR c++/93801
        * parser.c (cp_parser_check_class_key): Only handle true C++
class-keys.

    gcc/testsuite/ChangeLog:

        PR c++/93801
        * g++.dg/warn/Wredundant-tags-3.C: New test.


More information about the Gcc-bugs mailing list