1  /* { dg-do compile { target ia32 } } */
       2  /* { dg-require-effective-target pie } */
       3  /* { dg-options "-O2 -fPIE" } */
       4  /* { dg-final { scan-assembler-not "GOTOFF," } } */
       5  
       6  static int *data[100];
       7  
       8  void test (long a, long b)
       9  {
      10    do
      11      {
      12        if( a < b )
      13          {
      14  	  data[a] = data[b];
      15  	  a++;
      16          }
      17      }
      18    while (a <= b);
      19  }