1  /* PR target/90552 *
       2  /* { dg-do compile } */
       3  /* { dg-options "-Os" } */
       4  
       5  __attribute__((optimize(2)))
       6  int foo (int x)
       7  {
       8    return x / 3;
       9  }
      10  
      11  /* { dg-final { scan-assembler-not "idiv" } } */