https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86995
Vlad Lazar <vlad.lazar at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vlad.lazar at arm dot com --- Comment #2 from Vlad Lazar <vlad.lazar at arm dot com> --- On x86 this was caused by the cost model and has been fixed in r263652. However, upon further inspection, it surfaced that wi::add does not detect underflow for unsigned operations. I am currently testing a patch which should solve the issue.