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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr42719.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/42719 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -ftracer -fcompare-debug" } */
4
 
5
int *v;
6
 
7
void
8
foo (int a)
9
{
10
  int i, j;
11
  for (j = i = a; i != -1; j = i, i = v[i])
12
    ;
13
  v[j] = v[a];
14
}

powered by: WebSVN 2.1.0

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