https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to JuzheZhong from comment #12) > signbit execution issue should be ignored. It's ISA issue not compiler issue. > > I knew this issue long time ago and confirm Clang has the sam issue: > > https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1075 INT_MIN well negativing INT_MIN is undefined ... If there is a testcase that depends on that, we should fix the testcase (now with -fwrapv it should be well defined).