remove no-longer-necessary naive fix for vla vstack leak

master
Joe Soroka 2011-04-09 23:04:01 -07:00
parent c85f77de70
commit 1b8c094f39
1 changed files with 0 additions and 5 deletions

View File

@ -4326,14 +4326,11 @@ static void block(int *bsym, int *csym, int *case_sym, int *def_sym,
gsym_addr(b, d);
} else if (tok == '{') {
Sym *llabel;
SValue *pvtop;
next();
/* record local declaration stack position */
s = local_stack;
llabel = local_label_stack;
/* record vstack position */
pvtop = vtop;
/* handle local labels declarations */
if (tok == TOK_LABEL) {
next();
@ -4360,8 +4357,6 @@ static void block(int *bsym, int *csym, int *case_sym, int *def_sym,
}
/* pop locally defined labels */
label_pop(&local_label_stack, llabel);
/* pop left-over VLA size expressions */
vtop = pvtop;
if(is_expr) {
/* XXX: this solution makes only valgrind happy...
triggered by gcc.c-torture/execute/20000917-1.c */