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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr51760.c
blob
ebff2c930436b14e5c8cbbb1f861b5e4e785864d
1
/* { dg-do compile } */
2
3
extern inline
__attribute__
((
always_inline
))
void
*
4
memmove
(
void
*
dest
,
const void
*
src
,
__SIZE_TYPE__ len
)
5
{
6
return
__builtin___memmove_chk
(
dest
,
src
,
len
,
7
__builtin_object_size
(
dest
,
0
));
8
}
9
10
void
11
foo
(
void
)
12
{
13
char
a
[
64
], *
b
;
14
for
(;;)
15
{
16
memmove
(
a
,
b
,
0
);
17
b
=
a
;
18
}
19
}