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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
loadpre4.c
blob
6eaf690189204a4016d030844030b0205f53b2ad
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-pre-stats -fno-tree-loop-im" } */
3
int
main
(
int
*
a
,
int
argc
)
4
{
5
int
i
;
6
int
e
;
7
8
for
(
i
=
0
;
i
<
argc
;
i
++)
9
{
10
e
= *
a
;
11
*
a
=
9
;
12
}
13
return
e
;
14
}
15
16
/* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre" } } */