https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Uroš Bizjak from comment #3) > (In reply to David Binderman from comment #0) > > > After a full git download, git blame says: > > > > 2bf6d93547e5 gcc/config/i386/i386-expand.c (Martin Liska > > 2019-05-06 09:18:26 +0200 3612) diff = ct - cf; > > Actually, it is my PR120604 improvement > r16-1196-ged57e5de634eda91f32e0e61724d8f103ef648dd that relaxed a couple of > too strict predicates. Hm, this is existing code that was there for a long time. Unfortunately I have very limited knowledge on how to fix signed overflow, so I would really appreciate some help here. A revert of the patch is always possible, but the we will lose a quite useful optimization.