Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20020109-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* This testcase ICEd when 2 different successors of a basic block were successfully threaded and try_forward_edges was not expecting that. */ typedef struct A { struct A *s, *t; unsigned int u; } A; void bar (A *); void foo (A *x, A *y, A *z) { while (y && (((y && y->t && y->t->u) ? y : z)->t == ((x && x->t && x->t->u) ? x : z)->t)) y = y->s; if (y) bar (y); }