1  /* PR rtl-optimization/82913 */
       2  
       3  unsigned int a;
       4  unsigned long int b;
       5  
       6  int
       7  foo (void)
       8  {
       9    ++a;
      10    b = 0;
      11  }
      12  
      13  unsigned long int
      14  bar (int x)
      15  {
      16    if (!foo () || !a)
      17      {
      18        int c = a != b;
      19        if (c != x)
      20          return a;
      21      }
      22    return 0;
      23  }