1  /* PR target/108832 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -funroll-loops" } */
       4  
       5  unsigned int m;
       6  short int n;
       7  
       8  long int
       9  bar (unsigned int x)
      10  {
      11    return x ? x : 1;
      12  }
      13  
      14  __attribute__ ((simd)) void
      15  foo (void)
      16  {
      17    int a = m / bar (3);
      18    n = 1 % bar (a << 1);
      19  }