view gcc/testsuite/gcc.dg/torture/pr95172.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* { dg-do run } */

int a, d;
int *b = &a;
short c;
int main()
{
  for (; c <= 4; c--) {
    for (; d;)
      ;
    a = 1;
    *b = 0;
  }
  if (a != 0)
    __builtin_abort ();
  return 0;
}