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-prof
/
tracer-1.c
blob
1e64f284ac0f2501a57a76783c2cacbccaf5b4f8
1
/* { dg-options "-O2 -ftracer -fdump-tree-tracer" } */
2
volatile
int
a
,
b
,
c
;
3
int
main
()
4
{
5
int
i
;
6
for
(
i
=
0
;
i
<
1000
;
i
++)
7
{
8
if
(
i
%
17
)
9
a
++;
10
else
11
b
++;
12
c
++;
13
}
14
return
0
;
15
}
16
/* Superblock formation should produce two copies of the increment of c */
17
/* { dg-final-generate { scan-tree-dump-times "c =" 2 "tracer" } } */