]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr37106-2.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr37106-2.c
CommitLineData
cbc19f39
JJ
1/* PR c/37106 */
2/* { dg-do compile } */
3/* { dg-options "-O3" } */
4/* { dg-options "-O3 -fpic" { target fpic } } */
5
6#define SIZE 256
7float a[SIZE], b[SIZE], c[SIZE];
8
9void non_opt3 (void) __attribute__((__optimize__(1)));
10
11void
12not_opt3 (void)
13{
14 int i;
15
16 for (i = 0; i < SIZE; i++)
17 a[i] = b[i] - c[i];
18}
19
20void
21opt3 (void)
22{
23 int i;
24
25 for (i = 0; i < SIZE; i++)
26 a[i] = b[i] + c[i];
27}