[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / gcse-1.c
blobb9cd055f37f4bfaabf16cd78e534918eecc9f81c
1 /* { dg-do compile { target { *-*-linux* && ilp32 } } } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-times "@ha" 1 { target { ! fpic } } } } */
6 /* Test for PR 7003, address of array loaded int register
7 twice without any need. */
9 extern const char flags [256];
11 unsigned char * f (unsigned char * s) {
12 while (flags[*++s]);
13 while (!flags[*++s]);
14 return s;