[Bug tree-optimization/85758] questionable bitwise folding (missing single use check?)

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 27 14:09:00 GMT 2018


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

--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Author: amonakov
Date: Mon Aug 27 14:08:50 2018
New Revision: 263887

URL: https://gcc.gnu.org/viewcvs?rev=263887&root=gcc&view=rev
Log:
match.pd: add single-use check for (x & y) ^ y -> ~x & y (PR 85758)

        PR tree-optimization/85758
        * match.pd ((X & Y) ^ Y): Add :s qualifier to inner expression.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd


More information about the Gcc-bugs mailing list