This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/54629] [4.8 Regression] ICE (segfault) in index_in_loop_nest tree-data-ref.h:608
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Sep 2012 07:41:01 +0000
- Subject: [Bug tree-optimization/54629] [4.8 Regression] ICE (segfault) in index_in_loop_nest tree-data-ref.h:608
- Auto-submitted: auto-generated
- References: <bug-54629-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54629
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-20 07:41:01 UTC ---
Created attachment 28225
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28225
gcc48-pr54629.patch
IMHO there are two issues - one is that the loop nest is freed too early,
before it is still used, and another one that on success the ddr isn't freed at
all, so we leak memory.