https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62202
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Resolution|--- |WONTFIX
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
C is not C++ :).
Note for the C front-end we do warn if you have -Wc++-compat on there (since
4.5.0 which was released over 11 years ago):
<source>:4:16: warning: using 'test_t' as both a typedef and a tag is invalid
in C++ [-Wc++-compat]
4 | typedef struct test_t* something_t;
| ^~~~~~
<source>:3:23: note: originally defined here
3 | typedef struct test_s test_t;
| ^~~~~~
Since we already have an option to warn about this in the C front-end, I am
just close this as won't fix.