Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.target / i386 / fastcall-sseregparm.c
blob8d6bf3fb8a466c44178e00bf35166c75c2d4c4e4
1 /* { dg-do run } */
2 /* { dg-options "-mpreferred-stack-boundary=4 -msse" } */
3 /* { dg-require-effective-target ilp32 } */
5 extern void abort(void);
7 void __attribute__((fastcall, sseregparm)) foo(int i, int j, float x)
9 static int last_align = -1;
10 int dummy, align = (int)&dummy & 15;
11 if (last_align < 0)
12 last_align = align;
13 else if (align != last_align)
14 abort ();
17 int main()
19 foo(0,0,0.0);
20 foo(0,0,0.0);
21 return 0;