Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr42245.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
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) { } } } }