1 /* PR c/19999 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Wfloat-equal" } */ 4 5 double a, b; 6 _Complex double c, d; f(void)7int f(void) { return a == b; } /* { dg-warning "comparing floating point" } */ g(void)8int g(void) { return c == d; } /* { dg-warning "comparing floating point" } */ h(void)9int h(void) { return a != b; } /* { dg-warning "comparing floating point" } */ i(void)10int i(void) { return c != d; } /* { dg-warning "comparing floating point" } */ 11