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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [ipa/] [ipa-6.c] - Blame information for rev 706

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR middle-end/29122 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fipa-cp -fno-early-inlining" } */
4
 
5
int
6
dont_inline (int);
7
 
8
int
9
bar (int b, int c)
10
{
11
   return dont_inline (c);
12
}
13
 
14
int
15
foo (int a)
16
{
17
  if (a++ > 0)
18
    bar (a, 3);
19
 
20
  foo (7);
21
}
22
 
23
int
24
main ()
25
{
26
  int i;
27
  for (i = 0; i < 100; i++)
28
    foo (7);
29
  return 0;
30
}
31
 
32
 
33
 

powered by: WebSVN 2.1.0

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