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] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fcompare-debug" } */
3
 
4
struct S {
5
  int i;
6
};
7
 
8
extern struct S *e1(void);
9
extern int e2(int i);
10
 
11
static inline void f1()
12
{
13
  int i;
14
  struct S *s;
15
  for (i = 0; i < 10; i++)
16
    s = e1();
17
  e2(s->i);
18
}
19
 
20
static inline void f2(int i)
21
{
22
  int j = j;
23
  j = e2(i);
24
}
25
 
26
void foo(int i)
27
{
28
  f1();
29
  f2(i);
30
}

powered by: WebSVN 2.1.0

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