PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / incoming-10.c
blob612fa720888d4320177dc49293f4efdc535ac8f4
1 /* PR target/40838 */
2 /* { dg-do compile { target { { ! *-*-darwin* } && ia32 } } } */
3 /* { dg-options "-w -mstackrealign -fomit-frame-pointer -O3 -march=barcelona -mpreferred-stack-boundary=4" } */
5 struct s {
6 int x[8];
7 };
9 void g(struct s *);
11 void f()
13 int i;
14 struct s s;
15 for (i = 0; i < sizeof(s.x) / sizeof(*s.x); i++) s.x[i] = 1;
16 g(&s);
19 /* { dg-final { scan-assembler "andl\[\\t \]*\\$-16,\[\\t \]*%esp" } } */