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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20011229-2.c] - Blame information for rev 745

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

Line No. Rev Author Line
1 688 jeremybenn
/* Test whether jump threading doesn't ICE if redirecting the jump to exit
2
   block.  */
3
 
4
extern int bar ();
5
extern void baz ();
6
 
7
void foo ()
8
{
9
  int x;
10
 
11
  do
12
    {
13
      if ((x = bar ()) == 1)
14
        baz ();
15
    }
16
  while (x == 1);
17
}

powered by: WebSVN 2.1.0

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