gcc/testsuite/gcc.dg/pr47381-2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2" } */ |
| 3 | |
| 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() |
| 11 | { |
| 12 | return flush_block(block_start >= 0L ? (char*)&window[(unsigned)block_start] : (char*)((void *)0), (long)strstart - block_start, (1)); |
| 13 | } |