view gcc/testsuite/gcc.c-torture/compile/pr49206.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-require-effective-target untyped_assembly } */
struct S1
{
  short f0;
};
extern volatile struct S1 g_5;
extern int g_120, i;
extern short g_339;

int
func_72 (int x, int y, struct S1 z)
{
  for (z.f0 = -3; z.f0 > 16; z.f0 += 1)
    foo ();
  return g_120;
}

int
main ()
{
  while (g_339 % 0x200003)
    continue;
  if (i)
    func_72 (0, 0, g_5);
  foo (&g_339);
  return 0;
}