The documentation says the following:

=========================================================
The following extensions are handled, typically by compiling them away:

Labels as values and computed goto. This allows a program to take the
address of a label
and to manipulate it as any value and also to perform a computed goto.
We compile this by
assigning each label whose address is taken a small integer that acts
as its address.
Every computed goto in the body of the function is replaced with a
switch statement.
If you want to invoke the label from another function, you are on your
own (the gcc
documentation says the same.)
=========================================================

I actually need to be able to manipulate labels-as-values directly, compiling
them away into a switch is not an option. Is there some way to hack CIL
to do this? Has anyone tried?

Thanks!
Christian

-- 
關我屌事,我出來打醬油的。

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to