[Bug tree-optimization/91504] Inlining misses some logical operation folding

law at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 3 20:13:00 GMT 2019


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

--- Comment #5 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Tue Sep  3 20:13:22 2019
New Revision: 275354

URL: https://gcc.gnu.org/viewcvs?rev=275354&root=gcc&view=rev
Log:
        PR tree-optimization/91504
        * match.pd: Add ((~a & b) ^a) --> (a | b).

        PR tree-optimization/91504
        gcc.dg/tree-ssa/pr91504.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr91504.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list