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

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

/* { dg-do compile } */

int sad(const unsigned char *p1, long p2)
{
  int a = 0;
  for (int y = 0; y < 16; y++)
    {
      for (int x = 0; x < 12; x++)
	a += p1[x];
      p1 += p2;
    }
  return a;
}