view gcc/testsuite/gcc.dg/torture/pr87211.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */

int a, b;
int i(int *);
int *c(int *d, int *e)
{
  for (; b;)
    d = e;
  return d;
}
void f()
{
  for (;;)
    {
      int *g[1];
      int h = 0;
      for (; h < 3; h++)
	g[0] = &a;
      &a == g[0] || i(c((int *)g, g[0]));
    }
}