Skip to content
Snippets Groups Projects
Commit c8ee4bf5 authored by Aditya Kumar's avatar Aditya Kumar Committed by Sebastian Pop
Browse files

add missing testcase


Co-Authored-By: default avatarSebastian Pop <s.pop@samsung.com>

From-SVN: r232810
parent 0a2ba2ef
No related branches found
No related tags found
No related merge requests found
2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>
* gcc.dg/graphite/pr69292.c: New.
2016-01-25 Jakub Jelinek <jakub@redhat.com> 2016-01-25 Jakub Jelinek <jakub@redhat.com>
* c-c++-common/goacc/use_device-1.c: New test. * c-c++-common/goacc/use_device-1.c: New test.
......
/* { dg-options "-O2 -floop-nest-optimize" } */
int m[1];
void
foo (double a[20][20], double b[20])
{
int i, j, k;
for (i = 0; i < m[0]; ++i)
for (j = 0; j < m[0]; ++j)
a[i][j] = a[i][j] + 1;
for (k = 0; k < 20; ++k)
for (i = 0; i < m[0]; ++i)
for (j = 0; j < m[0]; ++j)
b[i] = b[i] + a[i][j];
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment