1/* PR target/40838 */
2/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
3/* { dg-options "-w -mstackrealign -O2 -msse2 -mpreferred-stack-boundary=4" } */
4/* { dg-require-effective-target sse2 } */
5
6typedef int v4si __attribute__ ((vector_size (16)));
7
8struct x {
9       v4si v;
10       v4si w;
11};
12
13void y(void *);
14
15v4si x(void)
16{
17       struct x x;
18       y(&x);
19}
20
21/* { dg-final { scan-assembler "andl\[\\t \]*\\$-16,\[\\t \]*%esp" } } */
22