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