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
PR middle-end/59175
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
memcpy-2.c
blob
56cdd56fae4d5bb80dcf43505fdda10224f005dc
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
void
*
a
;
4
void
*
b
;
5
t
(
unsigned int
c
)
6
{
7
if
(
c
<
10
)
8
__builtin_memcpy
(
a
,
b
,
c
+
1
);
9
}
10
/* Memcpy should be inlined because block size is known. */
11
/* { dg-final { scan-assembler-not "(jmp|call)\[\\t \]*memcpy" } } */