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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
loop-40.c
blob
36db5657a9a0dec0c890a47bad3da5d36c24fbc6
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-ch2-details" } */
3
4
int
mymax2
(
int
*
it
,
int
*
end
)
5
{
6
int
max
= *
it
;
7
while
(++
it
!=
end
)
8
if
(*
it
>
max
)
9
max
= *
it
;
10
return
max
;
11
}
12
13
/* { dg-final { scan-tree-dump "Duplicating header" "ch2" } } */