view gcc/testsuite/gcc.dg/torture/pr89710.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */

void
gm (int *);

__attribute__ ((returns_twice)) void
jg (void)
{
}

void
eb (void)
{
  int r6 = 0;

  if (r6 != 0)
    gm (&r6);
}

void
gm (int *r6)
{
  jg ();

  for (;;)
    {
      eb ();
      *r6 = 0;
    }
}