* fi.po: Update.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr56890-1.c
blob93b2134e594428422c38e4d6a862f234fe96be95
1 /* PR target/56890 */
2 /* Reported by Rainer Jung <rainer.jung@kippdata.de> */
4 /* { dg-do assemble } */
5 /* { dg-options "-O2" } */
7 unsigned int buggy(unsigned int min, unsigned int max)
9 if (max < 16384) {
10 unsigned short num16 = 0;
11 num16 = min + (long) ((double) (max - min + 1.0) * (num16 / (65535 + 1.0)));
12 return num16;
14 return 0;