1 /* { dg-do compile } */
2 /* { dg-options "-fgimple -O -Wmaybe-uninitialized" } */
4 unsigned int __GIMPLE (ssa
,startwith("uninit1"))
7 unsigned int undef
; /* { dg-warning "may be used uninitialized" } */
20 /* 'undef' is defined conditionally (under 'v & 3' predicate) */
25 /* An undef value flows into a phi. */
27 undef_1
= __PHI (__BB2
: undef_5(D
), __BB3
: undef_8
);
33 /* The phi value is used here (under 'v != 16' predicate). */
43 _2
= __PHI (__BB5
: _9
, __BB6
: _10
);