1  /* PR middle-end/39315  */
       2  /* { dg-do run } */
       3  /* { dg-options "-O -msse2 -mtune=generic" } */
       4  /* { dg-require-effective-target sse2_runtime } */
       5  /* { dg-additional-sources pr39315-check.c } */
       6  
       7  typedef float __m128 __attribute__ ((__vector_size__ (16)));
       8  
       9  extern void bar (__m128 *, int);
      10  
      11  void
      12  foo (__m128 *x)
      13  {
      14    __m128 b __attribute__ ((aligned(128))) = *x;
      15    bar (&b, __alignof__ (x));
      16  }