This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Cpp memory corruption in gcc 3.3
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 23 Oct 2003 14:05:41 -0700
- Subject: Re: Cpp memory corruption in gcc 3.3
- References: <20031023195937.GA10911@lucon.org>
"H. J. Lu" <hjl@lucon.org> writes:
> I have a very strange cpp memory corruption in gcc 3.3 on Linux/ia64
> running RHEL 3. I got
>
> Old value = 42983
> New value = 30064814055
> _cpp_lex_direct (pfile=0x60000000000fdcc0)
> at /net/gnu/export/gnu/src/gcc-3.3/gcc/gcc/cpplex.c:972
> 972 result->col = CPP_BUF_COLUMN (buffer, buffer->cur);
> (gdb)
>
> It overrides some memory in malloc. Any ideas?
Provide a test case.
zw