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