https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93995
--- Comment #4 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:8cc59ac591256f8899e137db7633fd7d1a2164ba commit r10-7008-g8cc59ac591256f8899e137db7633fd7d1a2164ba Author: Kito Cheng <kito.ch...@sifive.com> Date: Tue Mar 3 14:16:34 2020 +0800 PR target/93995 ICE in patch_jump_insn, at cfgrtl.c:1290 on riscv64-linux-gnu Last code gen change of LTGT didn't consider the situation of cbranch with LTGT, branch only support few compare codes. gcc/ChangeLog * config/riscv/riscv.c (riscv_emit_float_compare): Using NE to compare the result of IOR. gcc/testsuite/ChangeLog * gcc.dg/pr93995.c: New.