Re: [PATCH] PR target/93995 ICE in patch_jump_insn, at cfgrtl.c:1290 on riscv64-linux-gnu

2020-03-03 Thread Kito Cheng
Committed, thanks :) On Wed, Mar 4, 2020 at 6:23 AM Jim Wilson wrote: > > On Tue, Mar 3, 2020 at 12:03 AM Kito Cheng wrote: > > gcc/ChangeLog > > * config/riscv/riscv.c (riscv_emit_float_compare): Using NE to > > compare > > the result of IOR. > > > > gcc/testsuite/ChangeLog >

Re: [PATCH] PR target/93995 ICE in patch_jump_insn, at cfgrtl.c:1290 on riscv64-linux-gnu

2020-03-03 Thread Jim Wilson
On Tue, Mar 3, 2020 at 12:03 AM Kito Cheng wrote: > 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. Thanks. This looks good to me. Jim

[PATCH] PR target/93995 ICE in patch_jump_insn, at cfgrtl.c:1290 on riscv64-linux-gnu

2020-03-03 Thread Kito Cheng
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