[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison 1.875 has memory corruption problems
From: |
Chris Lattner |
Subject: |
Re: Bison 1.875 has memory corruption problems |
Date: |
Mon, 5 Apr 2004 23:27:15 -0500 (CDT) |
On Mon, 5 Apr 2004, Paul Eggert wrote:
> Chris Lattner <address@hidden> writes:
>
> > I believe the problem is due to an uninitialized variable in the
> > lexer somewhere.
>
> That bug should be fixed in the latest alpha version; see
>
> ftp://alpha.gnu.org/gnu/bison/bison-1.875c.tar.gz
>
> If memory serves, the bug causes incorrect line numbers to be put into
> #line directives in some cases.
Sure enough, this fixes the problem. Thanks a lot! When compiling with
LLVM, this bug caused bison to crash in some cases (because it has a much
more aggressive optimizer than GCC), now it passes all of 'make check'.
Thanks again,
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/