diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2023-04-24 23:09:06 +0200 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2023-07-12 16:05:50 +0800 |
commit | 93973e4c5d3bcde1f84cad3b42a8c36e23900d19 (patch) | |
tree | 1f8362461b4e77dd902ed13f1e6277558fbf0274 /gcc/tree-ssa-loop-ch.cc | |
parent | d05c8b016fb96cdcc445406469867b757776894e (diff) | |
download | gcc-93973e4c5d3bcde1f84cad3b42a8c36e23900d19.zip gcc-93973e4c5d3bcde1f84cad3b42a8c36e23900d19.tar.gz gcc-93973e4c5d3bcde1f84cad3b42a8c36e23900d19.tar.bz2 |
riscv: xtheadmempair: Fix CFA reg notes
The current implementation triggers an assertion in
dwarf2out_frame_debug_cfa_offset() under certain circumstances.
The standard code uses REG_FRAME_RELATED_EXPR notes instead
of REG_CFA_OFFSET notes when saving registers on the stack.
So let's do this as well.
gcc/ChangeLog:
* config/riscv/thead.cc (th_mempair_save_regs):
Emit REG_FRAME_RELATED_EXPR notes in prologue.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'gcc/tree-ssa-loop-ch.cc')
0 files changed, 0 insertions, 0 deletions