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
t;decl)); Thanks, Balaji V. Iyer. -Original Message- From: Sandeep Soni [mailto:soni.sande...@gmail.com] Sent: Monday, September 19, 2011 11:32 PM To: GCC LIST Cc: Diego Novillo Subject: [gimplefe] Ran into a internal compiler error Hi, I was trying to make a symbol table for all the va

[gimplefe] Ran into a internal compiler error

2011-09-19 Thread Sandeep Soni
Hi, I was trying to make a symbol table for all the variable declarations for the gimple front end. Following is a patch: Index: parser.c === --- parser.c(revision 174754) +++ parser.c(working copy) @@ -28,6 +28,7 @@ #include