OSDN Git Service

Support AVX for cmpss/cmpsd.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / pr31628.c
1 /* { dg-do run } */
2 /* { dg-options "-O2 -fPIC" } */
3 /* { dg-require-effective-target ilp32 } */
4 /* { dg-require-effective-target fpic } */
5
6 typedef int tt, *lptt;
7
8 int __attribute__((__stdcall__)) bar(lptt);
9
10 int __attribute__((__stdcall__)) bar(tt *x)
11 {
12   return 0;
13 }
14
15 int
16 foo (void)
17 {
18   return bar (0);
19 }
20
21 int
22 main()
23 {
24   return foo ();
25 }