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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [inline-33.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O3 -fdump-tree-optimized"  } */
3
/* { dg-add-options bind_pic_locally } */
4
 
5
int i;
6
 
7
int foo ();
8
 
9
main ()
10
{
11
  return foo (i);
12
}
13
 
14
int foo (i)
15
     int i;
16
{
17
  return bar(i);
18
}
19
 
20
/* { dg-final { scan-tree-dump-times "bar"  2 "optimized"  } } */
21
/* { dg-final { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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