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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [ipa/] [pr51362.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 -fipa-cp -fipa-cp-clone" } */
3
 
4
int
5
baz (void)
6
{
7
  return 0;
8
}
9
 
10
int make_mess;
11
 
12
__attribute__ ((noinline))
13
int bar (int x, int (*f) (void))
14
{
15
  return f ();
16
}
17
 
18
int
19
foo (void)
20
{
21
  return bar (1, baz);
22
}

powered by: WebSVN 2.1.0

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