1  /* { dg-do compile } */
       2  struct st
       3  {
       4    int a : 1;
       5  };
       6  
       7  void
       8  foo (struct st *s, int n)
       9  {
      10    for (int i = 0; i < n; ++i)
      11      {
      12        s[i].a = i;
      13        __asm__ __volatile__ ("":::"memory");
      14      }
      15  }