Need info on GIMPLE

Ian Lance Taylor iant@google.com
Tue Jun 7 19:38:00 GMT 2011


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

> I am sorry if I posed the question in a different way, but I just want
> to count the number of labels (not case labels) but for jump
> instructions but I am unable to encounter GIMPLE_LABEL. By the way, if
> there is a jump instruction (whether conditional or unconditional)
> there must be a label reference. I want to count those label
> references.

Sorry, I think I misunderstood your question.

I don't know why you are not seeing any GIMPLE_LABEL statements.  Do you
see the labels in the dumps generated by -fdump-tree-all?

Ian



More information about the Gcc-help mailing list