URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [Wstrict-aliasing-bogus-const-ptr-nonconst-ptr.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -Wstrict-aliasing -fstrict-aliasing" } */ const int* foo (void) { int *i; const int** cpi = (const int**) &i; /* { dg-bogus "const vs. non-const" } */ i = 0; return *cpi; }