aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr42245.c
blob: 98dd1d067e7f64666793d779d48680a9f91fd8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining" } */

extern int N_words;
typedef struct DIS_node_struct DIS_node;
typedef struct CON_list_struct CON_list;

struct DIS_node_struct
{
  CON_list *cl;
};

void
build_DIS_CON_tree (void)
{
  int w;
  DIS_node *dnroot, *dn;
  CON_list *child, *xchild;
  for (w = 0; w < N_words; w++)
    {
      if (dnroot == ((void *) 0))
        {
          dnroot = dn;
          for (child = dn->cl; child != ((void *) 0); child = xchild)
            {
            }
        }
    }
}