From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14636 invoked by alias); 20 Sep 2011 17:18:37 -0000 Received: (qmail 14617 invoked by uid 22791); 20 Sep 2011 17:18:31 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Sep 2011 17:18:17 +0000 Received: from hpaq13.eem.corp.google.com (hpaq13.eem.corp.google.com [172.25.149.13]) by smtp-out.google.com with ESMTP id p8KHIGjK029120 for ; Tue, 20 Sep 2011 10:18:17 -0700 Received: from gxk27 (gxk27.prod.google.com [10.202.11.27]) by hpaq13.eem.corp.google.com with ESMTP id p8KHHvOj011335 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 20 Sep 2011 10:18:15 -0700 Received: by gxk27 with SMTP id 27so44951gxk.16 for ; Tue, 20 Sep 2011 10:18:14 -0700 (PDT) Received: by 10.150.170.8 with SMTP id s8mr1119628ybe.28.1316539094856; Tue, 20 Sep 2011 10:18:14 -0700 (PDT) Received: by 10.150.170.8 with SMTP id s8mr1119623ybe.28.1316539094677; Tue, 20 Sep 2011 10:18:14 -0700 (PDT) Received: from dhcp-172-29-42-217.tor.corp.google.com (dhcp-172-29-42-217.tor.corp.google.com [172.29.42.217]) by mx.google.com with ESMTPS id 13sm13005429ans.9.2011.09.20.10.18.13 (version=SSLv3 cipher=OTHER); Tue, 20 Sep 2011 10:18:13 -0700 (PDT) Message-ID: <4E78CAD4.7070207@google.com> Date: Tue, 20 Sep 2011 17:18:00 -0000 From: Diego Novillo User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Sandeep Soni CC: GCC LIST Subject: Re: [gimplefe] Ran into a internal compiler error References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00198.txt.bz2 On 11-09-19 23:32 , Sandeep Soni wrote: > It gives me a internal compiler error saying: > gimple1: internal compiler error: tree check: expected > identifier_node, have var_decl in gimple_symtab_entry_hash As Balaji said, the problem is that you need to pass DECL_NAME(base->decl) to IDENTIFIER_HASH_VALUE(). When you build a decl node, its DECL_NAME is the IDENTIFIER_NODE that you created with get_identifier(). Diego.