From: Andrea C. O. <and...@gm...> - 2010-06-09 09:58:37
|
Bienvenido a la mailing list :) I checked the patch and it seems ok for me. Andrea On Wed, Jun 9, 2010 at 10:21 AM, <dav...@in...> wrote: > Hi, > > This is my first post here, I am David Yuste and I am going to work on > gcc4cli at Irisa's Alf group. > > I did a patch to get the CIL trees printed when compiling with > -fdump-tree-all, and also to be able to print the tree when debugging. > > It introduces the properties PROP_cil, which is provided by the pass > gimple2cil and, now, it is required by all the subsequent cil-passes. > > At debug time you can use the functions defined at > gcc/gcc/config/cil32/cil-dump.c (I modified the names to make it cil > specific, without introducing confusion): > > void dump_cil_function_to_file (tree fn, FILE *file, int flags); > > void dump_cil_stmt (FILE * file, const_cil_stmt stmt, cil_stack stack); > void dump_cil_label_name (FILE *, const_tree); > void dump_cil_decl_name (FILE *, const_tree); > void dump_cil_valuetype_name (FILE *, const_tree); > void dump_cil_fun_signature (FILE *, const_tree); > void dump_cil_type (FILE *, const_tree type); > > The path modifies passes.c and tree-pass.h (in addition to some cil files) > > Regards > David Yuste > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Gcc4cli-devel mailing list > Gcc...@li... > https://lists.sourceforge.net/lists/listinfo/gcc4cli-devel > > |