PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git] / gcc / testsuite / gcc.dg / pr60866.c
bloba97f4e5cb03f03a6294e40e7234683f4914c5c26
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O -fselective-scheduling -fno-if-conversion -fschedule-insns" } */
4 int n;
6 void
7 foo (int w, int **dnroot, int **dn)
9 int *child;
10 int *xchild = xchild;
11 for (; w < n; w++)
12 if (!dnroot)
14 dnroot = dn;
15 for (child = *dn; child; child = xchild)