From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25558 invoked by alias); 31 Jan 2014 15:24:21 -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 Received: (qmail 24999 invoked by uid 48); 31 Jan 2014 15:24:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/57915] [4.8/4.9 Regression] ICE in set_address_disp, at rtlanal.c:5537 Date: Fri, 31 Jan 2014 15:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg03339.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57915 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #7 from Jakub Jelinek --- I'd say if (plus:SI (symbol_ref:SI ...) (const_int ...)) not surrounded by (const:SI ) is considered invalid IL, then trying to workaround cprop bug in some other pass is still workaround rather than fix. So, either we make sure that it is simplified (will attach an untested patch for that), or do some minimal sanity checking for 'X' operands in asm_operand_ok (basically verify it is valid RTL, say start with testing for this missing CONST), or both.