Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / pr47381-2.c
blob8aa7be720a026b354e258112dab6c5b121b33d44
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 typedef unsigned long ulg;
5 long block_start;
6 typedef unsigned char uch;
7 extern uch window[];
8 unsigned strstart;
9 ulg flush_block (char *buf, ulg stored_len, int eof);
10 ulg deflate()
12 return flush_block(block_start >= 0L ? (char*)&window[(unsigned)block_start] : (char*)((void *)0), (long)strstart - block_start, (1));