(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr84772.c
       1  /* PR target/84772 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O -Wuninitialized" } */
       4  
       5  #include <stdarg.h>
       6  
       7  void
       8  foo (int *x, int y, va_list ap)
       9  {
      10    __builtin_memset (x, 0, sizeof (int));
      11    for (int i = 0; i < y; i++)
      12      va_arg (ap, long double);			/* { dg-bogus "uninitialized" } */  
      13  }