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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr48929.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/*{ dg-options "-O  -findirect-inlining" }*/
2
void bar ();
3
 
4
static void
5
f4 (double di, double d, double *dd)
6
{
7
  if (d == 0 && di == 0)
8
    *dd = 0;
9
  bar ();
10
}
11
 
12
static inline void
13
f3 (int i, double d)
14
{
15
  double di = i;
16
  double dd;
17
  f4 (di, d, &dd);
18
}
19
 
20
static inline void
21
f2 (int i, double d)
22
{
23
  if (d < 0)
24
    f3 (i, d);
25
}
26
 
27
void
28
f1 ()
29
{
30
  f2 (0, 1);
31
}
32
 

powered by: WebSVN 2.1.0

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