repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* doc/extend.texi (Loop-Specific Pragmas): Document pragma GCC unroll.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla15.C
blob
feeb49ff2803127694528cfc8c00a65644a095b4
1
// PR c++/44613
2
// { dg-do run }
3
// { dg-options "" }
4
5
void *volatile p;
6
7
int
8
main (void)
9
{
10
int n = 0;
11
lab:;
12
int x[n % 1000 + 1];
13
x[0] = 1;
14
x[n % 1000] = 2;
15
p = x;
16
n++;
17
if (n < 1000000)
18
goto lab;
19
return 0;
20
}