Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr47372-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-require-effective-target fpic } */ /* { dg-options "-O2 -fPIC -g" } */ typedef unsigned short ush; typedef ush Pos; extern ush prev[]; void fill_window( unsigned more, unsigned m) { unsigned n; for (n = 0; n < (unsigned)(1<<15); n++) { (prev+0x8000)[n] = (Pos)(m >= 0x8000 ? m-0x8000 : 0); } for (n = 0; n < 0x8000; n++) { prev[n] = (Pos)(m >= 0x8000 ? m-0x8000 : 0); } }