https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108292
--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Jakub Jelinek from comment #10) > (In reply to Roger Sayle from comment #8) > > Here's my proposed patch (or something close to it, it's still bootstrapping > > and regression testing). The goal is to capture the original comparison (at > > the top of the BB), and avoid/ignore the actual comparison that we may have > > converted to. > > Sorry again to the inconvenience. Please let me know what you think. The fix is not a simple patch, and it looks to me that the original patch has several rough edges. I propose to revert the original patch at this stage of development and retry with it at the next stage 1.