https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109260
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://gcc.gnu.org/onlinedocs/gnat_ugn/Generating-Bindings-for-C_002b_002b-Headers.html#Generating-Bindings-for-C_002b_002b-Headers https://gcc.gnu.org/onlinedocs/gnat_ugn/Interfacing-to-C_002b_002b.html#Interfacing-to-C_002b_002b I think this is all by design this way. Since it is hard to get the mangled names and all.