[Bug target/29998] New: sh-elf: GCC fails to encode epilogues in unwind-info

amylaar at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 27 16:47:00 GMT 2006


The sh port does not encode information about epilogues in the unwind info.
See PR target/29997 for context.

In addition to adding saving / restoring state around epilogues, the
current measures to prevent unwind info for epilogues to be emitted must be
reverted:

output_stack_adjust: set emit_fn depending always to frame_insn
 add REG_FRAME_RELATED_EXPR notes independent of epilogue_p
pop: use frame_insn instead of emit_insn
sh_expand_epilogue: should add REG_FRAME_RELATED_EXPR notes and use frame_insn
like sh_expand_prologue does.


-- 
           Summary: sh-elf: GCC fails to encode epilogues in unwind-info
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-debug
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
GCC target triplet: sh-*-*
OtherBugsDependingO 29842,29997
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29998



More information about the Gcc-bugs mailing list