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
Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr81703.c
blob
190f4a833ddd6ca3ca96992a5592da22354e2269
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-strlen" } */
3
4
unsigned
g
(
void
)
5
{
6
char
d
[
8
];
7
const char
s
[] =
"0123"
;
8
__builtin_memcpy
(
d
,
s
,
sizeof
s
);
9
return
__builtin_strlen
(
d
);
10
}
11
12
/* { dg-final { scan-tree-dump-not "__builtin_strlen" "strlen" } } */