PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-pr78295.c
blob485c22931dad8b09faedfccf8a155fd268941f91
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wall -Wno-psabi" } */
4 typedef double vectype __attribute__ ((__vector_size__ (16)));
6 vectype
7 f (double x)
9 vectype t;
10 for (int i = 0; i < 2; i++)
11 t[i] = x; /* { dg-bogus "uninitialized" } */
12 return t;