This reverts commit e3e5d4ad7a475e30ea13ad1ba9f23e6210d5d431.
Showing the changes to tests (1 of 2 files). Show all
Unified · Split
| @@ -2010,7 +2010,7 @@ void old_style_function(void) · 2009 unmodified lines | ||
| 2010 | 2010 | |
| 2011 | 2011 | void alloca_test() |
| 2012 | 2012 | { |
| 2013 | −#ifdef TOK_alloca | |
| 2013 | +#if defined __i386__ || defined __x86_64__ | |
| 2014 | 2014 | char *p = alloca(16); |
| 2015 | 2015 | strcpy(p,"123456789012345"); |
| 2016 | 2016 | printf("alloca: p is %s\n", p); |
| @@ -2022,7 +2022,7 @@ void alloca_test() · 5 unmodified lines | ||
| 2022 | 2022 | |
| 2023 | 2023 | void c99_vla_test(int size1, int size2) |
| 2024 | 2024 | { |
| 2025 | −#ifdef TOK_alloca | |
| 2025 | +#if defined __i386__ || defined __x86_64__ | |
| 2026 | 2026 | int tab1[size1 * size2][2], tab2[10][2]; |
| 2027 | 2027 | void *tab1_ptr, *tab2_ptr; |
| 2028 | 2028 | |