1  /* PR libstdc++/88101 */
       2  
       3  typedef int T __attribute__((aligned (16384)));
       4  struct S { char a; short b; long double c; T d; T e; long long f; };
       5  
       6  __attribute__((noipa)) void
       7  foo (struct S *s)
       8  {
       9    s->a = -1; s->b = -1; s->c = -18.52L; s->d = -1; s->e = -1; s->f = -1;
      10  }
      11  
      12  int
      13  main ()
      14  {
      15    struct S s1, s2;
      16    __builtin_memset (&s1, 0, sizeof (s1));
      17    __builtin_memset (&s2, -1, sizeof (s2));
      18    foo (&s1);
      19    foo (&s2);
      20    __builtin_clear_padding (&s2);
      21    if (__builtin_memcmp (&s1, &s2, sizeof (s1)))
      22      __builtin_abort ();
      23    return 0;
      24  }