https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104102

            Bug ID: 104102
           Summary: __builtin_frame_address(1) desn't work on riscv
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sch...@linux-m68k.org
  Target Milestone: ---
            Target: riscv*-*-*

The riscv target does not define DYNAMIC_CHAIN_ADDRESS, and the default
definition does not do the right thing.  The caller's frame pointer is usually
saved at two words from the current frame pointer.

Reply via email to