https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68904
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can you try: -fno-eliminate-unused-debug-types I bet the full type debug info is going to be emitted in a different TU which is why GCC is not emitting it here. Also look at the debug info inside libstdc++.so/libstdc++.a to see if the full debug info is emitted there.