Commit f0c12fcc by Jakub Jelinek Committed by Jakub Jelinek

re PR bootstrap/43403 (ICE in stage1 compiling __bswapdi2)

	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.

From-SVN: r157549
parent e999b0c9
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> 2010-03-18 Alexandre Oliva <aoliva@redhat.com>
PR debug/42873 PR debug/42873
......
...@@ -8004,6 +8004,12 @@ vt_init_cfa_base (void) ...@@ -8004,6 +8004,12 @@ vt_init_cfa_base (void)
#else #else
cfa_base_rtx = arg_pointer_rtx; cfa_base_rtx = arg_pointer_rtx;
#endif #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) if (!MAY_HAVE_DEBUG_INSNS)
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment