https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80875
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Richard Biener from comment #4) > 9810 && negate_expr_p (op0) > 9811 && (tem = negate_expr (op1)) != op1 > > should probaby use negate_expr_p (op1) to guard this. Yea, I sent a patch doing exactly that yesterday: https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01971.html