OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add missing testcases.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr40281.c
1
/* { dg-do compile } */
2
/* { dg-options "-O -fprefetch-loop-arrays" } */
3
4
void foo(int);
5
void bar(int n)
6
{
7
int a[2], i, j = 0;
8
9
for (i = 0; i < 2; i += j+1)
10
for (j = 0; j < (n ? 1 : 2); ++j)
11
foo(a[i] + a[j]);
12
}