Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr83501.c
blob: a301d0d2e2b4336235e253a45847ea8b8f030b31 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-strlen" } */
char
a
[
4
];
void
f
(
void
)
{
__builtin_strcpy
(
a
,
"abc"
);
if
(
__builtin_strlen
(
a
)
!=
3
)
__builtin_abort
();
}
/* { dg-final { scan-tree-dump-not "__builtin_strlen" "strlen1" } } */