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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020109-1.c] - Blame information for rev 717

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

Line No. Rev Author Line
1 688 jeremybenn
/* This testcase ICEd when 2 different successors of a basic block
2
   were successfully threaded and try_forward_edges was not expecting
3
   that.  */
4
 
5
typedef struct A
6
{
7
  struct A *s, *t;
8
  unsigned int u;
9
} A;
10
 
11
void bar (A *);
12
 
13
void
14
foo (A *x, A *y, A *z)
15
{
16
  while (y
17
         && (((y && y->t && y->t->u) ? y : z)->t
18
             == ((x && x->t && x->t->u) ? x : z)->t))
19
    y = y->s;
20
 
21
  if (y)
22
    bar (y);
23
}

powered by: WebSVN 2.1.0

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