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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Dec 15 20:10:45 2014
New Revision: 218762

URL: https://gcc.gnu.org/viewcvs?rev=218762&root=gcc&view=rev
Log:
    PR rtl-optimization/64316
    * simplify-rtx.c (simplify_relational_operation_1): For
    (eq/ne (and x y) x) and (eq/ne (and x y) y) optimizations use
    CONST0_RTX instead of const0_rtx.

    * gcc.dg/pr64316.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr64316.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/simplify-rtx.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to