repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr31127.c
blob
f45b10ed5bb64531f39c61020a91411a667c04f2
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
void
ParseStringSidToSid
(
char
*
s
,
int
*
p
) {
5
int
i
=
0
;
6
7
while
(*
s
) {
8
while
(*
s
&& *
s
!=
'-'
)
9
s
++;
10
if
(*
s
==
'-'
)
11
s
++;
12
13
p
[
i
++] = *
s
;
14
}
15
}