/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
/* PR tree-optimization/92342 */

int
f (int m1, int m2, int c)
{
  int d = m1 < m2;
  d = -d;
  int e = c & d;
  return e;
}

/* { dg-final { scan-tree-dump-times "\\? c_\[0-9\]\\(D\\) : 0" 1 "optimized" } } */
