https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kito Cheng <k...@gcc.gnu.org>: https://gcc.gnu.org/g:540dace2ed3949571f2ce6cb007354e69bda0cb2 commit r11-7759-g540dace2ed3949571f2ce6cb007354e69bda0cb2 Author: Kito Cheng <kito.ch...@sifive.com> Date: Mon Mar 22 16:32:45 2021 +0800 PR target/99702: Check RTL type before get value gcc/ChangeLog: PR target/99702 * config/riscv/riscv.c (riscv_expand_block_move): Get RTL value after type checking. gcc/testsuite/ChangeLog: PR target/99702 * gcc.target/riscv/pr99702.c: New.