1 /* { dg-options "-mgeneral-regs-only -O2" } */
2
3 extern void abort (void);
4
5 int
6 test (int i, ...) /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
7 {
8 float f = (float) i;
9 if (f != 0) abort ();
10 return 2;
11 }