[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr71493-1.c
blob9ec9da0fbed4ea7c2edd0411414b52ab118d4512
1 /* { dg-do compile { target { powerpc*-*-linux* && ilp32 } } } */
2 /* { dg-options "-O2 -msvr4-struct-return" } */
4 struct S1 { float f; };
6 struct S1 foo1 (void)
8 struct S1 s = { 1.0f };
9 return s;
12 /* { dg-final { scan-assembler "lwz" } } */
13 /* { dg-final { scan-assembler-not "lfs" } } */