2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / id-29.c
blob9554c0b67d7e7d0f67e36fba1a058ace30bb3640
1 /* { dg-options "-floop-nest-optimize -O2" } */
3 typedef struct {
4 unsigned lp, lc;
5 short *l;
6 short p[1 << 4];
7 } foo;
9 void LzmaEnc_Init(foo *p) {
10 unsigned i;
11 unsigned num = 0x300 << (p->lp + p->lc);
12 for (i = 0; i < num; i++)
13 p->l[i] = ((1 << 11) >> 1);
15 for (i = 0; i < (1 << 4); i++)
16 p->p[i] = ((1 << 11) >> 1);