diff options
| -rw-r--r-- | tccgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5771,7 +5771,7 @@ static void gen_function(Sym *sym) sym_push2(&local_stack, SYM_FIELD, 0, 0); gfunc_prolog(&sym->type); #ifdef CONFIG_TCC_BCHECK - if (tcc_state->do_bound_check + if (tcc_state->do_bounds_check && !strcmp(get_tok_str(sym->v, NULL), "main")) { int i; |
