1 /* PR c++/78949 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Wunused" } */ 4 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ 5 6 typedef unsigned char V __attribute__((vector_size(16))); 7 V v; 8 9 void foo()10foo () 11 { 12 V y = {}; 13 V x = {}; // { dg-bogus "set but not used" } 14 y &= ~x; 15 v = y; 16 } 17