view gcc/testsuite/gcc.dg/torture/pr48124-3.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 run } */

extern void abort (void);
struct S1
{
  int f0;
  int:1;
  int f3;
  int:1;
  int:0;
  int f6:1;
};
int g_13 = 1;
volatile struct S1 g_118 = {
    1
};

void __attribute__((noinline))
func_46 ()
{
  for (g_13 = 0; g_13 >= 0; g_13 -= 1)
    g_118.f6 = 0;
}

int
main ()
{
  func_46 ();
  if (g_13 != -1)
    abort ();
  return 0;
}