]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr47372-2.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr47372-2.c
CommitLineData
8f2b8cde
L
1/* { dg-do compile } */
2/* { dg-require-effective-target fpic } */
3/* { dg-options "-O2 -fPIC -g" } */
4
5typedef unsigned short ush;
6typedef ush Pos;
7extern ush prev[];
8void fill_window( unsigned more, unsigned m)
9{
10 unsigned n;
11 for (n = 0; n < (unsigned)(1<<15); n++) {
12 (prev+0x8000)[n] = (Pos)(m >= 0x8000 ? m-0x8000 : 0);
13 }
14 for (n = 0; n < 0x8000; n++) {
15 prev[n] = (Pos)(m >= 0x8000 ? m-0x8000 : 0);
16 }
17}