From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9233 invoked by alias); 9 Nov 2012 02:36:42 -0000 Received: (qmail 9170 invoked by uid 48); 9 Nov 2012 02:36:24 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88 Date: Fri, 09 Nov 2012 02:36: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou 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-11/txt/msg00798.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55142 --- Comment #31 from H.J. Lu 2012-11-09 02:36:23 UTC --- Created attachment 28644 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28644 A patch This patch prints SImode register names to force addr32 prefix if displacement < -16*1024*1024 so that 32-bit displacement isn't sign-extended to 64-bit. It also removes "code = 'l'" since 'l' isn't supported.