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

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

/* { dg-do compile } */
/* { dg-require-effective-target alloca } */
/* { dg-additional-options "-g" } */

int a, b, c, d, *e, f, g;

int fn1 ()
{
  char h[2];
  int i = 0;
  for (; i < 2; i++)
    {
      if (c)
	for (*e = 0; *e;)
	  {
	    int j[f];
	    i = *e;
	  }
      h[i] = 0;
    }
  for (; a;)
    return h[0];
  for (b = 0; b;)
    i = g = (1 & i) < d;
  return 0;
}