view gcc/testsuite/gcc.dg/torture/pr82129.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-additional-options "-ftree-pre" } */

int pj;

void
g4 (unsigned long int *bc, unsigned long int *h5)
{
  if (pj != 0)
    {
      int ib = 0;

      while (bc != 0)
	{
m6:
	  for (pj = 0; pj < 2; ++pj)
	    pj = 0;

	  while (pj != 0)
	    {
	      for (;;)
		{
		}

	      while (ib != 0)
		{
		  unsigned long int tv = *bc;
		  unsigned long int n7;

		  *bc = 1;
		  while (*bc != 0)
		    {
		    }

ut:
		  if (pj == 0)
		    n7 = *h5 > 0;
		  else
		    {
		      *h5 = tv;
		      n7 = *h5;
		    }
		  ib += n7;
		}
	    }
	}

      goto ut;
    }

  goto m6;
}