This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 4.9.2 dwarf problem
- From: vikram1729 <vsp1729 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 10 Jul 2015 02:03:02 -0700 (MST)
- Subject: GCC 4.9.2 dwarf problem
- Authentication-results: sourceware.org; auth=none
Hi
I am porting gcc 4.9.2 for a custom processor. Seems that debugging info is
not generating properly.
I am getting ICE in gcc 4.9.2 at
gcc/dwarf2cfi.c::dwarf2out_frame_debug_expr::1663
=============================================================
/* Rule 9 */
else if (GET_CODE (src) == LO_SUM
&& CONST_INT_P (XEXP (src, 1)))
{
cur_trace->cfa_temp.reg = dwf_regno (dest);
cur_trace->cfa_temp.offset = INTVAL (XEXP (src, 1));
}
else
gcc_unreachable ();
}
break;
/* Rule 6 */
case CONST_INT:
=================================================
Actually in my case the condition comes like this
(REG_P(XEXP(src, 0)) && REG_P (XEXP (src, 1)))
which is not in any rule. What to do. Any help please.
-vikram
--
View this message in context: http://gcc.1065356.n5.nabble.com/GCC-4-9-2-dwarf-problem-tp1167279.html
Sent from the gcc - Help mailing list archive at Nabble.com.