Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/BUG21.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
typedef struct { int knock_on_wood; /* leave it out and it works. */ int f1; } FOO; typedef struct { FOO *b1; } BAR; Nase () { int i, j; FOO *foop; BAR *barp; for (i = 0; i < 2; i++) { foop = &barp->b1[i]; for (j = 0; j < foop->f1; j++) { /* dummy() */; /* put it in and it works. */ } } }