Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr46002.c
blob: 27a3a3a284c607c2215ea461f056676997417c26 [
file
] [
log
] [
blame
]
/* { dg-options "-fira-algorithm=priority" } */
char
**
foo
(
char
**
p
,
char
*
cmp
,
unsigned
i
)
{
for
(;
*
p
;
p
++)
if
(
__builtin_strncmp
(*
p
,
cmp
,
i
))
if
(
i
==
__builtin_strlen
(*
p
))
break
;
return
p
;
}