URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [Wunused-var-12.c] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
/* 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; }
Go to most recent revision | Compare with Previous | Blame | View Log