@@ -19890,8 +19890,12 @@ arm_emit_vfp_multi_reg_pop (int first_reg,
int num_regs, rtx base_reg)
par = emit_insn (par);
REG_NOTES (par) = dwarf;
- arm_add_cfa_adjust_cfa_note (par, 2 * UNITS_PER_WORD * num_regs,
- base_reg, base_reg);
+ /* REG_CFA_ADJUST_CFA NOTE is added to handle dwarf info issue when
+ shrink-wrap is enabled. So when shrink-wrap is not enabled, we should
+ not add the note. */
+ if (flag_shrink_wrap)
+ arm_add_cfa_adjust_cfa_note (par, 2 * UNITS_PER_WORD * num_regs,
+ base_reg, base_reg);
}