From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6539 invoked by alias); 8 Apr 2014 11:30:10 -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 6462 invoked by uid 48); 8 Apr 2014 11:30:03 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/60655] [4.9 Regression] ICE: output_operand: invalid expression as operand Date: Tue, 08 Apr 2014 11:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ramana at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-04/txt/msg00542.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60655 --- Comment #11 from Ramana Radhakrishnan --- I haven't had enough time to work on this one but in the interest of getting this sorted for 4.9, I'm handling this as suggested by Jakub in the backend under targetm.const_not_ok_for_debug_p and disallowing anything that is minus (..) (sym_ref) except for minus (sym_ref) (sym_ref) where the DECL_SECTION_NAMEs are identical including null. Hopefully that will sort out the problem for 4.9 but we still need this investigated properly for later. ramana