1 /* { dg-options "-mgeneral-regs-only -O2" } */
10 struct S s
= { .d
= 0.0f
}; /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
11 ((char *) &s
.d
)[0] = x
;
12 s
.d
*= 7.0; /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
13 bar (s
); /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */