1  /* PR rtl-optimization/38281 */
       2  /* Reporter: John Regehr <regehr@cs.utah.edu> */
       3  /* Testcase by Jakub Jelinek <jakub@redhat.com> */
       4  
       5  inline unsigned short
       6  foo (unsigned short x, unsigned short y)
       7  {
       8    if (y == 0)
       9      return x;
      10    return x / y;
      11  }
      12  
      13  unsigned short a, b, c;
      14  
      15  extern int baz (int, int);
      16  
      17  void
      18  bar (void)
      19  {
      20    int d = 0x3D75D162;
      21    a = foo (b > d, baz (0, 1));
      22    for (c = 0; c; c = 1)
      23      ;
      24  }