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