summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr48159-1.c
blob: cd67e63852f3283d04b653dcc2e0f44f84d31101 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR debug/48159 */
/* { dg-do compile } */
/* { dg-options "-O3 -fcompare-debug" } */

void
foo (double x, int y, double *__restrict z, double *__restrict w)
{
  while (y--)
    *z++ = (*w++ = 0) * x;
}