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
gcc/
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
assign-2.c
blob
47c38225b67ba7b398e936edf9c2d805f431e037
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
volatile
int
count
;
5
int
arr
[
4
];
6
void
foo
()
7
{
8
arr
[
count
++] =
0
;
9
}
10
11
/* { dg-final { scan-tree-dump-times "count =" 1 "optimized"} } */
12
/* { dg-final { cleanup-tree-dump "optimized" } } */
13