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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr46002.c
blob
27a3a3a284c607c2215ea461f056676997417c26
1
/* { dg-options "-fira-algorithm=priority" } */
2
char
**
3
foo
(
char
**
p
,
char
*
cmp
,
unsigned
i
)
4
{
5
for
(; *
p
;
p
++)
6
if
(
__builtin_strncmp
(*
p
,
cmp
,
i
))
7
if
(
i
==
__builtin_strlen
(*
p
))
8
break
;
9
return
p
;
10
}