This is the mail archive of the gcc-patches@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]

Re: memory leak in ssa-ccp.c


  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


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