From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19451 invoked by alias); 20 Jul 2012 13:15:58 -0000 Received: (qmail 19438 invoked by uid 22791); 20 Jul 2012 13:15:57 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED 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, 20 Jul 2012 13:15:44 +0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/54041] [4.7/4.8 regression] -mshort ICE in convert_memory_address_addr_space, at explow.c:327 Date: Fri, 20 Jul 2012 13:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Keywords Status Last reconfirmed Known to work Summary Ever Confirmed Known to fail 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-07/txt/msg01620.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54041 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2012-07-20 Known to work| |4.6.4 Summary|-mshort ICE in |[4.7/4.8 regression] |convert_memory_address_addr |-mshort ICE in |_space, at explow.c:327 |convert_memory_address_addr | |_space, at explow.c:327 Ever Confirmed|0 |1 Known to fail| |4.7.1 --- Comment #7 from Andreas Schwab 2012-07-20 13:15:43 UTC --- Before 4.7 the array reference was expanded to (int *) &r + (unsigned int) ((unsigned int) i * 2), now it is preserved as &r[i], causing the ADDR_EXPR to contain ARRAY_REF of (r,i) where it previously contained r only.