aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr99085.c
blob: dd068862fb76accfca515f5d18c42b35190a103f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* PR target/99085 */
/* { dg-do compile } */
/* { dg-options "-O2 -fgraphite-identity -fsel-sched-pipelining -fselective-scheduling2" } */
/* { dg-require-effective-target alloca } */

void
foo (int m, int n, int o, int i)
{
  long double a2[m];
  int c2[n][o];
  int j, k;

  while (i < m)
    a2[i++] = 13.132L;

  for (j = 0; j < n; j++)
    for (k = 0; k < o; k++)
      c2[j][k] = 1;

  __builtin_abort ();
}