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

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 4 11:01:00 GMT 2016


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

--- Comment #11 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sat Jun  4 11:00:58 2016
New Revision: 237090

URL: https://gcc.gnu.org/viewcvs?rev=237090&root=gcc&view=rev
Log:
gcc/ChangeLog
        PR tree-optimization/52171
        * config/sh/sh.c (sh_use_by_pieces_infrastructure_p): Use
        by_pieces_ninsns instead of move_by_pieces_ninsns.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.c


More information about the Gcc-bugs mailing list