URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [Wstrict-aliasing-bogus-never-dereferenced.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -Wstrict-aliasing -fstrict-aliasing" } */ int foo () { int x = 10; int *p; float *q; q = (float*) &x; /* { dg-bogus "not referenced" } */ return x; }
Go to most recent revision | Compare with Previous | Blame | View Log