Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr58432.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-require-profiling "-fprofile-generate" } */ | |
3 /* { dg-options "-O3 -fprofile-generate" } */ | |
4 | |
5 struct { | |
6 int prefix; | |
7 int dir_idx; | |
8 } *a; | |
9 int b; | |
10 void fn1() { | |
11 int *c, *d; | |
12 for (; b; b++) | |
13 if (d[b]) { | |
14 c[b] = d[b]; | |
15 a[0].dir_idx = 0; | |
16 } | |
17 } |