From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10586 invoked by alias); 17 Dec 2012 15:41:44 -0000 Received: (qmail 8779 invoked by uid 48); 17 Dec 2012 15:41:09 -0000 From: "steven at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/55686] [4.8 Regression] ICE in assign_by_spills, at lra-assigns.c:1244 Date: Mon, 17 Dec 2012 15:41: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-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: steven at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 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 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-12/txt/msg01678.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55686 Steven Bosscher changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steven at gcc dot gnu.org --- Comment #7 from Steven Bosscher 2012-12-17 15:41:04 UTC --- (In reply to comment #6) > The problem here are the local register asm vars, we have tests like > !fixed_regs[DI_REG] all around the stos/etc. code, but that catches just > global register asm vars, not local ones. Perhaps we should gather during > expansion time or so what local register asm vars are being used in the > current function, and use that along with the global vars tests. There is already cfun->has_local_explicit_reg_vars, it could be changed into a HARD_REG_SET to track which registers that'd be.