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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20030820-2.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1" } */
3
 
4
/* A test for variables getting out of their scope in copy propagation.  */
5
 
6
void foo(void)
7
{
8
  int k;
9
 
10
  goto forward;
11
back:
12
  bla (k);
13
  return;
14
 
15
forward:
16
    {
17
      int i = bar ();
18
 
19
      k = i;
20
 
21
      goto back;
22
    }
23
}
24
 

powered by: WebSVN 2.1.0

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