libgomp: Document 'GOMP_teams4'
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / mgeneral-regs_5.c
blob589509a7a88920f46faf7cb5cfd320ef38f61a09
1 /* { dg-options "-mgeneral-regs-only -O2" } */
3 struct S { float d; };
5 void bar (struct S);
7 void
8 f0 (int x)
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" } */