From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9129 invoked by alias); 16 May 2011 18:08:21 -0000 Received: (qmail 9118 invoked by uid 22791); 16 May 2011 18:08:20 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Mon, 16 May 2011 18:07:54 +0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/49000] [4.6/4.7 Regression] ICE: verify_ssa failed with -O2 -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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.1 X-Bugzilla-Changed-Fields: CC 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 Date: Mon, 16 May 2011 18:16: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: 2011-05/txt/msg01275.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49000 Ian Lance Taylor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian at airs dot com, | |jamborm at gcc dot gnu.org --- Comment #2 from Ian Lance Taylor 2011-05-16 18:00:37 UTC --- Extremely unlikely that that patch introduced the bug. That patch just fixes a bug introduced by 2010-09-10 Martin Jambor PR tree-optimization/44972 * ipa-prop.c (ipa_modify_call_arguments): Build MEM_REF instead of calling build_ref_for_offset. Since that patch, Martin has rewritten the code further. Adding Martin to CC in case this is somehow related to that work. As far as I can see, the bug here is either that a GIMPLE_DEBUG statement has been created with a memory op, or that gimple_has_mem_ops returns false for GIMPLE_DEBUG. It looks like the GIMPLE_DEBUG statement is created when l_234 is addressable, but l_234 later becomes addressable due to inlining. So something has to change somewhere when that happens.