gcc code debug

2009-09-17 Thread anandulle
hello I was traversing through the source code of GCC using GDB and I understood some of the function the GCC toplev_main() calls but when i came to one particular initialization init_optimization_passes() i was not able to understand the statements if

gcc-help needed

2009-07-25 Thread anandulle
i have added my own pass and i am trying to find out the number of variable declarations in a C program the code is attached for your reference http://www.nabble.com/file/p24656019/gccwk09.c gccwk09.c i am getting an error like this whats wrong kindly help me mainD.1181 = 0; return D.1181;

gcc-help needed

2009-07-25 Thread anandulle
i have added my own pass and i am trying to find out the number of variable declarations in a C program the code is attached for your reference http://www.nabble.com/file/p24656001/gccwk09.c gccwk09.c i am getting an error like this whats wrong kindly help me mainD.1181 = 0; return D.1181;

gimple pass

2009-07-24 Thread anandulle
Hello We want to know what are TREE_CODES and TREE_TYPES;we were trying to do the assignment in gimple pass, we got a code which checks the number of assignment statements but now we want to check the deceleration statements we browsed through the tree.def , tree.h and tree.c