* var-tracking.c (vt_init_cfa_base): Do nothing if
cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed
register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157549
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-03-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR bootstrap/43403
+ * var-tracking.c (vt_init_cfa_base): Do nothing if
+ cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed
+ register.
+
2010-03-18 Alexandre Oliva <aoliva@redhat.com>
PR debug/42873
#else
cfa_base_rtx = arg_pointer_rtx;
#endif
+ if (cfa_base_rtx == hard_frame_pointer_rtx
+ || !fixed_regs[REGNO (cfa_base_rtx)])
+ {
+ cfa_base_rtx = NULL_RTX;
+ return;
+ }
if (!MAY_HAVE_DEBUG_INSNS)
return;