2011-11-07 H.J. Lu <hongjiu.lu@intel.com>
* dwarf2cfi.c (dwarf2out_frame_debug_expr): Check
HARD_FRAME_POINTER_REGNUM instead of hard_frame_pointer_rtx
in Rule 18.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181096
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-11-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * dwarf2cfi.c (dwarf2out_frame_debug_expr): Check
+ HARD_FRAME_POINTER_REGNUM instead of hard_frame_pointer_rtx
+ in Rule 18.
+
2011-11-07 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (ix86_expand_builtin): If gather mask
regiser. */
if (fde
&& fde->stack_realign
- && src == hard_frame_pointer_rtx)
+ && REG_P (src)
+ && REGNO (src) == HARD_FRAME_POINTER_REGNUM)
{
gcc_assert (cur_cfa->reg != dw_frame_pointer_regnum);
cur_trace->cfa_store.offset = 0;