Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/gcse-1.c

raw
1 /* { dg-do compile { target { *-*-linux* && ilp32 } } } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-times "@ha" 1 { target { ! fpic } } } } */
4
5
6 /* Test for PR 7003, address of array loaded int register
7 twice without any need. */
8
9 extern const char flags [256];
10
11 unsigned char * f (unsigned char * s) {
12 while (flags[*++s]);
13 while (!flags[*++s]);
14 return s;
15 }