This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/50633] [4.7 Regression] New test failures


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]