This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: memory leak in ssa-ccp.c
- To: Dan Nicolaescu <dann at godzilla dot ICS dot UCI dot EDU>
- Subject: Re: memory leak in ssa-ccp.c
- From: law at redhat dot com
- Date: Mon, 27 Aug 2001 09:38:17 -0600
- cc: gcc-patches at gcc dot gnu dot org, Daniel Berlin <dan at cgsoftware dot com>
- Reply-To: law at redhat dot com
In message <200108251301.aa09072@gremlin-relay.ics.uci.edu>you write:
>
> ssa_edges is allocated but never freed.
>
>
> The patch compiles on sparc-sun-solaris2.8
>
> Trying ssa-ccp on Preston Briggs' Optimizer Evaluation code
> at ftp://ftp.cs.rice.edu/public/preston/eval
> specifically ftp://ftp.cs.rice.edu/public/preston/eval/cprop.c
>
> crashes the compiler (segmentation fault) on both sparc and x86-linux
> with or without this patch...
>
>
>
> 2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
>
> * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
Approved. Please install.
jeff