OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20090210_1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "-fPIC" { target { ! sparc*-*-* } } } */
2
static void
3
f (int n)
4
{
5
  int i;
6
  static int __thread value = 100;
7
  for (i = 0; i < n; ++i)
8
    {
9
      volatile int *p = &value;
10
      volatile int x __attribute__ ((unused)) = *p;
11
    }
12
}
13
 
14
 
15
extern int foo (int);
16
 
17
int
18
main (int argc, char **argv)
19
{
20
  f (foo (4) + argc);
21
  return 0;
22
}

powered by: WebSVN 2.1.0

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