This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/50633] [4.7 Regression] New test failures
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Oct 2011 18:38:21 +0000
- Subject: [Bug middle-end/50633] [4.7 Regression] New test failures
- Auto-submitted: auto-generated
- References: <bug-50633-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50633
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 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.