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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20030823-1.c] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
struct A
struct A
{
{
  int a;
  int a;
};
};
 
 
int foo (struct A *a)
int foo (struct A *a)
{
{
  static int c = 30;
  static int c = 30;
  int x;
  int x;
 
 
  a->a = c;
  a->a = c;
  /* Dominator optimizations will replace the use of 'a->a' with 'c', but
  /* Dominator optimizations will replace the use of 'a->a' with 'c', but
     they won't copy the virtual operands for 'c' from its originating
     they won't copy the virtual operands for 'c' from its originating
     statement.  This exposes symbol 'c' without a correct SSA version
     statement.  This exposes symbol 'c' without a correct SSA version
     number.  */
     number.  */
  x = a->a;
  x = a->a;
  return x;
  return x;
}
}
 
 

powered by: WebSVN 2.1.0

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