On 01/03/12 13:06 , Sandeep Soni wrote:
2012-03-01 Sandeep Soni
* parser.c : Include hashtab.h.
(gimple_symtab): New. The symbol table.
(gimple_symtab_entry_hash): New.
(gimple_symtab_eq_hash): New.
(gimple_symtab_entry_marked_p):New.
(gimple_sym
On Wed, Feb 29, 2012 at 8:14 PM, Diego Novillo wrote:
> On 24/02/12 01:03 , Sandeep Soni wrote:
>
>> + name_token = gl_consume_expected_token (parser->lexer, CPP_NAME);
>> + name = gl_token_as_text (name_token);
>> +
>> + e = ggc_alloc_cleared_gimple_symtab_entry_def ();
>> + e->id = get_ident
On 24/02/12 01:03 , Sandeep Soni wrote:
+ name_token = gl_consume_expected_token (parser->lexer, CPP_NAME);
+ name = gl_token_as_text (name_token);
+
+ e = ggc_alloc_cleared_gimple_symtab_entry_def ();
+ e->id = get_identifier(name);
+ slot = htab_find_slot (gimple_symtab, e, NO_INSERT);
+
On Wed, Nov 30, 2011 at 9:48 AM, Sandeep Soni wrote:
> Sorry. Wrong patch. New patch attached.
>
> I am getting the following error in the new patch though.
>
> ../../gimple-front-end/gcc/gimple/parser.c: In function ‘gp_parse_var_decl’:
> ../../gimple-front-end/gcc/gimple/parser.c:927:3: error: i
Sorry. Wrong patch. New patch attached.
I am getting the following error in the new patch though.
../../gimple-front-end/gcc/gimple/parser.c: In function ‘gp_parse_var_decl’:
../../gimple-front-end/gcc/gimple/parser.c:927:3: error: implicit
declaration of function ‘ggc_alloc_cleared_gimple_symtab
On Wed, Oct 12, 2011 at 7:01 PM, Diego Novillo wrote:
>
> On 11-10-10 17:47 , Sandeep Soni wrote:
>>
>> Hi,
>> The following patch is a basic attempt to build a symbol table that
>> stores the names of all the declarations made in the input file.
>>
>> Index: gcc/gimple/parser.c
>> ===
On 11-10-10 17:47 , Sandeep Soni wrote:
Hi,
The following patch is a basic attempt to build a symbol table that
stores the names of all the declarations made in the input file.
Index: gcc/gimple/parser.c
===
--- gcc/gimple/parser.c
On Tue, Oct 11, 2011 at 09:42, Tom Tromey wrote:
>> "Sandeep" == Sandeep Soni writes:
>
> Sandeep> The following patch is a basic attempt to build a symbol table that
> Sandeep> stores the names of all the declarations made in the input file.
>
> I don't know anything about gimplefe, but unle
> "Sandeep" == Sandeep Soni writes:
Sandeep> The following patch is a basic attempt to build a symbol table that
Sandeep> stores the names of all the declarations made in the input file.
I don't know anything about gimplefe, but unless you have complicated
needs, it is more usual to just put
Hi,
The following patch is a basic attempt to build a symbol table that
stores the names of all the declarations made in the input file.
Index: gcc/gimple/parser.c
===
--- gcc/gimple/parser.c (revision 174754)
+++ gcc/gimple/parser.c
10 matches
Mail list logo