2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / sseregparm-8.c
bloba7068dfe0076379971a2231c713bcc379aef16b9
1 /* { dg-do compile } */
2 /* { dg-options "-mno-sse" } */
3 /* { dg-require-effective-target ia32 } */
5 float essef(float) __attribute__((sseregparm));
6 double essed(double) __attribute__((sseregparm));
7 float __attribute__((sseregparm)) ssef(float f);
8 double __attribute__((sseregparm)) ssed(double d);
9 extern double d;
10 extern float f;
11 void test(void)
13 f = essef(f); /* { dg-error "SSE" } */
14 d = essed(d); /* { dg-error "SSE" } */
15 f = ssef(f); /* { dg-error "SSE" } */
16 d = ssed(d); /* { dg-error "SSE" } */