1 /* { dg-do compile } */
2 /* { dg-options "-fgimple -O -Wmaybe-uninitialized" } */
4 unsigned int __GIMPLE (ssa
,startwith("uninit1"))
7 unsigned int undef
; /* { dg-bogus "may be used uninitialized" } */
19 undef_8
= 8u; // 'undef' is defined conditionally (under 'v != 100' predicate)
23 // An undef value flows into a phi.
24 undef_1
= __PHI (__BB2
: undef_5(D
), __BB3
: undef_8
);
31 _9
= undef_1
; // The phi value is used here (under 'v < 100' predicate).
39 _2
= __PHI (__BB5
: _9
, __BB6
: _10
);