view gcc/testsuite/g++.dg/torture/pr84132.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 84e7813d76e9
children
line wrap: on
line source

/* { dg-do compile } */

struct g {
    char b;
    unsigned char *d[];
} e;
unsigned char f;
void i()
{
  for (int h;; h++)
    {
      unsigned a = h;
      for (int c = 0; c < 256; c += 6)
	for (int h = c; h < c + 6; h++)
	  e.d[h + a] = &f;
    }
}