This is the mail archive of the gcc-help@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: Need info on GIMPLE


Abdul Wahid Memon <engrwahidmemon@gmail.com> writes:

> By the way, if I want to traverse through all the GIMPLE statements,
> then from where should I start? I mean what should be the reference
> point to capture those labels in the cfg.

As far as I know, the way you were traversing GIMPLE was fine.  The
labels you see in the dump, from the CFG, are not GIMPLE statements.
They are basic_block structs connected by edge structs.

Ian


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