Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33007.c
blob26b22fdd3e19e0a0be7b274ba4cb037d41e97348
1 /* { dg-do compile } */
2 /* { dg-options "-O -ffast-math -ftrapping-math" } */
3 /* { dg-warning "-fassociative-math disabled" "" { target *-*-* } 1 } */
5 long
6 foo (int i)
8 float x;
9 x = i;
10 return __builtin_lroundf (x);