This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compilation error
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Rony Paul <ronypaul77 at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 8 Jun 2011 13:02:50 +0100
- Subject: Re: compilation error
- References: <BANLkTi=eSxkE3qCdFZf42pEZHYy0npLE4w@mail.gmail.com>
On 8 June 2011 12:09, Rony Paul wrote:
>
> could you please tell me what type of error is the following code returning?
It looks as though you're dereferencing a null pointer. Find out
which line it segfaults on and add checks to ensure the relevant tree
variable is not null before using it.