PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / c-c++-common / pr72747-2.c
blob080d6fc42510abaa398ec2c173e1f74d23b8318f
1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-c -maltivec -fdump-tree-gimple" } */
5 /* PR 72747: test that cascaded definition is happening for non constants. */
7 void foo ()
9 extern int i;
10 __vector int v,w;
11 v = w = (vector int) { i };
14 int main (int argc, char *argv[])
16 return 0;
18 /* { dg-final { scan-tree-dump-times " w = {i.0_1}" 1 "gimple" } } */