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
);
10 int g(double aaa
, double bbb
){
11 int xa
= __builtin_isunordered(aaa
, bbb
);
12 int xb
= __builtin_isunordered(bbb
, bbb
);
16 int h(double ccc
, float ddd
){
17 int xc
= __builtin_isunordered(ccc
, ccc
);
18 int xd
= __builtin_isunordered(ddd
, ddd
);
22 /* { dg-final { scan-tree-dump-not "aaa\[^\n\r\]* unord aaa" "optimized" } } */
23 /* { dg-final { scan-tree-dump-not "bbb\[^\n\r\]* unord bbb" "optimized" } } */
24 /* { dg-final { scan-tree-dump-times "aaa\[^\n\r\]* unord bbb" 2 "optimized" } } */
25 /* { dg-final { scan-tree-dump-not "ccc\[^\n\r\]* unord ddd" "optimized" } } */