From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1094 invoked by alias); 20 Sep 2012 07:41:39 -0000 Received: (qmail 31111 invoked by uid 48); 20 Sep 2012 07:41:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/54629] [4.8 Regression] ICE (segfault) in index_in_loop_nest tree-data-ref.h:608 Date: Thu, 20 Sep 2012 07:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-09/txt/msg01479.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54629 --- Comment #2 from Jakub Jelinek 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.