get rid of alloca() in compiler
diff --git a/tests/tests-c-compiler/check-src/check-30.-fwide-types.c b/tests/tests-c-compiler/check-src/check-30.-fwide-types.c
index e4a4737..1843080 100644
--- a/tests/tests-c-compiler/check-src/check-30.-fwide-types.c
+++ b/tests/tests-c-compiler/check-src/check-30.-fwide-types.c
@@ -216,14 +216,11 @@
static void
try_corrupt(uint8_t *buf, size_t size) {
- uint8_t *tmp;
- int i;
+ uint8_t tmp[size];
fprintf(stderr, "\nCorrupting...\n");
- tmp = alloca(size);
-
- for(i = 0; i < 1000; i++) {
+ for(int i = 0; i < 1000; i++) {
int loc;
memcpy(tmp, buf, size);