This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: coredump
- To: Puneet Singhal <puneet at opussoft dot com>
- Subject: Re: coredump
- From: Soubhik Bhattacharya <soubhik at cse dot iitk dot ac dot in>
- Date: Sat, 17 Mar 2001 21:12:17 +0530 (IST)
- cc: gcc-help at gcc dot gnu dot org <gcc-help at gcc dot gnu dot org>
- Organization: Dept of Computer Science IIT Kanpur
:
:Here is a snapshot of the code...
:
:1. pBind->pNext = (PLLBIND)( (char *)pBind + usTrueAtomSize );
:2. (pBind->pNext)->pPrev = pBind;
:3. pBind = pBind->pNext;
:
:statement no 2 is giving core.
:
:pBind or pNext is Not NULL.
:
alignment problem?? are you sure that (pBind->pNext) is properly aligned
for PLLBIND, after execution of stmt 1 ?
--soubhik.