Cpp memory corruption in gcc 3.3

Zack Weinberg zack@codesourcery.com
Thu Oct 23 23:34:00 GMT 2003


"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



More information about the Gcc mailing list