https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112912
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- since all typenames in C are in the global scope, there is no mangling in those. For base types, you could just do the basic mangling; for target specific mangling, you can call target.mangle_type first. The base types mangling is easy and you could share it between the C and C++ front-end if needed by placing it in c-family/*.cc . Basically the reduced mangling for C is all that is needed. Also this is not the correct place to ask these kind of questions, the mailing list is a better place.