1 /* PR middle-end/89230 - Bogus uninited usage warning with printf
3 { dg-options "-O2 -Wall" } */
5 struct S
{ int i
, j
; };
7 /* attribute__ ((malloc)) */ struct S
* f (void);
12 struct S
*q
; // { dg-bogus "" "uninitialized" { xfail *-*-* } }
14 if (p
->i
|| !(q
= f ()) || p
->j
!= q
->i
)
16 __builtin_printf ("%i", p
->i
);
21 if (!q
) // { dg-bogus "\\\[-Wmaybe-uninitialized" "" { xfail *-*-* } }