From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122325 invoked by alias); 10 Jul 2015 09:03:08 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 122313 invoked by uid 89); 10 Jul 2015 09:03:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=AWL,BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,SPF_SOFTFAIL,URI_HEX autolearn=no version=3.3.2 X-HELO: mbob.nabble.com Received: from mbob.nabble.com (HELO mbob.nabble.com) (162.253.133.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Jul 2015 09:03:05 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 03CA610D5371 for ; Fri, 10 Jul 2015 02:03:04 -0700 (PDT) Date: Fri, 10 Jul 2015 09:03:00 -0000 From: vikram1729 To: gcc-help@gcc.gnu.org Message-ID: <1436518982375-1167279.post@n5.nabble.com> Subject: GCC 4.9.2 dwarf problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00028.txt.bz2 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.