1 /* { dg-do compile } */
2 /* { dg-options "-O -frounding-math -fdump-tree-optimized-raw" } */
4 // This assumes that long long is strictly larger than int
6 #define DEF(num, T1, T2) T2 f##num(T1 x) { \
11 DEF(0, unsigned, long long)
12 DEF(1, unsigned, unsigned long long)
15 /* { dg-final { scan-tree-dump-times "negate_expr" 6 "optimized" { target { large_double } } } } */
16 /* { dg-final { scan-tree-dump-times "negate_expr" 4 "optimized" { target { ! large_double } } } } */