Revert "Disable C99 VLA when alloca is unavailable."
This reverts commit e3e5d4ad7a.
This commit is contained in:
@ -2010,7 +2010,7 @@ void old_style_function(void)
|
||||
decl_func2(NULL);
|
||||
}
|
||||
|
||||
void alloca_test()
|
||||
void alloca_test()
|
||||
{
|
||||
#if defined __i386__ || defined __x86_64__
|
||||
char *p = alloca(16);
|
||||
@ -2022,7 +2022,7 @@ void alloca_test()
|
||||
#endif
|
||||
}
|
||||
|
||||
void c99_vla_test(int size1, int size2)
|
||||
void c99_vla_test(int size1, int size2)
|
||||
{
|
||||
#if defined __i386__ || defined __x86_64__
|
||||
int tab1[size1 * size2][2], tab2[10][2];
|
||||
|
||||
Reference in New Issue
Block a user