Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
loop-40.c
blob: 36db5657a9a0dec0c890a47bad3da5d36c24fbc6 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-ch2-details" } */
int
mymax2
(
int
*
it
,
int
*
end
)
{
int
max
=
*
it
;
while
(++
it
!=
end
)
if
(*
it
>
max
)
max
=
*
it
;
return
max
;
}
/* { dg-final { scan-tree-dump "Duplicating header" "ch2" } } */