1  /* PR middle-end/45234 */
       2  /* { dg-do run { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
       3  /* { dg-additional-options "-mincoming-stack-boundary=2 -mpreferred-stack-boundary=2" } */
       4  
       5  #include "check.h"
       6  
       7  void
       8  __attribute__ ((noinline))
       9  bar (__float128 f)
      10  {
      11    check (&f, __alignof__(f));
      12  }
      13  
      14  int
      15  main (void)
      16  {
      17    char *p = __builtin_alloca (6);
      18  
      19    bar (0);
      20  
      21    __builtin_strncpy (p, "good", 5);
      22    if (__builtin_strncmp (p, "good", 5) != 0)
      23      {
      24  #ifdef DEBUG
      25        p[5] = '\0';
      26        printf ("Failed: %s != good\n", p);
      27  #endif
      28       abort ();
      29      }
      30  
      31    return 0;
      32  }