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
/
torture
/
ldist-1.c
blob
a3d7cb8487280a3e7b19060410aa1d451e05044c
1
/* { dg-do compile } */
2
/* { dg-options "-ftree-loop-distribute-patterns" } */
3
4
void
foo
(
volatile
int
*
p
,
int
n
)
5
{
6
int
i
;
7
for
(
i
=
0
;
i
<
n
; ++
i
)
8
p
[
i
] =
0
;
9
}
10
11
/* { dg-final { scan-assembler-not "memset" } } */