Hi, all, There is a wrong CFI info when frame pointer is needed. The root cause is that we forgot to set fp_adjust_insn as RTX_FRAME_RELATED_P rtx.
Fix this issue with following patch. gcc/ChangeLog 2014-11-21 Chung-Ju Wu <jasonw...@gmail.com> * config/nds32/nds32.c (nds32_expand_prologue): Set fp_adjust_insn as RTX_FRAME_RELATED_P rtx. Committed as Rev. 217902: https://gcc.gnu.org/r217902 Best regards, jasonwucj
0002-Add-missing-RTX_FRAME_RELATED_P-to-set-fp_adjust_ins.patch
Description: Binary data