From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3783 invoked by alias); 6 Oct 2011 18:39:22 -0000 Received: (qmail 3707 invoked by uid 22791); 6 Oct 2011 18:39:21 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Thu, 06 Oct 2011 18:39:07 +0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/50633] [4.7 Regression] New test failures Date: Thu, 06 Oct 2011 18:39: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: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2011-10/txt/msg00361.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50633 --- Comment #5 from H.J. Lu 2011-10-06 18:38:21 UTC --- static int frame_required_for_rtx (rtx *loc, void *data ATTRIBUTE_UNUSED) { rtx x = *loc; if (x == stack_pointer_rtx || x == hard_frame_pointer_rtx || x == arg_pointer_rtx || x == pic_offset_table_rtx) return 1; return 0; } failed to handle (gdb) call debug_rtx (insn) (insn 99 34 36 2 (set (reg:SI 2 cx [106]) (reg:SI 7 sp)) x.i:11 64 {*movsi_internal} (nil)) (gdb) X32 has "(reg/f:DI 7 sp)" as hardware stack pointer. It also should check regno.