1/* PR middle-end/37009 */
2/* { dg-do compile { target { { ! *-*-darwin* } && ia32 } } } */
3/* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
4
5#include <emmintrin.h>
6
7extern void bar (int *);
8
9int
10foo(__m128 x, __m128 y, __m128 z, int size)
11{
12  int __attribute((aligned(16))) xxx;
13
14  xxx = 2;
15  bar (&xxx);
16  return size;
17}
18
19/* { dg-final { scan-assembler "andl\[\\t \]*\\$-16,\[\\t \]*%esp" } } */
20