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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020320-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR bootstrap/4192
2
   This testcase caused infinite loop in flow (several places),
3
   because flow assumes gen_jump generates simple_jump_p.  */
4
 
5
typedef void (*T) (void);
6
extern T x[];
7
 
8
void
9
foo (void)
10
{
11
  static T *p = x;
12
  static _Bool a;
13
  T f;
14
 
15
  if (__builtin_expect (a, 0))
16
    return;
17
 
18
  while ((f = *p))
19
    {
20
      p++;
21
      f ();
22
    }
23
  a = 1;
24
}

powered by: WebSVN 2.1.0

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