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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|missing -Wmismatched-tags   |missing -Wmismatched-tags
                   |on a typedef of an implicit |and -Wredundant-tags on a
                   |class template              |typedef of an implicit
                   |specialization              |class template
                   |                            |specialization

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Also missing -Wredundant-tags:

$ cat t.C && gcc -S -Wmismatched-tags -Wredundant-tags t.C
template <int> class C { };

typedef C<0> C0;           // okay
typedef class C<0> C0;     // missing -Wredundant-tags

typedef C<1> C1;           // okay
typedef struct C<1> C1;    // missing -Wmismatched-tags

Reply via email to