1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fdump-tree-optimized" } */
       3  /* PR tree-optimization/92342 */
       4  
       5  int
       6  f (int m1, int m2, int c)
       7  {
       8    int d = m1 == m2;
       9    d = -d;
      10    int e = d & c;
      11    return e;
      12  }
      13  
      14  /* { dg-final { scan-tree-dump-times "\\? c_\[0-9\]\\(D\\) : 0" 1 "optimized" } } */