This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AST-Optimizer and De-Parse


Diego,







Got the ast-optimizer-branch cc1 compiled from
cvs.




Working, but have some questions.





Used the invocation:


../cc1 step1_raw.c -fdump-tree-simple
-fdump-tree-simple-unparse -ftree-ssa







Here is the original code 


http://introspector.sourceforge.net/vcg/step1_original.c




First I ran the ccp over the code, and


then Indent.



That produced a readable input,
so that solves the problem of the stupid uglifier.
Also it is good that I can read german!

Here you will find the input that I passed to the
compiler :


http://introspector.sourceforge.net/vcg/vcg_pl_956a/vcg_pl_956a.c





Here you will find the output of the 


http://introspector.sourceforge.net/vcg/vcg_pl_956a.c.simple





The one part of the simplified code is very strange at
theis point


73-        void T.1;


74-        void T.2;


75:        <<< error >>>;


76-        T.1;


77:        <<< error >>>;


78-        T.2;


79-        exit (1);





I ran the code through the introspector 


You will find one xml and one sql file perl 


function. 


I was hoping that you might find that interesting!


here is a tgz of the entire output with all files from
this test run,
including all xml, and sql files from
the introspector.


http://introspector.sourceforge.net/vcg.tgz



I think the next step is to clean up all
of the source files in this way and to try and
recompiling and testing the 'cleaned' files



Hope to hear from you,


Mike

=====
James Michael DuPont

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]