------- Comment #3 from jakub at gcc dot gnu dot org 2008-09-10 06:35 ------- There is no way to reference start of FDE when using .cfi_* directives, so #ifdef MIPS_DEBUGGING_INFO /* Add a reference to the FDE for this routine. */ add_AT_fde_ref (subr_die, DW_AT_MIPS_fde, current_funcdef_fde); #endif references undefined label. I'm afraid at least until some support is added to gas to handle that, we should: #ifdef MIPS_DEBUGGING_INFO return false; #endif early in dwarf2out_do_cfi_asm. Wonder why alpha defines MIPS_DEBUGGING_INFO too and if e.g. alpha-linux needs to emit DW_AT_MIPS_fde attributes.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441