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
* Merge with edge-vector-mergepoint-20040918.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
copy-headers.c
blob
4241b40835eeb342568aabbe1ab6be3626855fba
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-ch-details" } */
3
4
extern
int
foo
(
int
);
5
6
void
bla
(
void
)
7
{
8
int
i
,
n
=
foo
(
0
);
9
10
for
(
i
=
0
;
i
<
n
;
i
++)
11
foo
(
i
);
12
}
13
14
/* There should be a header duplicated. */
15
/* { dg-final { scan-tree-dump-times "Duplicating header" 1 "ch"} } */