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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr51519.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -fno-guess-branch-probability -findirect-inlining" } */
3
 
4
void fe (void);
5
int i;
6
 
7
static inline void
8
FX (void (*f) (void))
9
{
10
  fe ();
11
  (*f) ();
12
}
13
 
14
static inline void
15
f4 ()
16
{
17
  if (i)
18
    FX (fe);
19
}
20
 
21
static inline void
22
f3 (void)
23
{
24
  f4 ();
25
  if (i)
26
    FX (f4);
27
}
28
 
29
static inline void
30
f2 (void)
31
{
32
  FX (&f3);
33
}
34
 
35
void
36
f1 (void)
37
{
38
  FX (&f2);
39
}

powered by: WebSVN 2.1.0

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