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: Data Flow Analysis


kripashankar wrote:
I wrote a function "DataFlowOutput" to get the use-def
and def-use statistics of the registers.

but the function is not printing the statistics..
It outputs the following

Try stepping through the code in a debugger (e.g. gdb) to see what it is doing. Maybe it is working the way it is supposed to work, but this isn't how you think it works.


Try using some of the other debugging routines, e.g. df_debug_insn, df_debug_reg.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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