Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr61220.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
/* { 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; }