summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr21293.c
blob: 54184b3e03924ecf3f026f06befd83933e0f0d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Testcase from Dale Johannesen <dalej@gcc.gnu.org>. */
struct {
double x[1];
} g;
void k( double *, double*);
void h(int Tmp8)
{
  int i;
  for(i = 1;i <= Tmp8;i++)
    k(&g.x[ + -1],&g.x[ Tmp8 + -1]);
}