summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr66165.c
blob: 07407d05019a9a5bd228d2e0efcd187ebed00fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */

void foo(double *d, double *a)
{
  d[0] += d[2];
  d[1] += d[3];
  d[2] += d[4];
  d[3] += d[5];
  a[0] = d[0];
  a[1] = d[1];
}