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
arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
scev-13.c
blob
b9223c80e7b8658929785ebba1729f9dbce161d2
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fdump-tree-ldist" } */
3
4
int
5
foo
(
char
*
p
,
unsigned
n
)
6
{
7
while
(
n
--)
8
{
9
p
[
n
]=
'A'
;
10
}
11
return
0
;
12
}
13
14
/* Loop can be transformed into builtin memset since &p[n] is SCEV. */
15
/* { dg-final { scan-tree-dump "builtin_memset" "ldist" } } */