OpenCores
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] - Blame information for rev 753

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* The 3 constant initializers should be uniquized.  */
2
 
3
/* { dg-lto-do run } */
4
/* { dg-lto-options {{-Os -flto -flto-partition=none} {-Os -flto -flto-partition=1to1} } } */
5
 
6
int lookup1 (int i)
7
{
8
  int a[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
9
  return a[i];
10
}
11
 
12
int lookup2 (int i)
13
{
14
  int a[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
15
  return a[i+1];
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.