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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
20100615-2.c
blob
4341e7d35ea8f4fb2e48fd8326c82a935edb7d4f
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -O" } */
3
4
__attribute__
((
transaction_safe
))
5
void
Info_RemoveKey
(
char
*
s
)
6
{
7
char
*
o
=
0
;
8
while
(
1
)
9
{
10
s
++;
11
while
(*
s
)
12
{
13
if
(!*
s
)
14
return
;
15
*
o
++ = *
s
++;
16
}
17
*
o
=
0
;
18
}
19
}