On Tue, Jul 31, 2012 at 11:06 AM, Sandeep Soni wrote:
> +/* The syntax of a function declaration is as follows:
> +
> + FUNCTION_DECL
> + <
> + function body
> + >
> +
> + Here, each of the PARMS in itself is a parameter declaration similar to a
> + variable declaration, TYPE is th
Hello,
Sandeep Soni a écrit:
> Hi Diego,
>
> The following patch recognizes function declarations. I am now trying
> to create a gimple sequence of all the statements within the function
> body.
> The chagelog is as follows:
>
> 2012-07-31 Sandeep Soni
>
> * parser.c (gl_token_starts_de
On 12-06-12 13:52 , Sandeep Soni wrote:
On Tue, Jun 12, 2012 at 6:57 PM, Diego Novillo wrote:
On 12-06-08 22:25 , Sandeep Soni wrote:
Hi,
This patch fixes the failure test case that I had submitted the last time.
The changeLog is testsuite/gChangeLog.gimplefe is as follows.
2012-06-09 Sa
On Tue, Jun 12, 2012 at 6:57 PM, Diego Novillo wrote:
> On 12-06-08 22:25 , Sandeep Soni wrote:
>>
>> Hi,
>>
>> This patch fixes the failure test case that I had submitted the last time.
>>
>> The changeLog is testsuite/gChangeLog.gimplefe is as follows.
>>
>> 2012-06-09 Sandeep Soni
>>
On 12-06-08 22:25 , Sandeep Soni wrote:
Hi,
This patch fixes the failure test case that I had submitted the last time.
The changeLog is testsuite/gChangeLog.gimplefe is as follows.
2012-06-09 Sandeep Soni
* gimple.dg/20120605-2.gimple : New.
While the changelog in gimple/Chan
On Tue, Mar 13, 2012 at 9:42 PM, Diego Novillo wrote:
> On 08/03/12 20:47 , Sandeep Soni wrote:
>
>> +/* Splits the token TOKEN into two tokens FIRST_TOKEN and SECOND_TOKEN.
>> + Note that the split should work only if the type of the TOKEN is
>> + either CPP_RSHIFT or CPP_LSHIFT which gets sp
On 08/03/12 20:47 , Sandeep Soni wrote:
+/* Splits the token TOKEN into two tokens FIRST_TOKEN and SECOND_TOKEN.
+ Note that the split should work only if the type of the TOKEN is
+ either CPP_RSHIFT or CPP_LSHIFT which gets splitted into two tokens
s/splitted/split/
while (gl_lex_tok
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 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
On Mon, Oct 10, 2011 at 17:28, Sandeep Soni wrote:
> 2011-10-11 Sandeep Soni
>
> * parser.c (gp_parse_var_decl): Fixed a bug for the
> missing symbol 'CPP_LESS' in the 'INTEGER_TYPE' declaration.
OK.
Diego.
> "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
Ketaki,
Some comments on your patch. Apologies for the delay. It's going in
the right direction, though it needs several adjustments.
Could you please add the document you sent me for the grammar to the
wiki page? It's better if we edit the grammar there instead of having
a separate document.
17 matches
Mail list logo