[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison valgrind

From: Frank Heckenbach
Subject: Re: bison valgrind
Date: Thu, 14 Jul 2005 02:59:36 +0200
User-agent: semail 20050409

Paul Hilfinger wrote:

> This is actually Akim's code rather than mine, so I'm a tad uncertain as
> to the "correct" fix.  The problem, at least, is clear: when entering
> the error-recovery code as a result of YYERROR, yyerror_range[1] is 
> uninitialized. I request a second set of eyes take a look at the
> suggested patch below, inspired by yacc.c, and tell me what you think.

Incidentally a user of our compiler reported a bug the other day
that I traced down to exactly this problem, just when I read your
mail. I was already going make a reproducable test case, now I don't
have to. :-)

I can report that your patch (applied to Bison 2.0) fixes this
problem. So thanks for this ultra-quick fix. (-; This mail is very
late in comparison, as I was busy with other things meanwhile.)


Frank Heckenbach, address@hidden
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]