[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr52199.c
blob773d64d08ab46ca107cc5bcea8470e823b4381da
1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_vsx_ok } */
4 /* { dg-options "-O3 -mdejagnu-cpu=power7 -fmerge-all-constants" } */
6 struct locale_time_t
8 const char *abday[7];
9 const unsigned int *wabday[7];
12 static const unsigned int empty_wstr[1] = { 0 };
14 void
15 time_read (struct locale_time_t *time)
17 int cnt;
19 for (cnt=0; cnt < 7; cnt++)
21 time->abday[cnt] = "";
22 time->wabday[cnt] = empty_wstr;