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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [pr43942.c] - Blame information for rev 686

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 686 jeremybenn
/* PR debug/43942 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fcompare-debug" } */
4
 
5
extern int f1 (int);
6
 
7
int
8
f2 (int x)
9
{
10
  extern int v;
11
  return f1 (x);
12
}
13
 
14
void
15
f3 (void)
16
{
17
  f2 (0);
18
}
19
 
20
static inline int
21
f4 (int x)
22
{
23
  extern int w;
24
  if (w)
25
    return f1 (x);
26
  return 0;
27
}
28
 
29
void
30
f5 (void)
31
{
32
  f4 (0);
33
}

powered by: WebSVN 2.1.0

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