Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr42245.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* 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) { } } } }