Re: [gimplefe] Ran into a internal compiler error

2011-09-20 Thread Sandeep Soni
On Tue, Sep 20, 2011 at 10:48 PM, Diego Novillo wrote: > 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 proble

Re: [gimplefe] Ran into a internal compiler error

2011-09-20 Thread Diego Novillo
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

RE: [gimplefe] Ran into a internal compiler error

2011-09-20 Thread Iyer, Balaji V
HI Sandeep, I think what it is saying is that it is requiring an identifier, but you are passing in a variable declaration. Please try to do the following and see if it works. + return IDENTIFIER_HASH_VALUE (base->decl); } With return IDENTIFIER_HASH_VALUE (DECL_NAME (base->decl));