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
/
pr33742.c
blob
b905d9ddad93075af7cd6c9af5ce4fd418e6ae04
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize" } */
3
4
typedef
unsigned short
ush
;
5
extern
ush prev
[];
6
7
void
fill_window
()
8
{
9
register
unsigned
n
,
m
;
10
11
for
(
n
=
0
;
n
<
32768
;
n
++)
12
{
13
m
=
prev
[
n
];
14
prev
[
n
] = (
ush
) (
m
>=
0x8000
?
m
-
0x8000
:
0
);
15
}
16
}