1 /* { dg-do compile } */ 2 /* { dg-options "-w" } */ 3 4 static inline int foo(float f)5foo (float f) 6 { 7 return *((int *) &f) - 1; 8 } 9 10 float bar(float x,float y,float * z)11bar (float x, float y, float *z) 12 { 13 float c = y < 0.002f ? 0.002f : y; 14 float d = x < c ? c : x; 15 return z[foo (c)] + z[foo (d * 255.0f)]; 16 } 17