Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr45352-1.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 { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */ /* { dg-options "-O3 -fschedule-insns -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-loops -fprefetch-loop-arrays" } */ /* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ 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]; }