view gcc/testsuite/gcc.dg/torture/pr48694-2.c @ 111:04ced10e8804

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

/* { dg-do compile } */

extern volatile int g_4[1][4];
extern int g_7;
void modify(int *);
void func_2()
{
  int l_46 = 4;
  if (g_7)
    modify(&l_46);
  else
    {
      int i;
      for (i = 0; i != 5; i += 1)
	{
	  volatile int *vp = &g_4[0][l_46];
	  *vp = 0;
	}
    }
}