* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr63387-2.c
blob0ce7ab21b88e8bc0e3311cfc38aaa1ee2a7670fa
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
4 int f(double aaa, double bbb){
5 int xa = !__builtin_isunordered(aaa, aaa);
6 int xb = !__builtin_isunordered(bbb, bbb);
7 return xa & xb;
10 int g(double aaa, double bbb){
11 int xa = !__builtin_isunordered(aaa, bbb);
12 int xb = !__builtin_isunordered(bbb, bbb);
13 return xa & xb;
16 int h(double ccc, float ddd){
17 int xc = !__builtin_isunordered(ccc, ccc);
18 int xd = !__builtin_isunordered(ddd, ddd);
19 return xc & xd;
22 /* { dg-final { scan-tree-dump-not "aaa\[^\n\r\]* ord aaa" "optimized" } } */
23 /* { dg-final { scan-tree-dump-not "bbb\[^\n\r\]* ord bbb" "optimized" } } */
24 /* { dg-final { scan-tree-dump-times "aaa\[^\n\r\]* ord bbb" 2 "optimized" } } */
25 /* { dg-final { scan-tree-dump-not "ccc\[^\n\r\]* ord ddd" "optimized" } } */