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 tree-optimization/81303
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
strlen-2.c
blob
1bca06fb1a4a77d50e55a875161a707c59743b57
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-strlen" } */
3
4
void
f
(
unsigned
);
5
6
void
f3
(
void
)
7
{
8
char
s
[] =
"1234"
;
9
10
f
(
__builtin_strlen
(
s
));
11
f
(
__builtin_strlen
(
s
));
12
f
(
__builtin_strlen
(
s
));
13
}
14
15
/* { dg-final { scan-tree-dump-times "strlen" 0 "strlen" } } */