blob: b2fb9aca1df7c12befa0400b624889f83975e38a [file] [log] [blame]
/* PR c++/44780 */
/* { dg-do compile } */
/* { dg-options "-Wunused" } */
/* { dg-additional-options "-fno-common" { target { { hppa*-*-hpux* } && { ! lp64 } } } } */
typedef double vec __attribute__ ((__vector_size__ (16)));
vec c, d;
void
foo (void)
{
vec a;
vec b;
a = c;
b = a;
d = b;
}
void
bar (void)
{
vec a;
vec b; /* { dg-warning "set but not used" } */
a = c;
b = a;
}