1 /* Copyright (C) 2004 Free Software Foundation.
3 Test for composite comparison always true/false optimization.
5 Written by Paolo Bonzini, 26th May 2004. */
7 extern void link_error0 ();
8 extern void link_error1 ();
11 test1 (float x
, float y
)
18 test2 (float x
, float y
)
25 test3 (float x
, float y
)
32 test4 (float x
, float y
)
42 test5 (float x
, float y
)
44 if (__builtin_isunordered (x
, y
) || (x
>=y
) || (x
<y
))
52 test6 (float x
, float y
)
54 if (__builtin_isunordered (y
, x
) || (x
<=y
) || (y
<x
))
62 test7 (float x
, float y
)
64 if (__builtin_isunordered (x
, y
) || !__builtin_isunordered (x
, y
))
72 all_tests (float x
, float y
)
96 #endif /* ! __OPTIMIZE__ */