[Bug tree-optimization/68110] __builtin_sub_overflow unsigned performance issue

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 21 22:34:34 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68110

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #4)
> but since we don't
> have any pass to generate __builtin_sub_overflow from a-b and a<b and don't
> CSE __builtin_sub_overflow with either of those, I am a bit wary of dropping
> the builtin too early.

That changed in GCC 10 IIRC.


More information about the Gcc-bugs mailing list