http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47324
--- Comment #45 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-10 20:24:54 UTC --- The raw stuff in the patch looks ok to me, it is always used just in the for_eh case. The for_eh argument to output_loc_operands should be still also *_skip and you shouldn't adjust DW_OP_regx and DW_OP_bregx argument if the parameter is -1. And the for_eh_or_skip argument needs documentation in the comment above the function. Yeah, on powerpc*-* all targets are affected I think, but I guess it is enough if you test on i?86-*-darwin and powerpc*-*-darwin, one representative for each of the DWARF2_FRAME_REG_OUT special targets is enough. On other targets the macro is a nop...