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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20030823-1.c] - Blame information for rev 715

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

Line No. Rev Author Line
1 688 jeremybenn
struct A
2
{
3
  int a;
4
};
5
 
6
int foo (struct A *a)
7
{
8
  static int c = 30;
9
  int x;
10
 
11
  a->a = c;
12
  /* Dominator optimizations will replace the use of 'a->a' with 'c', but
13
     they won't copy the virtual operands for 'c' from its originating
14
     statement.  This exposes symbol 'c' without a correct SSA version
15
     number.  */
16
  x = a->a;
17
  return x;
18
}

powered by: WebSVN 2.1.0

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