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
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
vla-const-1.c
blob
c7c1dbee5232897b27498700f01c8db72eb270a9
1
/* Test TREE_CONSTANT VLA size: bug 27893. */
2
/* Origin: Joseph Myers <joseph@codesourcery.com> */
3
/* { dg-require-effective-target alloca } */
4
int
a
;
5
void
g
(
void
*);
6
void
f
(
void
) {
int
b
[(
__SIZE_TYPE__
)&
a
];
g
(
b
); }