aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/objc-lang.c
diff options
context:
space:
mode:
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>2022-10-25 21:53:23 +0800
committerKito Cheng <kito.cheng@sifive.com>2022-10-26 17:05:24 +0800
commit4329d111f48cba9ea560fc0a36f4cb5a290decb2 (patch)
treedbcb0d705ce923e4281101cf682c213dd7bd8c10 /gcc/objc/objc-lang.c
parent7e924ba3474b96a6c0b87c38cc4fca7af8d3910c (diff)
downloadgcc-4329d111f48cba9ea560fc0a36f4cb5a290decb2.zip
gcc-4329d111f48cba9ea560fc0a36f4cb5a290decb2.tar.gz
gcc-4329d111f48cba9ea560fc0a36f4cb5a290decb2.tar.bz2
RISC-V: Fix epilogue generation for barrier.
I noticed that I have made a mistake in previous patch: https://patchwork.sourceware.org/project/gcc/patch/20220817071950.271762-1-juzhe.zhong@rivai.ai/ The previous statement before this patch: bool need_barrier_p = (get_frame_size () + cfun->machine->frame.arg_pointer_offset) != 0; However, I changed it in the previous patch: bool need_barrier_p = known_ne (get_frame_size (), cfun->machine->frame.arg_pointer_offset); This is incorrect. Now, I correct this statement in this patch. gcc/ChangeLog: * config/riscv/riscv.cc (riscv_expand_epilogue): Fix statement.
Diffstat (limited to 'gcc/objc/objc-lang.c')
0 files changed, 0 insertions, 0 deletions