]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-loop-distribution.c
re PR tree-optimization/58396 (heap-use-after-free at gcc/tree-loop-distribution...
authorRichard Biener <rguenther@suse.de>
Thu, 12 Sep 2013 11:18:46 +0000 (11:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Sep 2013 11:18:46 +0000 (11:18 +0000)
commit97463b2b878556e244a9aadad64228f9895ac735
tree088579a3a6b4780aa6d680643741245c04c9ff4d
parent80ecd89daba634ae7725ccc5e53fc3099273de8d
re PR tree-optimization/58396 (heap-use-after-free at gcc/tree-loop-distribution.c:1959)

2013-09-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/58396
* tree-loop-distribution.c (create_rdg_edges): Free unused DDRs.
(build_rdg): Take a loop-nest parameter, fix memleaks.
(distribute_loop): Compute loop-nest here and pass it to build_rdg.

From-SVN: r202521
gcc/ChangeLog
gcc/tree-loop-distribution.c