I want to declare an array of \"jumplabels\".
Then I want to jump to a \"jumplabel\" in this array.
But I have not any idea how to do this.
It should
It is possible with GCC feature known as "labels as values".
void *s[3] = {&&s0, &&s1, &&s2}; if (n >= 0 && n <=2) goto *s[n]; s0: ... s1: ... s2: ...
It works only with GCC!