Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr83847.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-additional-options "-march=bdver4" { target i?86-*-* x86_64-*-* } } */ typedef struct { struct { int a; int b; } c; } * d; typedef struct { unsigned e; d f[]; } g; g h; d *k; int i(int j) { if (j) { *k = *h.f; return 1; } return 0; } int l; int m; int n; d o; void p() { for (; i(l); l++) { n += o->c.a; m += o->c.b; } }