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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR rtl-optimization/47899 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -funroll-loops" } */
4
 
5
extern unsigned int a, b, c;
6
extern int d;
7
 
8
static int
9
foo (void)
10
{
11
lab:
12
  if (b)
13
    for (d = 0; d >= 0; d--)
14
      if (a || c)
15
        for (; c; c++)
16
          ;
17
      else
18
        goto lab;
19
}
20
 
21
int
22
main ()
23
{
24
  foo ();
25
  return 0;
26
}

powered by: WebSVN 2.1.0

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