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
/
pr86489.c
blob
c7e5573ebc2e72c9f94101e6d689591468de2b57
1
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
int
a
=
0
,
b
=
0
;
6
void
fn1
() {
7
int
c
=
0
;
8
for
(;
a
;
a
--)
9
c
+=
b
;
10
while
((
c
-
1
) &
c
)
11
;
12
}