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]

About gimple_body in gimple.h


Hello all,

I would like to know why does gimple_body returns NULL pointer when I try to use it after the "cfg" pass ? Does someone have informations about the general use of it ? 

Because I am trying to traverse instructions from a C program thanks to MELT (cf MELT branch) and I don't know if I have to traverse basic blocks with FOR_EACH_BB_FN iterator or if there is another solution with gimple_body. Basile believes that gimple_body is nearly useless.

Thank you.

--
Jeremie Salvucci


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