Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr61220.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 } */ /* { dg-options "-O2 -g" } */ int a, c, d, e, f, g, h, i, j, k; struct S0 { int f0; int f1; int f2; }; struct S1 { int f0; int f1; struct S0 f2; } b; void fn1 (struct S1 p) { for (; k; k++) h = j ? a : a - 1; d &= i; } int main () { int l[5] = { 0 }; fn1 (b); for (c = 0; c < 3; c++) for (g = 0; g < 3; g++) l[c * 2] = e = l[c]; if (f) fn1 (b); return 0; }