https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119012
--- Comment #10 from Levi Zim <rsworktech at outlook dot com> ---
Sometimes I didn't get the comparison failure but a hard ICE instead:
*** stack smashing detected ***: terminated
during RTL pass: combine
/usr/src/debug/gcc/gcc/gcc/config/riscv/corev.md: In function ‘recog_84.isra’:
/usr/src/debug/gcc/gcc/gcc/config/riscv/corev.md:2557:1: internal compiler
error: Aborted
0x9c9f05 crash_signal
/usr/src/debug/gcc/gcc/gcc/toplev.cc:319
0x1690b13 try_combine
/usr/src/debug/gcc/gcc/gcc/combine.cc:4772
0x16926e3 combine_instructions
/usr/src/debug/gcc/gcc/gcc/combine.cc:1285
0x16926e3 rest_of_handle_combine
/usr/src/debug/gcc/gcc/gcc/combine.cc:15116
0x16926e3 execute
/usr/src/debug/gcc/gcc/gcc/combine.cc:15160