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]
Other format: [Raw text]

Re: [tree-ssa] memory leak



On Mar 14, 2004, at 8:59 AM, Jan Hubicka wrote:


Hi,
tree-ssa rewriter allocates arrays by n_basic_blocks size and then
access it using bb indexes creating interesting memory corruptions on
profiling branch.  I don't have testcase reproducing on tree-ssa
(perhaps blocks happens to be always compacted), but still I would like
to apply it.  OK?

I just encountered this on lno branch in my local sources. First part of
patch is necessary to fix memory corruption I am seeing. It occurs
when rewrite_into_ssa() is called after few basic blocks are removed from
CFG.


Thanks,
-
Devang


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