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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ldist-40.c
blob
238a0098352a0adf5dc73c4995ad283dbf99ec5b
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-ldist-details" } */
3
4
void
copy_a_to_b
(
char
*
__restrict b
,
char
*
a
,
int
n
)
5
{
6
for
(
int
i
=
0
;
i
<
n
; ++
i
)
7
b
[
i
] =
a
[
i
];
8
}
9
10
/* { dg-final { scan-tree-dump "generated memcpy" "ldist" } } */