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
middle-end: Fix stalled swapped condition code value [PR115836]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
analyzer
/
strlen-pr113999.c
blob
f822606415a545f936bd3ed2fa191939cf532906
1
int
main
() {
2
char
a
[
20
] =
"ab"
;
3
__builtin_strcpy
(
a
,
"123"
);
4
long
n0
=
__builtin_strlen
(
a
);
5
__builtin_strncpy
(
a
+
3
,
a
,
n0
);
6
__builtin_strlen
(
a
);
7
return
0
;
8
}