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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr42878-1.c] - Rev 754

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

/* { dg-do compile } */
/* { dg-options "-fcompare-debug" } */
 
struct S {
  int i;
};
 
extern struct S *e1(void);
extern int e2(int i);
 
static inline void f1()
{
  int i;
  struct S *s;
  for (i = 0; i < 10; i++)
    s = e1();
  e2(s->i);
}
 
static inline void f2(int i)
{
  int j = j;
  j = e2(i);
}
 
void foo(int i)
{
  f1();
  f2(i);
}
 

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

powered by: WebSVN 2.1.0

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