1 /* { dg-additional-options "-fno-analyzer-suppress-followups" } */
3 typedef unsigned char Byte
;
4 typedef unsigned int uInt
;
5 typedef unsigned long uLong
;
7 typedef struct z_stream_s
{
13 typedef struct inflate_blocks_state
{
17 } inflate_blocks_statef
;
19 extern int inflate_flush(inflate_blocks_statef
*, z_stream
*, int);
21 int inflate_blocks(inflate_blocks_statef
*s
, z_stream
*z
, int r
) {
30 while (k
< (3)) { /* { dg-warning "use of uninitialized value 'k'" } */
32 if (n
) /* { dg-warning "use of uninitialized value 'n'" } */
36 s
->bitb
= b
; /* { dg-warning "use of uninitialized value 'b'" } */
37 s
->bitk
= k
; /* { dg-warning "use of uninitialized value 'k'" } */
38 z
->avail_in
= n
; /* { dg-warning "use of uninitialized value 'n'" } */
39 z
->total_in
+= p
- z
->next_in
; /* { dg-warning "use of uninitialized value 'p'" } */
40 z
->next_in
= p
; /* { dg-warning "use of uninitialized value 'p'" } */
41 s
->write
= q
; /* { dg-warning "use of uninitialized value 'q'" } */
43 return inflate_flush(s
, z
, r
);
46 b
|= ((uLong
)(n
--, *p
++)) << k
; /* { dg-warning "use of uninitialized value" } */
47 k
+= 8; /* { dg-warning "use of uninitialized value 'k'" } */