https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121506
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Nope, it does it exactly like C++ expects.
If you do struct S { int s; }; in C++, the RECORD_TYPE has TYPE_NAME which is a
TYPE_DECL and has DECL_NAME which is IDENTIFIER_NODE "S".
