aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr78742.c
blob: 75601d4392f744e9847f8887d13c37ce99cb3977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile } */
/* { dg-require-effective-target int128 } */
/* { dg-require-effective-target alloca } */

void foo();

void func()
{
  int m;

  int tab[m];

  __int128 j;
  for(; j; j++)
    {
      tab[j] = 0;
      tab[j+1] = 0;
    }

  foo();
}