https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64511
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Jan 21 21:59:34 2015 New Revision: 219974 URL: https://gcc.gnu.org/viewcvs?rev=219974&root=gcc&view=rev Log: PR debug/64511 * simplify-rtx.c (simplify_relational_operation_1): Don't try to optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0)) into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)). * gcc.dg/pr64511.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr64511.c Modified: trunk/gcc/ChangeLog trunk/gcc/simplify-rtx.c trunk/gcc/testsuite/ChangeLog