view gcc/testsuite/gcc.c-torture/compile/pr59417.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

/* PR tree-optimization/59417 */
/* { dg-skip-if "ptxas times out" { nvptx-*-* } { "-O1" "-O2" "-Os" } { "" } } */

int a, b, d;
short c;

void
f (void)
{
  if (b)
    {
      int *e;

      if (d)
	{
	  for (; b; a++)
	  lbl1:
	    d = 0;

	  for (; d <= 1; d++)
	    {
	      int **q = &e;
	      for (**q = 0; **q <= 0; **q++)
		d = 0;
	    }
	}
    }

  else
    {
      int t;
      for (c = 0; c < 77; c++)
	for (c = 0; c < 46; c++);
      for (; t <= 0; t++)
      lbl2:
	;
      goto lbl1;
    }
  goto lbl2;
}