2 /* { dg-do compile } */
3 /* { dg-options "-O -Wuninitialized" } */
8 foo (int *x
, int y
, va_list ap
)
10 __builtin_memset (x
, 0, sizeof (int));
11 for (int i
= 0; i
< y
; i
++)
12 va_arg (ap
, long double); /* { dg-bogus "uninitialized" } */