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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20030518-1.c
blob
8cf2034518f90e5b97980ed01d09f0d6feff6cc5
1
/* Test case from PR middle-end/10472 */
2
3
extern
void
f
(
char
*);
4
5
void
foo
(
char
*
s
)
6
{
7
f
(
__builtin_stpcpy
(
s
,
"hi"
));
8
}
9
10
void
bar
(
char
*
s
)
11
{
12
f
(
__builtin_mempcpy
(
s
,
"hi"
,
3
));
13
}
14