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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr33645-1.c] - Blame information for rev 701

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/33645 */
2
/* { dg-do link } */
3
/* { dg-options "-O2 -fno-unit-at-a-time" } */
4
 
5
__attribute__((noinline)) int
6
bar (int *x)
7
{
8
  return *x++;
9
}
10
 
11
int
12
main ()
13
{
14
  static int var1_s;
15
  static int *var1_t = &var1_s;
16
 
17
  return bar (var1_t) != 0;
18
}

powered by: WebSVN 2.1.0

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