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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [loop-21.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR tree-optimization/30322 */
2
 
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -fdump-tree-optimized" } */
5
 
6
extern void op( int, int);
7
void foo(int f0, int f1, int e0, int e1)
8
{
9
  int i0, i1;
10
 
11
  for (i1 = f1; i1 <= e1; ++i1)
12
    for (i0 = f0; i0 <= e0; ++i0)
13
      op(i0, i1);
14
}
15
 
16
/* { dg-final { scan-tree-dump-times "~" 0 "optimized" } } */
17
/* { 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.