OSDN Git Service

Add a testcase for PR target/43668.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / incoming-1.c
1 /* PR middle-end/37009 */
2 /* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
3 /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
4
5 #include <emmintrin.h>
6
7 extern void bar (int *);
8
9 int
10 foo(__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" } } */