From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16014 invoked by alias); 22 Oct 2010 19:06:51 -0000 Received: (qmail 16004 invoked by uid 22791); 22 Oct 2010 19:06:50 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID,TW_TM X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Oct 2010 19:06:46 +0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/46099] [4.5/4.6 Regression] ICE: in replace_ssa_name, at tree-cfg.c:5643 with -ftree-parallelize-loops -g 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: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.5.2 X-Bugzilla-Changed-Fields: CC 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 Date: Fri, 22 Oct 2010 19:06:00 -0000 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: 2010-10/txt/msg01927.txt.bz2 Message-ID: <20101022190600.EeRjoqJJoAz_HRfD_b1lA1k69bGpHhBNPzu50Jb4150@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46099 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org, | |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek 2010-10-22 19:06:27 UTC --- The problem is that eliminate_local_variables{,_1} calls take_address_of on ADDR_EXPR etc. in debug stmt expressions. That affects code generation, so definitely must not be done. Either we need to first eliminate local variables in normal stmts and then do separate processing on debug stmts, where those for which take_address_of did something would use it, but it wouldn't create new hash entries and otherwise just reset debug stmts or something, or we need to reset them right away.