------- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-27 09:26 ------- So the issue may be that the LTO FE doesn't announce any decls to the debug machinery.
> grep debug_hooks cp/*.c cp/decl.c: debug_hooks->type_decl (tdecl, 0); cp/decl.c: /*debug_hooks->set_name (t, decl);*/ cp/name-lookup.c: (*debug_hooks->global_decl) (alias); cp/name-lookup.c: (*debug_hooks->imported_module_or_decl) (name_space, NULL_TREE, cp/name-lookup.c: (*debug_hooks->imported_module_or_decl) (t, NULL_TREE, context, false); cp/optimize.c: (*debug_hooks->deferred_inline_function) (fn); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45089