[Bug tree-optimization/52171] memcmp/strcmp/strncmp can be optimized when the result is tested for [in]equality with 0

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 4 06:07:00 GMT 2016


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |12086

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Doesn't this partly solve bug 12086 also?


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12086
[Bug 12086] memcmp(i,j,4) should use word (SI) subtraction


More information about the Gcc-bugs mailing list