This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cpp memory corruption in gcc 3.3


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]