URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr45991.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O -fstrict-overflow" } */ struct S { int i; }; char A[64]; void foo (char **dst, int i) { char *p = A + 16; while (i--) { int b = ((struct S *) (&p[i * 16 + 4]))->i; char *c = A + i * 16; dst[i] = c + b; } }
Go to most recent revision | Compare with Previous | Blame | View Log