testsuite/libgomp.graphite/bounds.c

Go to the documentation of this file.
00001 int foo(int *a, int n)
00002 {
00003   int i;
00004   for (i = 2; i < n; i++)
00005     a[i] += a[i+1];
00006 }
00007 
00008 /* Check that Graphite dependency checking notes the dependency.  */
00009 /* { dg-do compile } */
00010 /* { dg-final { scan-tree-dump-times "0 loops carried no dependency" 1 "graphite" } } */
00011 /* { dg-final { cleanup-tree-dump "graphite" } } */
00012 /* { dg-final { cleanup-tree-dump "parloops" } } */
00013 /* { dg-final { cleanup-tree-dump "optimized" } } */

Generated on Fri Apr 5 05:38:10 2013 for Libgomp by  doxygen 1.4.7