text: /* { dg-do compile } */
  /* { dg-options "-O1 -fdump-tree-optimized" } */
  
  int f(int a, int b, int c)
  {
    if (a == 0 && b > c)
     return 0;
   return a;
  }
  
  int g(int a, int b, int c)
  {
    if (a == 42 && b > c)
     return 42;
   return a;
  }
  
  int h(int a, int b, int c, int d)
  {
    if (a == d && b > c)
     return d;
   return a;
  }
  /* { dg-final { scan-tree-dump-times "if" 0 "optimized"} } */
  