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
2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
memcpy-3.c
blob
424d2f8d703cf6fed9a9dca635e9f548ec0d52ac
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
void
*
a
;
4
void
*
b
;
5
void
6
t
(
int
c
)
7
{
8
if
(
c
<
10
)
9
__builtin_memcpy
(
a
,
b
,
c
);
10
}
11
/* Memcpy should be inlined because block size is known. */
12
/* { dg-final { scan-assembler-not "(jmp|call)\[\\t \]*memcpy" } } */