[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr71680.c
blobce54b9cccf3c347cab453ae837ccdfa0f006492a
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-mdejagnu-cpu=power8 -O1" } */
5 #pragma pack(1)
6 struct
8 float f0;
9 } a;
11 extern void foo (int);
13 int
14 main (void)
16 for (;;)
17 foo ((int) a.f0);