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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [wholeprogram-1.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-options "-O2 -fdump-tree-optimized -fwhole-program" } */
2
int b[100];
3
void abort (void);
4
 
5
void
6
large_function ()
7
{
8
  int i;
9
  for (i = 0; i < 99; i++)
10
    if (b[i] / (b[i+1] + 1))
11
      abort ();
12
}
13
 
14
main ()
15
{
16
  large_function ();
17
}
18
 
19
/* Function should be inlined as called once.  */
20
/* { dg-final { scan-tree-dump-not "large_function" "optimized"} } */
21
 
22
/* { dg-final { cleanup-tree-dump "optimized" } } */
23
 

powered by: WebSVN 2.1.0

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