This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Small problem in cse
- To: law at cygnus dot com
- Subject: Re: Small problem in cse
- From: chris at lslsun dot epfl dot ch (Christian Iseli)
- Date: Mon, 20 Oct 1997 10:42:51 +0200
- Cc: egcs at cygnus dot com
> In message <199710172043.WAA24596@Rivendell.MiddleEarth.net>you write:
> > I've received a segfault from cc1 due to a NULL dereference in cse.c.
> > The following trivial patch cures the problem.
> Yes, but _why_ is classp NULL?
classp is not NULL, but classp->first_same_value is NULL, and later dereferenced.
I don't *know* why that field is NULL, I just assumed that no same value had
been seen yet...
Christian