1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fcompare-debug" } */ 3 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */ 4 5 void foo(char * c)6foo (char *c) 7 { 8 unsigned int x = 0; 9 unsigned int i; 10 11 for (i = 0; c[i]; i++) 12 { 13 if (i >= 5 && x != 1) 14 break; 15 else if (c[i] == ' ') 16 x = i; 17 else if (c[i] == '/' && c[i + 1] != ' ' && i) 18 x = i + 1; 19 } 20 } 21