1 /* { dg-do compile } */ 2 /* { dg-additional-options "-Wno-psabi" } */ 3 /* { dg-additional-options "-mavx512bw" { target x86_64-*-* i?86-*-* } } */ 4 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ 5 6 typedef unsigned V __attribute__ ((vector_size (64))); 7 8 V g; 9 10 static V baz(V u,V v)11baz (V u, V v) 12 { 13 g += u; 14 return v + g + 1; 15 } 16 17 static V bar(V u)18bar (V u) 19 { 20 u[0] = 0; 21 return baz(u, (V){}); 22 } 23 24 V foo()25foo () 26 { 27 return (V){bar((V){})[0]}; 28 } 29