public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC 4.9.2 dwarf problem
@ 2015-07-10  9:03 vikram1729
  0 siblings, 0 replies; only message in thread
From: vikram1729 @ 2015-07-10  9:03 UTC (permalink / raw)
  To: gcc-help

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-10  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10  9:03 GCC 4.9.2 dwarf problem vikram1729

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).