summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr45352-1.c
blob: 3b092cd13ed55032a063840abab6f736cab5e1fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
/* { dg-options "-O3 -fschedule-insns -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-loops -fprefetch-loop-arrays" } */

void main1 (float *pa, float *pc)
{
  int i;
  float b[256];
  float c[256];
  for (i = 0; i < 256; i++)
    b[i] = c[i] = pc[i];
  for (i = 0; i < 256; i++)
    pa[i] = b[i] * c[i];
}