https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128910
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[17 Regression] riscv64: |[14/15/16 Regression]
|wrong code at -O2: x == |riscv64: wrong code at -O2:
|(unsigned) x being true for |x == (unsigned) x being
|x = 0x100000001 |true for x = 0x100000001
--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Fixed on the trunk. The underlying bug has been around for eons. Adding
regression markers in case we want to backport even though the precondition to
trip this specific instance of the bug doesn't exist in those older compilers.
I'll let it soak on the trunk for a bit then re-evaluate if I want to backport.
Backport should be extremely safe.