http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48176
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-18 09:45:45 UTC --- Thanks, I see. fde_table_in_use is 2 then, arange_table_in_use is 0, text_section_used 0 and cold_text_section_used 0. So, the #c5 and both #c8 alternatives would fix this issue and not reintroduce the problem with a-charac.ads -O2 -g -fkeep-inline-functions. The only two functions in that CU are DECL_IGNORED, so begin_function debug hook isn't called for them, just begin_prologue, and as the CU is empty (DECL_IGNORED function are ignored for debug info) .debug_info isn't emitted either.