URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [const-uniq_0.c] - Rev 753
Go to most recent revision | Compare with Previous | Blame | View Log
/* The 3 constant initializers should be uniquized. */ /* { dg-lto-do run } */ /* { dg-lto-options {{-Os -flto -flto-partition=none} {-Os -flto -flto-partition=1to1} } } */ int lookup1 (int i) { int a[] = { 0, 1, 2, 3, 4, 5, 6, 7 }; return a[i]; } int lookup2 (int i) { int a[] = { 0, 1, 2, 3, 4, 5, 6, 7 }; return a[i+1]; }
Go to most recent revision | Compare with Previous | Blame | View Log