2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr21921.c
blobd6a8a2a94bf12f3426cc30432b6745c253e23daf
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -funsafe-math-optimizations" } */
4 void
5 Q (double *s, double h)
7 int i;
8 if (h > 1)
9 h = h - 1;
11 for (i = 1; i < 3; i++)
12 if (s[i] / h > 0)
13 s[0] = h, s[i] = s[i] / h;