http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48220
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-21 16:09:03 UTC --- Created attachment 23739 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23739 gcc47-pr48220.patch Untested patch, which changes using %iN to %oN registers in DW_OP_GNU_entry_value on SPARC, and doesn't change anything on IA-64 (if we choose to use variant 1 there). No idea about mep/mmix/xtensa - the patch might make a difference on xtensa only I think, as mep doesn't define OUTGOING_REGNO and mmix doesn't define LEAF_REGISTERS.