projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr56023.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fcompare-debug" } */
3
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
4
5
void
6
foo (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
}