view gcc/testsuite/gcc.c-torture/compile/xcsebug.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

int g1;
int g2;

foo ()
{
  int i = 1;
  int x;

  x = g1;
  (*(&g1 + i - 1)) = x + 1;
  x = g1;
  (*(&g1 + i - 1)) = x + 1;
  g1++;
}