4de0924f |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O -ffast-math -ftrapping-math" } */ |
2f6d557f |
3 | /* { dg-warning ".-fassociative-math. disabled" "" { target *-*-* } 0 } */ |
4de0924f |
4 | |
5 | long |
6 | foo (int i) |
7 | { |
8 | float x; |
9 | x = i; |
10 | return __builtin_lroundf (x); |
11 | } |