blob: ee74def22469312485a231e50ed13de902e22947 (
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 = *x;
bar (&b, __alignof__ (x));
}
|