Commit 4a20f4fc by Sebastian Pop Committed by Sebastian Pop

Add testcase for PR46215.

2011-01-18  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/46215
	* gcc.dg/graphite/pr46215.c: New.

From-SVN: r169256
parent 7f5b7dce
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46215
* gcc.dg/graphite/pr46215.c: New.
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46168
* gcc.dg/graphite/pr46168.c: New.
......
/* { dg-do compile } */
/* { dg-options "-O -fstrict-overflow -fno-tree-ch -ftree-loop-linear" } */
extern int y[], x1[], x2[];
void
foo (long n)
{
int i, j;
for (i = 0; i < n; i++)
for (j = 0; j < n; j += 2)
y[i] = x1[i + j] * x2[i + j];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment