Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr68473-1.c
blob785787868fa892857b92078c046f580447bf9ab0
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-fdiagnostics-show-caret -mno-fp-ret-in-387" } */
4 extern long double fminl (long double __x, long double __y);
6 #define TEST_EQ(FUNC) do { \
7 if ((long)FUNC##l(xl,xl) != (long)xl) \
8 return; \
9 } while (0)
11 void
12 foo (long double xl)
14 TEST_EQ (fmin); /* { dg-error "x87 register return with x87 disabled" } */
17 /* { dg-begin-multiline-output "" }
18 TEST_EQ (fmin);
20 { dg-end-multiline-output "" } */
22 /* { dg-begin-multiline-output "" }
23 if ((long)FUNC##l(xl,xl) != (long)xl) \
24 ^~~~
25 { dg-end-multiline-output "" } */